Function at 0x40e420
Capabilities:
Access peb ldr_data
Create directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x43235b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
mov eax, dword [esp + 0x234]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0x66
mov dword [esp + 0x30], esi
call fcn.00426044
lea edi, [esi + 0x5c]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x23c], ebx
call fcn.004265f3
mov dword [edi], vtable.CProgressCtrl.0
push ebx
lea ecx, [esi + 0x98]
mov byte [esp + 0x240], 1
call fcn.00401000
push ebx
push ebx
mov edi, 0xa
push 1
push ebx
mov dword [esi + 0x180], ebx
mov dword [esi + 0x174], edi
mov dword [esi + 0x170], ebx
mov dword [esi + 0x178], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x17c], eax
mov dword [esi + 0x18c], 1
mov dword [esi + 0x194], edi
mov dl, byte [esp + 0x1b]
mov al, byte [esp + 0x1b]
lea ecx, [esi + 0x1a4]
mov byte [esp + 0x23c], 3
mov byte [ecx], dl
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.00401a60
mov ecx, dword [0x43f88c]
mov dword [esi + 0x1b4], ecx
mov edx, dword [0x43f88c]
mov dword [esi + 0x1b8], edx
mov eax, dword [0x43f88c]
mov dword [esi + 0x1bc], eax
mov ecx, dword [0x43f88c]
mov dword [esi + 0x1c0], ecx
mov edx, dword [0x43f88c]
mov dword [esi + 0x1c4], edx
mov eax, dword [0x43f88c]
mov dword [esi + 0x1c8], eax
mov ecx, dword [0x43f88c]
mov dword [esi + 0x1cc], ecx
mov edx, dword [0x43f88c]
mov dword [esi + 0x1d0], edx
mov eax, dword [0x43f88c]
mov dword [esi + 0x1d4], eax
mov ecx, dword [0x43f88c]
mov dword [esi + 0x1d8], ecx
mov edx, dword [0x43f88c]
mov dword [esi + 0x1e4], edx
mov eax, dword [0x43f88c]
mov dword [esi + 0x1e8], eax
lea ebp, [esi + 0x1fc]
mov byte [esp + 0x23c], 0x10
mov ecx, ebp
call fcn.0040a710
mov byte [esp + 0x23c], 0x11
mov dword [esi], method.CDialog.virtual_0
call fcn.0042e7ad
call fcn.0042e7ad
mov eax, dword [eax + 0xc]
push 0x84
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esi + 0x1f8], eax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x2d]
mov byte [esp + 0x2c], bl
mov dword [esp + 0x24], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x130]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x24]
push ecx
push 5
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x40e61a
lea edx, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x40e61a
lea eax, [esp + 0x130]
push 0x104
lea ecx, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x10]
push edx
call fcn.00429a6a
push 0x43e3c4
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 0x12
call fcn.00429dd8
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x20]
mov eax, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00424b4d
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 0x13
call fcn.00429b35
lea ecx, [esp + 0x20]
mov byte [esp + 0x23c], 0x12
call fcn.004299fc
push str.91_Mobile
lea ecx, [esp + 0x14]
call fcn.00429dd8
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
call fcn.00429771
mov eax, dword [0x43f88c]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x14]
mov edi, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
push ecx
mov byte [esp + 0x240], 0x15
call edi
test eax, eax
jne 0x40e6db
mov edx, dword [esp + 0x14]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x40e6db
mov eax, dword [esp + 0x1c]
push ebx
push 4
push eax
call fcn.0042dade
cmp eax, 6
je 0x40e7da
push 0x43e3c4
lea ecx, [esp + 0x14]
call fcn.00429dd8
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x20]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x10]
push eax
push edx
call fcn.00424b4d
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 0x16
call fcn.00429b35
lea ecx, [esp + 0x20]
mov byte [esp + 0x23c], 0x15
call fcn.004299fc
push str.Components
lea ecx, [esp + 0x14]
call fcn.00429dd8
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call fcn.00429b35
mov ecx, dword [esp + 0x14]
push ecx
call edi
test eax, eax
jne 0x40e76b
mov edx, dword [esp + 0x14]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x40e76b
mov eax, dword [esp + 0x1c]
push ebx
push 4
push eax
call fcn.0042dade
cmp eax, 6
je 0x40e7da
push 0x43e3c4
lea ecx, [esp + 0x14]
call fcn.00429dd8
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x20]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x10]
push eax
push edx
call fcn.00424b4d
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 0x17
call fcn.00429b35
lea ecx, [esp + 0x20]
mov byte [esp + 0x23c], 0x15
call fcn.004299fc
lea eax, [esp + 0x10]
mov ecx, 0x4410cc
push eax
call fcn.00429b35
cmp esi, ebx
jne 0x40e7c9
xor eax, eax
jmp 0x40e7cc
mov eax, dword [esi + 0x1c]
push eax
mov ecx, ebp
call fcn.0040a890
mov dword [esi + 0x324], ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x23c], 0x14
call fcn.004299fc
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 0x12
call fcn.004299fc
lea ecx, [esp + 0x10]
mov byte [esp + 0x23c], 0x11
call fcn.004299fc
mov ecx, dword [esp + 0x234]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x230
ret 4