Function at 0x402550
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x419a89
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x420470]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
xor ebx, ebx
mov edi, 0x10
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x114], ebx
cmp dword [eax + 0x14], edi
jb 0x4025b0
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], ebx
mov byte [ebp - 0xa0], bl
call fcn.00404fd0
mov dword [ebp - 4], ebx
cmp dword [esi + 0x14], edi
jb 0x4025dd
mov esi, dword [esi]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push str..
lea ecx, [ebp - 0xa0]
push ecx
lea edx, [ebp - 0x84]
push edx
call fcn.00405ed0
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], edi
jb 0x40260d
mov edx, dword [eax]
jmp 0x40260f
mov edx, eax
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402614
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0xa0]
call fcn.00404fd0
mov byte [ebp - 4], bl
cmp dword [ebp - 0x70], edi
jb 0x402641
mov eax, dword [ebp - 0x84]
push eax
call fcn.00408c1f
add esp, 4
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x8c], edi
jae 0x402655
lea eax, [ebp - 0xa0]
mov ecx, dword [ebp - 0x90]
mov esi, dword [ebp - 0x100]
push ebx
push ecx
push eax
push esi
call dword [sym.imp.VFS.dll_client_listdir_start]
cmp eax, ebx
je 0x40267e
mov dword [ebp - 0x114], 1
jmp 0x402db6
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x108], ebx
push 0x2000
mov byte [ebp - 4], 3
call fcn.00406c2b
add esp, 4
lea edx, [ebp - 0x134]
push edx
push esi
call dword [sym.imp.VFS.dll_client_listdir_next]
mov esi, eax
cmp esi, ebx
je 0x402839
jmp 0x4026d0
cmp byte [esi], 2
jne 0x402772
lea edi, [esi + 0x2c]
mov eax, edi
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4026f0
sub eax, edx
push eax
push edi
lea ecx, [ebp - 0x30]
call fcn.00404fd0
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov byte [ebp - 4], 5
cmp dword [ebp - 0x1c], 0x10
mov edx, dword [ebp - 0x30]
jae 0x402720
lea edx, [ebp - 0x30]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402725
sub eax, edi
push eax
push edx
lea ecx, [ebp - 0x4c]
call fcn.00404fd0
lea ecx, [ebp - 0x4c]
lea edi, [ebp - 0x12c]
mov byte [ebp - 4], 6
call fcn.004047e0
cmp dword [ebp - 0x38], 0x10
jb 0x40275c
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00408c1f
add esp, 4
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1c], 0x10
jb 0x402772
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00408c1f
add esp, 4
cmp byte [esi], 1
jne 0x40281b
lea edi, [esi + 0x2c]
mov eax, edi
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402790
sub eax, edx
push eax
push edi
lea ecx, [ebp - 0x30]
call fcn.00404fd0
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x30]
mov esi, 0x10
cmp dword [ebp - 0x1c], esi
jae 0x4027c4
lea edx, [ebp - 0x30]
mov eax, edx
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4027d0
sub eax, edi
push eax
push edx
lea ecx, [ebp - 0x4c]
call fcn.00404fd0
lea ecx, [ebp - 0x4c]
lea edi, [ebp - 0x110]
mov byte [ebp - 4], 9
call fcn.004047e0
cmp dword [ebp - 0x38], esi
jb 0x402806
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00408c1f
add esp, 4
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1c], esi
jb 0x40281b
mov eax, dword [ebp - 0x30]
push eax
call fcn.00408c1f
add esp, 4
mov edx, dword [ebp - 0x100]
lea ecx, [ebp - 0x134]
push ecx
push edx
call dword [sym.imp.VFS.dll_client_listdir_next]
mov esi, eax
cmp esi, ebx
jne 0x4026d0
mov ecx, dword [ebp - 0x128]
mov edi, dword [ebp - 0x12c]
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0xfc], ebx
mov dword [ebp - 0x130], eax
je 0x402a8a
mov dword [ebp - 0xf8], edi
mov esi, 0x10
jmp 0x402880
mov eax, dword [ebp - 0x118]
push 0x41d144
push eax
lea ecx, [ebp - 0xbc]
push ecx
call fcn.00405ed0
add esp, 0xc
mov ecx, eax
mov eax, dword [ebp - 0xf8]
lea edi, [ebp - 0xd8]
mov byte [ebp - 4], 0xa
call fcn.00405fb0
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], esi
jb 0x4028cc
mov edx, dword [eax]
jmp 0x4028ce
mov edx, eax
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4028d3
sub eax, edi
push eax
push edx
lea ecx, [ebp - 0x30]
call fcn.00404fd0
cmp dword [ebp - 0xc4], esi
jb 0x4028fd
mov edx, dword [ebp - 0xd8]
push edx
call fcn.00408c1f
add esp, 4
mov dword [ebp - 0xc4], 0xf
mov dword [ebp - 0xc8], ebx
mov byte [ebp - 0xd8], bl
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0xa8], esi
jb 0x40292e
mov eax, dword [ebp - 0xbc]
push eax
call fcn.00408c1f
add esp, 4
mov ecx, dword [ebp - 0x11c]
push 0x41d144
push ecx
lea edx, [ebp - 0xf4]
push edx
mov dword [ebp - 0xa8], 0xf
mov dword [ebp - 0xac], ebx
mov byte [ebp - 0xbc], bl
call fcn.00405ed0
add esp, 0xc
mov ecx, eax
mov eax, dword [ebp - 0xf8]
lea edi, [ebp - 0x84]
mov byte [ebp - 4], 0x10
call fcn.00405fb0
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
mov byte [ebp - 4], 0x12
cmp dword [eax + 0x14], esi
jb 0x402990
mov edx, dword [eax]
jmp 0x402992
mov edx, eax
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402997
sub eax, edi
push eax
push edx
lea ecx, [ebp - 0x68]
call fcn.00404fd0
cmp dword [ebp - 0x70], esi
jb 0x4029be
mov eax, dword [ebp - 0x84]
push eax
call fcn.00408c1f
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x84], bl
cmp dword [ebp - 0xe0], esi
jb 0x4029e6
mov ecx, dword [ebp - 0xf4]
push ecx
call fcn.00408c1f
add esp, 4
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
lea edx, [ebp - 0x138]
push edx
mov edx, dword [ebp - 0x100]
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x30]
push ecx
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x138], ebx
call fcn.004022e0
add esp, 0xc
test al, al
je 0x402b23
cmp dword [ebp - 0x38], esi
jb 0x402a32
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00408c1f
add esp, 4
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
cmp dword [ebp - 0x54], esi
jb 0x402a4c
mov eax, dword [ebp - 0x68]
push eax
call fcn.00408c1f
add esp, 4
mov byte [ebp - 4], 3
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
cmp dword [ebp - 0x1c], esi
jb 0x402a6a
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00408c1f
add esp, 4
mov eax, dword [ebp - 0xfc]
add dword [ebp - 0xf8], 0x1c
inc eax
mov dword [ebp - 0xfc], eax
cmp eax, dword [ebp - 0x130]
jb 0x402880
mov ecx, dword [ebp - 0x10c]
sub ecx, dword [ebp - 0x110]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x402d20
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0xf8], ecx
mov dword [ebp - 0xfc], eax
mov esi, 0x10
jmp 0x402ad0
mov edx, dword [ebp - 0x118]
push 0x41d144
push edx
lea eax, [ebp - 0xbc]
push eax
call fcn.00405ed0
add esp, 0xc
mov ecx, eax
mov eax, dword [ebp - 0xf8]
lea edi, [ebp - 0x84]
mov byte [ebp - 4], 0x17
call fcn.00405fb0
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov byte [ebp - 4], 0x19
cmp dword [eax + 0x14], esi
jb 0x402ba9
mov edx, dword [eax]
jmp 0x402bab
cmp dword [ebp - 0x38], esi
jb 0x402b34
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00408c1f
add esp, 4
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
cmp dword [ebp - 0x54], esi
jb 0x402b4e
mov eax, dword [ebp - 0x68]
push eax
call fcn.00408c1f
add esp, 4
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
cmp dword [ebp - 0x1c], esi
jb 0x402b68
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00408c1f
add esp, 4
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea ebx, [ebp - 0x110]
mov dword [ebp - 0x1c], edi
call fcn.00405710
lea ebx, [ebp - 0x12c]
call fcn.00405710
cmp dword [ebp - 0x8c], 0x10
jb 0x402b9f
mov edx, dword [ebp - 0xa0]
push edx
call fcn.00408c1f
add esp, 4
mov eax, 1
jmp 0x402dd4
mov edx, eax
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402bb0
sub eax, edi
push eax
push edx
lea ecx, [ebp - 0x4c]
call fcn.00404fd0
cmp dword [ebp - 0x70], esi
jb 0x402bd7
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.00408c1f
add esp, 4
mov dword [ebp - 0x70], 0xf
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x84], bl
mov byte [ebp - 4], 0x1c
cmp dword [ebp - 0xa8], esi
jb 0x402c02
mov edx, dword [ebp - 0xbc]
push edx
call fcn.00408c1f
add esp, 4
mov eax, dword [ebp - 0x11c]
push 0x41d144
push eax
lea ecx, [ebp - 0x68]
push ecx
mov dword [ebp - 0xa8], 0xf
mov dword [ebp - 0xac], ebx
mov byte [ebp - 0xbc], bl
call fcn.00405ed0
add esp, 0xc
mov ecx, eax
mov eax, dword [ebp - 0xf8]
lea edi, [ebp - 0xd8]
mov byte [ebp - 4], 0x1d
call fcn.00405fb0
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
mov byte [ebp - 4], 0x1f
cmp dword [eax + 0x14], esi
jb 0x402c61
mov edx, dword [eax]
jmp 0x402c63
mov edx, eax
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402c68
sub eax, edi
push eax
push edx
lea ecx, [ebp - 0x30]
call fcn.00404fd0
cmp dword [ebp - 0xc4], esi
jb 0x402c92
mov edx, dword [ebp - 0xd8]
push edx
call fcn.00408c1f
add esp, 4
mov edi, 0xf
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xc8], ebx
mov byte [ebp - 0xd8], bl
mov byte [ebp - 4], 0x22
cmp dword [ebp - 0x54], esi
jb 0x402cbe
mov eax, dword [ebp - 0x68]
push eax
call fcn.00408c1f
add esp, 4
mov eax, dword [ebp - 0x100]
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x4c]
push edx
push eax
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
call fcn.00402550
add esp, 0xc
cmp dword [ebp - 0x1c], esi
jb 0x402cef
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00408c1f
add esp, 4
mov byte [ebp - 4], 3
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
cmp dword [ebp - 0x38], esi
jb 0x402d0d
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00408c1f
add esp, 4
add dword [ebp - 0xf8], 0x1c
dec dword [ebp - 0xfc]
jne 0x402ad0
cmp dword [ebp - 0x110], ebx
je 0x402d6b
mov edi, dword [ebp - 0x110]
mov esi, dword [ebp - 0x10c]
cmp edi, esi
je 0x402d5c
cmp dword [edi + 0x14], 0x10
jb 0x402d49
mov eax, dword [edi]
push eax
call fcn.00408c1f
add esp, 4
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov byte [edi], bl
add edi, 0x1c
cmp edi, esi
jne 0x402d38
mov ecx, dword [ebp - 0x110]
push ecx
call fcn.00408c1f
add esp, 4
cmp dword [ebp - 0x12c], ebx
je 0x402db6
mov edi, dword [ebp - 0x12c]
mov esi, dword [ebp - 0x128]
cmp edi, esi
je 0x402da7
cmp dword [edi + 0x14], 0x10
jb 0x402d94
mov edx, dword [edi]
push edx
call fcn.00408c1f
add esp, 4
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov byte [edi], bl
add edi, 0x1c
cmp edi, esi
jne 0x402d83
mov eax, dword [ebp - 0x12c]
push eax
call fcn.00408c1f
add esp, 4
cmp dword [ebp - 0x8c], 0x10
jb 0x402dce
mov ecx, dword [ebp - 0xa0]
push ecx
call fcn.00408c1f
add esp, 4
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00406f52
mov esp, ebp
pop ebp
ret