Function at 0x474fc0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62d76e
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 0x20], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x29c], ecx
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, dword [ebp - 0x29c]
call fcn.00473660
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.0040e460
push eax
call fcn.0061e390
add esp, 4
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jne 0x47504c
mov dword [ebp - 0x214], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.0040e3e0
mov eax, dword [ebp - 0x214]
jmp 0x475532
mov edx, dword [ebp - 0x6c]
push edx
push 0x61e3b0
lea eax, [ebp - 0x68]
push eax
call fcn.00477a40
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x40], ecx
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x6c]
push eax
call fcn.0061d290
add esp, 8
test eax, eax
je 0x4750af
mov dword [ebp - 0x218], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00476300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.0040e3e0
mov eax, dword [ebp - 0x218]
jmp 0x475532
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.0040e4f0
mov byte [ebp - 4], 2
push 0
mov ecx, dword [ebp + 0xc]
call fcn.0040e5d0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x3c]
call fcn.00450a30
movzx edx, al
test edx, edx
jne 0x475108
lea ecx, [ebp - 0x3c]
call fcn.0040ee50
sub eax, 1
push eax
lea ecx, [ebp - 0x3c]
call fcn.005336d0
movzx eax, word [eax]
cmp eax, 0x5c
je 0x475108
push 0x64971c
lea ecx, [ebp - 0x3c]
call fcn.0040e5b0
mov dword [ebp - 0x70], 0
jmp 0x47511a
mov ecx, dword [ebp - 0x70]
add ecx, 1
mov dword [ebp - 0x70], ecx
mov eax, dword [ebp - 0x70]
cdq
mov dword [ebp - 0x2a4], eax
mov dword [ebp - 0x2a0], edx
mov edx, dword [ebp - 0x2a0]
cmp edx, dword [ebp - 0x18]
ja 0x47550b
jb 0x47514a
mov eax, dword [ebp - 0x2a4]
cmp eax, dword [ebp - 0x1c]
jae 0x47550b
push 0
push 0
push 0
push 0
push 0x104
lea ecx, [ebp - 0x17c]
push ecx
lea edx, [ebp - 0x1f4]
push edx
mov eax, dword [ebp - 0x6c]
push eax
call fcn.0061d860
add esp, 0x20
test eax, eax
je 0x4751b1
mov dword [ebp - 0x21c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.0040e530
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00476300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.0040e3e0
mov eax, dword [ebp - 0x21c]
jmp 0x475532
push 0x649720
lea ecx, [ebp - 0x210]
call fcn.0040e4b0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1ec]
and ecx, 0x800
je 0x47524f
lea edx, [ebp - 0x17c]
push edx
lea ecx, [ebp - 0x238]
call fcn.0040e3a0
mov byte [ebp - 4], 4
push 0xfde9
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x254]
push ecx
mov ecx, dword [ebp - 0x29c]
call fcn.00473500
mov dword [ebp - 0x2a8], eax
mov edx, dword [ebp - 0x2a8]
mov dword [ebp - 0x2ac], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x210]
call fcn.0040e550
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x254]
call fcn.0040e530
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x238]
call fcn.0040e3e0
jmp 0x4752c6
lea ecx, [ebp - 0x17c]
push ecx
lea ecx, [ebp - 0x270]
call fcn.0040e3a0
mov byte [ebp - 4], 6
push 0
lea edx, [ebp - 0x270]
push edx
lea eax, [ebp - 0x28c]
push eax
mov ecx, dword [ebp - 0x29c]
call fcn.00473500
mov dword [ebp - 0x2b0], eax
mov ecx, dword [ebp - 0x2b0]
mov dword [ebp - 0x2b4], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x2b4]
push edx
lea ecx, [ebp - 0x210]
call fcn.0040e550
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28c]
call fcn.0040e530
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x270]
call fcn.0040e3e0
mov ecx, dword [ebp + 0x10]
call fcn.0040e5d0
push eax
lea ecx, [ebp - 0x210]
call fcn.0040e5d0
push eax
call fcn.005b76d8
add esp, 8
test eax, eax
jne 0x4753a0
mov eax, dword [ebp - 0x70]
cdq
mov ecx, dword [ebp - 0x1c]
sub ecx, 1
mov esi, dword [ebp - 0x18]
sbb esi, 0
mov dword [ebp - 0x2bc], eax
mov dword [ebp - 0x2b8], edx
mov dword [ebp - 0x2c4], ecx
mov dword [ebp - 0x2c0], esi
mov edx, dword [ebp - 0x2b8]
cmp edx, dword [ebp - 0x2c0]
ja 0x47538c
jb 0x475331
mov eax, dword [ebp - 0x2bc]
cmp eax, dword [ebp - 0x2c4]
jae 0x47538c
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.0061d910
add esp, 4
test eax, eax
je 0x47538c
mov dword [ebp - 0x290], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x210]
call fcn.0040e530
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.0040e530
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00476300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.0040e3e0
mov eax, dword [ebp - 0x290]
jmp 0x475532
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x210]
call fcn.0040e530
jmp 0x475111
lea ecx, [ebp - 0x3c]
call fcn.0040e5d0
push eax
mov edx, dword [ebp - 0x6c]
push edx
mov ecx, dword [ebp - 0x29c]
call fcn.00474160
test eax, eax
jne 0x475407
mov dword [ebp - 0x294], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x210]
call fcn.0040e530
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.0040e530
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00476300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.0040e3e0
mov eax, dword [ebp - 0x294]
jmp 0x475532
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x198]
call fcn.0040e4f0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x198]
call fcn.0040e590
lea edx, [ebp - 0x198]
push edx
mov ecx, dword [ebp + 0x14]
call fcn.004161f0
mov eax, dword [ebp - 0x70]
cdq
mov ecx, dword [ebp - 0x1c]
sub ecx, 1
mov esi, dword [ebp - 0x18]
sbb esi, 0
mov dword [ebp - 0x2cc], eax
mov dword [ebp - 0x2c8], edx
mov dword [ebp - 0x2d4], ecx
mov dword [ebp - 0x2d0], esi
mov edx, dword [ebp - 0x2c8]
cmp edx, dword [ebp - 0x2d0]
ja 0x4754e8
jb 0x475481
mov eax, dword [ebp - 0x2cc]
cmp eax, dword [ebp - 0x2d4]
jae 0x4754e8
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.0061d910
add esp, 4
test eax, eax
je 0x4754e8
mov dword [ebp - 0x298], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x198]
call fcn.0040e530
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x210]
call fcn.0040e530
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.0040e530
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00476300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.0040e3e0
mov eax, dword [ebp - 0x298]
jmp 0x475532
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x198]
call fcn.0040e530
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x210]
call fcn.0040e530
jmp 0x475111
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.0040e530
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00476300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.0040e3e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret 0x10