Function at 0x408210
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438075
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xf4
mov eax, dword [0x516c24]
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 dword [ebp - 0x10], esp
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004048b0
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xe4], esp
push 0x43a25c
call fcn.004048b0
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xb4], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.0040a790
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 1
call fcn.00408950
add esp, 0x34
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x3c], 0
jmp 0x4082c4
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x84]
call fcn.0040e8f0
cmp dword [ebp - 0x3c], eax
jae 0x408536
push 0x3a
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0xbc], esp
mov edx, dword [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x84]
call fcn.0040bb50
push eax
mov ecx, esi
call fcn.0040a790
lea eax, [ebp - 0x60]
push eax
call fcn.00408a90
add esp, 0x20
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 4
push 0
lea ecx, [ebp - 0x60]
call fcn.0040bb50
mov ecx, eax
call fcn.00405dd0
add eax, 1
push eax
call fcn.004168a6
add esp, 4
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0x4c], edx
push 1
lea ecx, [ebp - 0x60]
call fcn.0040bb50
mov ecx, eax
call fcn.00405dd0
add eax, 1
push eax
call fcn.004168a6
add esp, 4
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x48], ecx
push 1
lea ecx, [ebp - 0x60]
call fcn.0040bb50
mov ecx, eax
call fcn.00405dd0
mov esi, eax
push 0
lea ecx, [ebp - 0x60]
call fcn.0040bb50
mov ecx, eax
call fcn.00405dd0
lea esi, [eax + esi + 2]
mov edx, dword [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x84]
call fcn.0040bb50
mov ecx, eax
call fcn.00405dd0
sub eax, esi
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add eax, 1
push eax
call fcn.004168a6
add esp, 4
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x44], edx
push 0
lea ecx, [ebp - 0x60]
call fcn.0040bb50
mov ecx, eax
call fcn.00405dd0
add eax, 1
push eax
push 0
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00419380
add esp, 0xc
push 1
lea ecx, [ebp - 0x60]
call fcn.0040bb50
mov ecx, eax
call fcn.00405dd0
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00419380
add esp, 0xc
mov edx, dword [ebp - 0x40]
add edx, 1
push edx
push 0
mov eax, dword [ebp - 0x44]
push eax
call fcn.00419380
add esp, 0xc
push 0
lea ecx, [ebp - 0x60]
call fcn.0040bb50
mov ecx, eax
call fcn.00405dd0
push eax
push 0
lea ecx, [ebp - 0x60]
call fcn.0040bb50
mov ecx, eax
call fcn.00405b50
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00418e00
add esp, 0xc
push 1
lea ecx, [ebp - 0x60]
call fcn.0040bb50
mov ecx, eax
call fcn.00405dd0
push eax
push 1
lea ecx, [ebp - 0x60]
call fcn.0040bb50
mov ecx, eax
call fcn.00405b50
push eax
mov edx, dword [ebp - 0x48]
push edx
call fcn.00418e00
add esp, 0xc
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x84]
call fcn.0040bb50
mov ecx, eax
call fcn.00405dd0
mov esi, eax
sub esi, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x84]
call fcn.0040bb50
mov ecx, eax
call fcn.00405b50
add eax, esi
push eax
mov eax, dword [ebp - 0x44]
push eax
call fcn.00418e00
add esp, 0xc
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0xfc]
push edx
call fcn.0040a220
add esp, 0x14
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x24
call fcn.0040e200
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
call fcn.00404c20
jmp 0x4082bb
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call fcn.00404c20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00404be0
jmp 0x408563
mov dword [ebp - 4], 0xffffffff
jmp 0x40857b
mov dword [ebp - 4], 6
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], 0
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0xc4]
push edx
lea eax, [ebp - 0xc8]
push eax
push 0x43a268
mov ecx, dword [ebp - 0x30]
call fcn.00407fb0
mov byte [ebp - 0x31], al
movzx ecx, byte [ebp - 0x31]
test ecx, ecx
je 0x408646
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xd0]
push ecx
push 0x43a274
mov ecx, dword [ebp - 0x30]
call fcn.00407fb0
mov byte [ebp - 0x32], al
movzx edx, byte [ebp - 0x32]
test edx, edx
je 0x408646
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0xd4]
push ecx
lea edx, [ebp - 0xec]
push edx
push 0x43a280
mov ecx, dword [ebp - 0x30]
call fcn.00407fb0
mov byte [ebp - 0x33], al
movzx eax, byte [ebp - 0x33]
test eax, eax
je 0x408646
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0xdc]
push edx
lea eax, [ebp - 0xe0]
push eax
push 0x43a294
mov ecx, dword [ebp - 0x30]
call fcn.00407fb0
mov byte [ebp - 0x34], al
movzx ecx, byte [ebp - 0x34]
test ecx, ecx
jne 0x40864d
xor al, al
jmp 0x4087e1
mov edx, dword [ebp - 0x64]
push edx
call fcn.00421c1d
add esp, 4
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x68]
push edx
call fcn.00421c1d
add esp, 4
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x6c]
push edx
call fcn.00421c1d
add esp, 4
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 0x70]
push edx
call fcn.00421c1d
add esp, 4
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x1c], eax
jmp 0x4086a7
mov dword [ebp - 4], 0xffffffff
jmp 0x4086bf
push 0
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x40874f
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x1c]
push edx
call fcn.0041c180
add esp, 4
add eax, 1
mov dword [ebp - 0x74], eax
xor ecx, ecx
mov eax, dword [ebp - 0x74]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004168a6
add esp, 4
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x74]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.00422026
add esp, 0xc
mov edx, dword [ebp - 0x50]
push edx
mov ecx, dword [ebp - 0x30]
call fcn.00408900
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x9c], eax
push 2
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.00416898
add esp, 8
push 0
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x4087df
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x18]
push edx
call fcn.0041c180
add esp, 4
add eax, 1
mov dword [ebp - 0x78], eax
xor ecx, ecx
mov eax, dword [ebp - 0x78]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004168a6
add esp, 4
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x78]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.00422026
add esp, 0xc
mov edx, dword [ebp - 0x54]
push edx
mov ecx, dword [ebp - 0x30]
call fcn.00408900
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xa4], eax
push 2
mov ecx, dword [ebp - 0xa4]
push ecx
call fcn.00416898
add esp, 8
mov al, 1
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.00416d02
mov esp, ebp
pop ebp
ret 8