Function at 0x478e90
Capabilities:
Create directory
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x53efd8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5a8cf0]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00475680
mov ecx, dword [esi + 0x18]
xor ebx, ebx
cmp ecx, ebx
mov dword [esp + 0x1c], ebx
je 0x47946c
mov eax, dword [ecx]
mov eax, dword [eax + 0x46c]
lea edx, [esp + 0x1c]
push edx
call eax
cmp dword [esp + 0x1c], ebx
je 0x47946c
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov byte [esp + 0x74], 1
call fcn.004888c0
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.004886b0
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.004757b0
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x78], 2
call fcn.00478580
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 1
call fcn.004884e0
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x5abaa4
call fcn.004886b0
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.004757b0
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x78], 3
call fcn.00478580
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 1
call fcn.004884e0
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x5abac8
call fcn.004886b0
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.004757b0
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x78], 4
call fcn.00478580
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 1
call fcn.004884e0
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x5aba4c
call fcn.004886b0
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.004757b0
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x78], 5
call fcn.00478580
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 1
call fcn.004884e0
cmp byte [esi + 0x23], bl
je 0x479047
push 0x5aba78
lea ecx, [esp + 0x5c]
call fcn.00478520
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x5aba78
call fcn.004886b0
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.004757b0
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x78], 6
call fcn.00478580
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 1
call fcn.004884e0
cmp byte [esi + 0x21], bl
je 0x479094
push 0x5aba68
lea ecx, [esp + 0x5c]
call fcn.00478520
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x5aba68
call fcn.004886b0
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.004757b0
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x78], 7
call fcn.00478580
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 1
call fcn.004884e0
cmp byte [esi + 0x20], bl
je 0x4790e1
push 0x5aba58
lea ecx, [esp + 0x5c]
call fcn.00478520
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x5aba58
call fcn.004886b0
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.004757b0
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x78], 8
call fcn.00478580
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 1
call fcn.004884e0
cmp byte [esi + 0x22], bl
je 0x47912e
push 0x5aba88
lea ecx, [esp + 0x5c]
call fcn.00478520
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x5aba88
call fcn.004886b0
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.004757b0
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x78], 9
call fcn.00478580
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 1
call fcn.004884e0
mov ecx, esi
call fcn.00476100
test al, al
je 0x479400
sub esp, 0x14
lea eax, [esp + 0x58]
mov dword [esp + 0x3c], esp
mov ecx, esp
push eax
call fcn.00478d90
mov ecx, esi
call fcn.00477ef0
cmp al, bl
je 0x479400
call fcn.004888c0
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.004886b0
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.004757b0
push ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 0xa
call fcn.00488510
mov edx, dword [esi + 0xc]
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp eax, 0xb7
jne 0x4793ea
lea ecx, [esp + 0x14]
call fcn.00488510
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x4793f2
lea eax, [esp + 0x18]
push eax
push ebx
mov dword [esp + 0x20], ebx
call fcn.00485af0
add esp, 8
mov dword [esp + 0x20], eax
cmp eax, ebx
mov byte [esp + 0x74], 0xb
je 0x479437
cmp dword [esp + 0x18], ebx
je 0x479437
push 0x7f02
push ebx
mov dword [esi + 0x1c], 1
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, dword [esi + 0xc]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
mov ebp, eax
push ecx
mov dword [esp + 0x30], ebp
call edi
cmp eax, ebx
je 0x479221
push ebx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [esi + 0xc]
push 2
push edx
call edi
cmp eax, ebx
je 0x479235
push ebx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, esi
call fcn.004775a0
mov ecx, esi
call fcn.00476340
cmp dword [esp + 0x68], ebx
je 0x479385
lea ecx, [ecx]
lea ecx, [esp + 0x58]
call fcn.00477e10
mov edi, eax
push edi
lea ecx, [esp + 0x38]
call fcn.004886b0
mov eax, dword [edi + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [edi + 8]
mov dword [esp + 0x3c], ecx
mov edi, dword [edi + 0xc]
mov dword [esp + 0x40], edi
push edi
push eax
push ecx
lea eax, [esi + 0x26]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
mov byte [esp + 0x84], 0xc
call fcn.004886b0
push ecx
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x88], 0xd
call fcn.004886b0
mov eax, dword [esp + 0x28]
push eax
mov ecx, esi
mov byte [esp + 0x88], 0xc
call fcn.00475f60
mov ecx, dword [esp + 0x3c]
push 0x584d4c54
push ecx
call fcn.004888c0
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.004886b0
call fcn.00498d40
mov edi, eax
add esp, 0xc
mov dword [esp + 0x30], edi
mov edx, dword [esp + 0x1c]
push edx
push ecx
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
mov byte [esp + 0x80], 0xe
call fcn.004886b0
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.004757b0
mov ecx, eax
mov byte [esp + 0x78], 0xf
call fcn.00488530
push eax
push edi
mov ecx, esi
call fcn.00476ec0
mov ebp, eax
mov dword [esp + 0x2c], ebp
lea ecx, [esp + 0x24]
mov byte [esp + 0x74], 0x11
call fcn.004884e0
push ebp
mov ecx, esi
call fcn.004758f0
lea ecx, [esp + 0x58]
call fcn.00477b80
cmp ebp, ebx
je 0x47935c
push ebp
call fcn.004cf770
add esp, 4
cmp edi, ebx
je 0x479369
push edi
call fcn.004cf770
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x74], 0xb
call fcn.004884e0
cmp dword [esp + 0x68], ebx
jne 0x479250
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
push edx
mov ecx, esi
call fcn.00476260
cmp ebp, ebx
je 0x47939f
push ebp
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [esi + 0x1c], ebx
lea ecx, [esp + 0x20]
call fcn.004759a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 1
call fcn.004884e0
lea ecx, [esp + 0x44]
mov byte [esp + 0x74], bl
call fcn.00477c40
lea ecx, [esp + 0x58]
mov dword [esp + 0x74], 0xffffffff
call fcn.00477bc0
xor eax, eax
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
cmp eax, ebx
je 0x4791ba
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 1
call fcn.004884e0
lea ecx, [esp + 0x44]
mov byte [esp + 0x74], bl
call fcn.00477c40
lea ecx, [esp + 0x58]
mov dword [esp + 0x74], 0xffffffff
call fcn.00477bc0
mov eax, 0xfffffffe
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
lea ecx, [esp + 0x20]
call fcn.004759a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 1
call fcn.004884e0
lea ecx, [esp + 0x44]
mov byte [esp + 0x74], bl
call fcn.00477c40
lea ecx, [esp + 0x58]
mov dword [esp + 0x74], 0xffffffff
call fcn.00477bc0
or eax, 0xffffffff
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret