Function at 0x40f8b0
Capabilities:
Create directory

Disassembly:
sub esp, 0x234
mov al, byte [0x4fbe40]
push ebx
push esi
mov esi, ecx
push edi
mov byte [esp + 0x38], al
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0x39]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.user32.dll_GetFocus]
mov edi, dword [sym.imp.user32.dll_SendMessageA]
mov ecx, eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0xc], ecx
cmp ecx, eax
jne 0x40f92d
push 0
push 8
push 0x110a
push eax
call edi
test eax, eax
jne 0x40f90b
mov ecx, dword [esi + 0x10]
push eax
push 9
push 0x110a
push ecx
call edi
mov edx, dword [esi + 0x10]
push eax
push edx
call fcn.00404b60
add esp, 8
test eax, eax
je 0x40f95e
mov edx, dword [eax + 4]
lea ecx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.shell32.dll_SHGetPathFromIDList]
jmp 0x40f95e
cmp ecx, dword [esi + 0x24]
jne 0x40f94c
push 0xffffffffffffffff
mov ecx, esi
call fcn.00418060
cmp dword [eax + 0xc], 1
jne 0x40f95e
mov eax, dword [eax + 8]
lea ecx, [esp + 0x38]
push eax
push ecx
jmp 0x40f958
lea edx, [esi + 0x20c]
lea eax, [esp + 0x38]
push edx
push eax
call dword [sym.imp.kernel32.dll_lstrcpy]
mov al, byte [esp + 0x38]
test al, al
je 0x40fafb
push ebp
mov ebp, dword [sym.imp.user32.dll_LoadStringA]
xor ebx, ebx
inc ebx
cmp ebx, 1
jne 0x40f98d
mov edx, dword [esi + 0x200]
lea ecx, [esp + 0x14]
push 0x28
push ecx
push 0x78
push edx
call ebp
jmp 0x40f9a4
mov eax, dword [esi + 0x200]
push ebx
push 0x79
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.00444d00
add esp, 0x10
lea edx, [esp + 0x14]
lea eax, [esp + 0x3c]
push edx
lea ecx, [esp + 0x144]
push eax
push ecx
call fcn.00442e30
lea edx, [esp + 0x14c]
push 0
push edx
call fcn.004c818e
add esp, 0x14
test eax, eax
je 0x40f973
mov ecx, esi
call fcn.00419e50
lea eax, [esp + 0x140]
push 0
push eax
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
mov ecx, esi
mov ebx, eax
call fcn.00419eb0
test ebx, ebx
pop ebp
jne 0x40fa15
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x200]
push 0x77
push ecx
push edx
call fcn.00443860
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x234
ret
mov eax, dword [0x4fb924]
test eax, eax
je 0x40fa5e
mov eax, dword [esi + 0x10]
push 0
push 0
push 0xb
push eax
call edi
push 1
push 0
mov ecx, esi
call fcn.00416d20
mov ecx, dword [esi + 0x10]
push 0
push 9
push 0x110a
push ecx
call edi
mov edx, dword [esi + 0x10]
push eax
push 2
push 0x1102
push edx
call edi
mov eax, dword [esi + 0x10]
push 0
push 1
push 0xb
push eax
call edi
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x10]
cmp ecx, eax
jne 0x40facd
lea edx, [esp + 0x13c]
mov ecx, esi
push edx
call fcn.00416c00
mov ebx, eax
mov eax, dword [esi + 0x10]
push ebx
push 3
push 0x110a
push eax
call edi
mov ecx, dword [esi + 0x10]
push eax
push 2
push 0x1102
push ecx
call edi
mov edx, dword [esi + 0x10]
push ebx
push 0
push 0x110e
push edx
call edi
lea eax, [esi + 0x20c]
lea ecx, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.kernel32.dll_lstrcmpi]
test eax, eax
jne 0x40fafb
push 1
mov ecx, esi
call fcn.00418950
pop edi
pop esi
pop ebx
add esp, 0x234
ret
mov ecx, esi
call fcn.00419cd0
test eax, eax
je 0x40fae1
mov eax, dword [0x4fb96c]
test eax, eax
je 0x40fafb
push 1
mov ecx, esi
call fcn.00418950
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.user32.dll_SetFocus]
mov ecx, esi
call fcn.0040e7f0
pop edi
pop esi
pop ebx
add esp, 0x234
ret