Function at 0x40a3f0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x448dcb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x838
push ebx
push ebp
push esi
mov esi, dword [esp + 0x854]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x28]
push esi
mov dword [esp + 0x14], ecx
push eax
call edi
mov ebp, dword [esp + 0x85c]
lea ecx, [esp + 0x230]
push ebp
push ecx
call edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
mov ebx, 0x5c
cmp word [esi + eax*2 - 2], bx
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
je 0x40a461
lea edx, [esp + 0x28]
push 0x45f6a8
push edx
call esi
push ebp
call edi
cmp word [ebp + eax*2 - 2], bx
je 0x40a47a
lea eax, [esp + 0x230]
push 0x45f6a8
push eax
call esi
xor esi, esi
lea ecx, [esp + 0x28]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40a493
xor al, al
jmp 0x40a650
mov dl, byte [esp + 0x17]
mov dword [esp + 0x1c], esi
mov byte [esp + 0x18], dl
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x230]
push eax
push ecx
mov ecx, ebx
mov dword [esp + 0x858], esi
call fcn.00409a50
test al, al
jne 0x40a4de
mov edx, dword [esp + 0x1c]
push edx
call fcn.0043d59a
add esp, 4
xor al, al
jmp 0x40a650
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
mov dword [esp + 0x10], esi
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x40a645
mov ecx, dword [esp + 0x20]
mov eax, 0x7a44c6b
sub ecx, ebp
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x10]
cmp eax, edx
jae 0x40a645
lea ecx, [esi + ebp]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x45fac8
push ecx
call ebp
test eax, eax
je 0x40a60f
mov edx, dword [esp + 0x1c]
push 0x45fac0
lea eax, [esi + edx]
push eax
call ebp
test eax, eax
je 0x40a60f
mov ecx, dword [esp + 0x1c]
lea eax, [esi + ecx]
push eax
mov cl, byte [eax + 0x214]
test cl, cl
je 0x40a5be
lea edx, [esp + 0x2c]
lea eax, [esp + 0x644]
push edx
push str._s_s_
push eax
call edi
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x240]
lea edx, [esi + ecx]
lea ecx, [esp + 0x448]
push edx
push eax
push str._s_s_
push ecx
call edi
add esp, 0x20
lea edx, [esp + 0x438]
lea eax, [esp + 0x640]
mov ecx, ebx
push edx
push eax
call fcn.0040a3f0
test al, al
je 0x40a623
mov ecx, dword [esp + 0x10]
inc ecx
add esi, 0x218
mov dword [esp + 0x10], ecx
jmp 0x40a4e8
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x644]
push ecx
push str._s_s
push edx
call edi
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x240]
lea ecx, [esi + eax]
lea eax, [esp + 0x448]
push ecx
push edx
push str._s_s
push eax
call edi
add esp, 0x20
lea ecx, [esp + 0x438]
lea edx, [esp + 0x640]
push ecx
push edx
mov ecx, ebx
call fcn.0040a1e0
test al, al
je 0x40a634
mov ecx, dword [esp + 0x10]
inc ecx
add esi, 0x218
mov dword [esp + 0x10], ecx
jmp 0x40a4e8
mov eax, dword [esp + 0x1c]
push eax
call fcn.0043d59a
add esp, 4
xor al, al
jmp 0x40a650
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0043d59a
add esp, 4
xor al, al
jmp 0x40a650
push ebp
call fcn.0043d59a
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x848]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x844
ret 8