Function at 0x474760
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62d675
mov eax, dword fs:[0]
push eax
sub esp, 0x94
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 - 0x88], ecx
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0x88]
call fcn.00473660
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.0040e460
push eax
call fcn.0061e390
add esp, 4
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jne 0x4747e6
mov dword [ebp - 0x74], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.0040e3e0
mov eax, dword [ebp - 0x74]
jmp 0x4749f5
mov edx, dword [ebp - 0x6c]
push edx
push 0x61e3b0
lea eax, [ebp - 0x48]
push eax
call fcn.00477a40
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x68], ecx
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x6c]
push eax
call fcn.0061d290
add esp, 8
test eax, eax
je 0x474843
mov dword [ebp - 0x78], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00476300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.0040e3e0
mov eax, dword [ebp - 0x78]
jmp 0x4749f5
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 0x47489c
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 0x47489c
push 0x649710
lea ecx, [ebp - 0x3c]
call fcn.0040e5b0
mov dword [ebp - 0x70], 0
jmp 0x4748ae
mov ecx, dword [ebp - 0x70]
add ecx, 1
mov dword [ebp - 0x70], ecx
mov eax, dword [ebp - 0x70]
cdq
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
mov edx, dword [ebp - 0x8c]
cmp edx, dword [ebp - 0x18]
ja 0x4749be
jb 0x4748de
mov eax, dword [ebp - 0x90]
cmp eax, dword [ebp - 0x1c]
jae 0x4749be
lea ecx, [ebp - 0x3c]
call fcn.0040e5d0
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
mov ecx, dword [ebp - 0x88]
call fcn.00474160
test eax, eax
jne 0x474930
mov dword [ebp - 0x7c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.0040e530
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00476300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.0040e3e0
mov eax, dword [ebp - 0x7c]
jmp 0x4749f5
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 - 0x98], eax
mov dword [ebp - 0x94], edx
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x9c], esi
mov edx, dword [ebp - 0x94]
cmp edx, dword [ebp - 0x9c]
ja 0x4749b9
jb 0x474976
mov eax, dword [ebp - 0x98]
cmp eax, dword [ebp - 0xa0]
jae 0x4749b9
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.0061d910
add esp, 4
test eax, eax
je 0x4749b9
mov dword [ebp - 0x80], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.0040e530
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00476300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.0040e3e0
mov eax, dword [ebp - 0x80]
jmp 0x4749f5
jmp 0x4748a5
mov dword [ebp - 0x84], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.0040e530
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00476300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.0040e3e0
mov eax, dword [ebp - 0x84]
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 8