Function at 0x47316b
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4cc
mov eax, ecx
xor ecx, ecx
push ebx
mov dword [esp + 8], eax
mov ebx, ecx
push esi
mov eax, dword [eax]
mov esi, ecx
push edi
mov edi, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], edi
mov ecx, dword [eax + 0x238]
add ecx, 0x1f0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], ebx
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
je 0x473242
mov edi, dword [esp + 0x10]
mov edx, ebx
mov eax, dword [edi]
push edx
mov ecx, dword [eax + 0x238]
add ecx, 0x1f0
mov eax, dword [ecx]
call dword [eax]
test eax, eax
je 0x47321b
mov ecx, dword [eax + 0x260]
cmp dword [ecx + 0x4dc], 0
je 0x47321b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xb8]
mov dword [esp + 0x20], eax
test eax, eax
je 0x47321b
cmp esi, ebx
je 0x473204
mov dword [esi], eax
add esi, 4
mov dword [esp + 0x2c], esi
jmp 0x47321b
lea eax, [esp + 0x20]
push eax
push esi
lea ecx, [esp + 0x30]
call fcn.00432d85
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov eax, dword [edi]
inc dword [esp + 0xc]
mov ecx, dword [eax + 0x238]
add ecx, 0x1f0
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edx, dword [esp + 0xc]
cmp edx, eax
jne 0x4731bd
mov edi, dword [esp + 0x28]
mov dword [esp + 0x3c], ebx
sub esi, edi
mov eax, esi
sar eax, 2
mov dword [esp + 0x38], eax
test eax, eax
je 0x4734f4
push 6
push 0x4a31c0
call sym.Dismx86.exe_DismMultiLanguage
push eax
lea ecx, [esp + 0x50]
call fcn.0043b227
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
add ecx, 0x10
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [esp + 0x48]
push dword [eax + 4]
call fcn.0043ad15
cmp eax, 1
jne 0x4734eb
push 0x4a31d4
call sym.Dismx86.exe_DismMultiLanguage
push eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x230]
call fcn.0047dbc3
call fcn.0043c5cd
push eax
lea ecx, [esp + 0x10]
call fcn.0043ac50
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov eax, ecx
mov dword [esp + 0x24], eax
cmp esi, 4
jb 0x47349d
mov ebx, dword [esp + 0x28]
mov edi, ecx
mov dword [esp + 0x34], edi
mov eax, dword [ebx + eax*4]
lea ecx, [esp + 0xc]
add eax, 0x4ba
push eax
call fcn.0043b8b2
mov esi, dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x230]
add ecx, 0x234
call fcn.0043b599
xor edx, edx
mov ecx, dword [esi]
mov eax, edi
div dword [esp + 0x38]
mov ecx, dword [ecx + 0x230]
push 0xffffffffffffffff
mov dword [ecx + 0x230], eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x230]
call fcn.0047de71
mov esi, dword [esp + 0xc]
push 0x5c
push esi
call dword [sym.imp.msvcrt.dll_wcsrchr]
pop ecx
pop ecx
test eax, eax
jne 0x473343
or eax, 0xffffffff
jmp 0x473347
sub eax, esi
sar eax, 1
push eax
lea ecx, [esp + 0x10]
call fcn.0043c894
mov ecx, dword [esp + 0x24]
mov eax, dword [ebx + ecx*4]
xor ecx, ecx
add eax, 0xada
cmp word [eax], cx
jne 0x47336e
push 0x491394
call sym.Dismx86.exe_DismMultiLanguage
push eax
lea ecx, [esp + 0x18]
call fcn.0043b487
mov edi, dword [esp + 0x14]
mov eax, dword [edi - 0xc]
dec eax
cmp eax, 0xffffffff
je 0x4733be
mov ebx, eax
push ebx
lea ecx, [esp + 0x18]
call fcn.0043a8ec
movzx eax, ax
push eax
push str._:____
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
je 0x4733b0
push 0x5f
push ebx
lea ecx, [esp + 0x1c]
call fcn.00431575
dec ebx
cmp ebx, 0xffffffff
jne 0x473387
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x4d0]
lea ecx, [ecx - 0x10]
call fcn.0043baa0
add eax, 0x10
lea ecx, [esp + 0x18]
mov edx, edi
mov dword [esp + 0x18], eax
call fcn.0044b36a
xor eax, eax
push eax
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x5c
xor eax, eax
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
push eax
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x44]
call fcn.0043ab55
pop ecx
mov ecx, esi
mov edx, dword [eax]
call fcn.0044c857
mov ecx, dword [esp + 0x40]
add ecx, 0xfffffff0
mov dword [esp + 0x1c], eax
call fcn.0043c924
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x47345f
push eax
push esi
lea eax, [esp + 0x4c]
push str._s__d
push eax
call fcn.00449eea
add esp, 0x10
push dword [eax]
push 0x4a3218
push 1
call dword [sym.imp.CBSHost.dll_DismWriteLog]
mov ecx, dword [esp + 0x44]
lea ecx, [ecx - 0x10]
call fcn.0043c924
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.0043c924
lea ecx, [edi - 0x10]
call fcn.0043c924
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x34]
inc eax
add edi, 0x64
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], edi
cmp eax, dword [esp + 0x38]
jne 0x4732d8
mov ebx, dword [esp + 0x3c]
xor ecx, ecx
mov edi, dword [esp + 0x28]
jmp 0x4734a1
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x230]
call fcn.0047dbc3
cmp dword [esp + 0x20], 0
je 0x4734e3
push 0x10
push 0x486080
call sym.Dismx86.exe_DismMultiLanguage
push eax
push 0x4a3224
call sym.Dismx86.exe_DismMultiLanguage
push eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x230]
call fcn.00401468
lea ecx, [esi - 0x10]
call fcn.0043c924
lea ecx, [esp + 0x48]
call fcn.0043aeba
test edi, edi
je 0x473506
sub ebx, edi
mov ecx, edi
and ebx, 0xfffffffc
mov edx, ebx
call fcn.0043a508
call fcn.0043ac97
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret