Function at 0x478010
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x47806f
lea eax, [ebp + 8]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x80], eax
push dword [ebp - 0x70]
mov eax, dword [ebp - 0x9c]
movzx eax, byte [eax]
push eax
push 1
push dword [ebp - 0x78]
push dword [ebp - 0x90]
push dword [ebp - 0x80]
push 1
call fcn.004784a5
add esp, 0x1c
jmp 0x4784a1
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x1c], 0xe5477a75
mov dword [ebp - 0x74], 0xffffffff
mov dword [ebp - 0x20], 0
jmp 0x478096
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x4780a9
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 4], 0xfffffffe
jmp 0x47808f
mov byte [ebp - 0xa], 0
movzx eax, byte [ebp - 0xa]
test eax, eax
je 0x4780bf
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 4], 0
jmp 0x4780e4
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 4], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 4], 0xffffffe3
je 0x47847d
mov dword [ebp - 0x84], 0x63070b7b
mov dword [ebp - 8], 0
jmp 0x47810f
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jge 0x478122
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x14], 7
jmp 0x478108
mov dword [ebp - 8], 0
jmp 0x478132
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jge 0x478148
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0xa8], 0
jmp 0x47812b
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x14], 0
jmp 0x47816d
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x14]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x14], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x14], 0xfffffffc
jle 0x4781ad
mov dword [ebp - 0x94], 0xfffffffa
cmp dword [ebp - 0x94], 0
je 0x47818f
jmp 0x4781ad
mov byte [ebp - 9], 0
movzx eax, byte [ebp - 9]
test eax, eax
je 0x4781ab
push 0x533
push 0x2428
call dword [sym.imp.USER32.dll_GetWindow]
jmp 0x478158
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 4]
cmp dword [ebp + eax - 0x14], ecx
jle 0x4781ce
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 4], 0
push 4
pop eax
shl eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x14]
cmp dword [ebp + eax - 0x14], ecx
jl 0x4781ed
mov dword [ebp - 0x3c], 1
jmp 0x4781f1
and dword [ebp - 0x3c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
cmp dword [ebp - 0x3c], eax
jne 0x478209
mov dword [ebp - 0x38], 1
jmp 0x47820d
and dword [ebp - 0x38], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x14]
cmp dword [ebp - 0x38], eax
jne 0x478225
mov dword [ebp - 0x5c], 1
jmp 0x478229
and dword [ebp - 0x5c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x14]
imul eax, dword [ebp - 0x5c]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 4]
jle 0x47824c
mov dword [ebp - 0x30], 1
jmp 0x478250
and dword [ebp - 0x30], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x14]
cmp dword [ebp - 0x30], eax
je 0x47826d
xor eax, eax
inc eax
je 0x47826d
mov dword [ebp - 0x64], 1
jmp 0x478271
and dword [ebp - 0x64], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x64]
sub ecx, dword [ebp + eax - 4]
cmp ecx, 0x61d2
jge 0x47828f
mov dword [ebp - 0x6c], 1
jmp 0x478293
and dword [ebp - 0x6c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
cmp eax, dword [ebp - 0x6c]
jl 0x4782ab
mov dword [ebp - 0x60], 1
jmp 0x4782af
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x60]
add eax, 0xe2
je 0x478348
mov dword [ebp - 0x58], 0x7f1bd53d
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x58]
cmp dword [ebp + eax - 0xa8], ecx
jle 0x4782e8
mov eax, 0xe456
test eax, eax
jne 0x4782e8
and dword [ebp - 0x88], 0
jmp 0x4782f2
mov dword [ebp - 0x88], 1
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 4], 0xe6bae055
je 0x47830b
mov dword [ebp - 0x40], 1
jmp 0x47830f
and dword [ebp - 0x40], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
imul eax, dword [ebp - 0x40]
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0xa8]
jne 0x478335
mov dword [ebp - 0x48], 1
jmp 0x478339
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x58]
imul eax, dword [ebp - 0x48]
mov dword [ebp - 0x1c], eax
jmp 0x478478
mov dword [ebp - 0x18], 0xfffa
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
cmp dword [ebp - 0x1c], eax
jge 0x478367
mov dword [ebp - 0x68], 1
jmp 0x47836b
and dword [ebp - 0x68], 0
cmp dword [ebp - 0x68], 0xe525b78c
jae 0x47837d
mov dword [ebp - 0x50], 1
jmp 0x478381
and dword [ebp - 0x50], 0
cmp dword [ebp - 0x50], 0xe34d
je 0x478396
mov dword [ebp - 0x98], 1
jmp 0x47839d
and dword [ebp - 0x98], 0
cmp dword [ebp - 0x74], 0x1f04fecc
jle 0x4783af
mov dword [ebp - 0x34], 1
jmp 0x4783b3
and dword [ebp - 0x34], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x14]
cmp eax, dword [ebp - 0x34]
jge 0x4783cb
mov dword [ebp - 0x24], 1
jmp 0x4783cf
and dword [ebp - 0x24], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xa8]
add eax, dword [ebp - 0x24]
cmp eax, 0x2870b1b9
jne 0x4783ef
mov dword [ebp - 0x44], 1
jmp 0x4783f3
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x44], eax
jge 0x478404
mov dword [ebp - 0x7c], 1
jmp 0x478408
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x18], eax
jle 0x478422
mov dword [ebp - 0x4c], 1
jmp 0x478426
and dword [ebp - 0x4c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
cmp eax, dword [ebp - 0x4c]
jg 0x47843e
mov dword [ebp - 0x54], 1
jmp 0x478442
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x18]
jle 0x478456
mov dword [ebp - 0x28], 1
jmp 0x47845a
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x28]
jle 0x47846b
mov dword [ebp - 0x2c], 1
jmp 0x47846f
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x84], eax
jmp 0x4780cf
push dword [ebp - 0x8c]
push 0
push 0x2197
push 0x42ef
push 0x2d38
push 0x5065
call fcn.00481926
add esp, 0x18
mov esp, ebp
pop ebp
ret