Function at 0x413326
Capabilities:
Create directory

Disassembly:
mov eax, 0x46751e
call fcn.00466f40
sub esp, 0x620
mov ax, word [0x469bb8]
push ebx
push esi
mov esi, ecx
push edi
mov word [ebp - 0x424], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x422]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edi, [esi + 0x42c]
mov ecx, edi
call fcn.00466924
test eax, eax
mov dword [ebp - 0x10], eax
jne 0x413376
mov eax, dword [esi + 0x890]
mov dword [ebp - 0x10], eax
push eax
mov ecx, edi
call fcn.00466799
test eax, eax
je 0x413659
mov ebx, 0x104
lea edx, [ebp - 0x424]
push ebx
push edx
push dword [eax]
lea ecx, [esi + 0x444]
call fcn.00452d97
test eax, eax
je 0x413659
mov ax, word [0x469bb8]
mov ecx, 0x81
mov word [ebp - 0x21c], ax
xor eax, eax
lea edi, [ebp - 0x21a]
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x21c]
push eax
push 0x3a
push dword [0x49a554]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x424]
push 0x40b0ec
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
lea eax, [ebp - 0x424]
push eax
call edi
dec ebx
sub ebx, eax
lea eax, [ebp - 0x21c]
push eax
call edi
add esp, 0x10
cmp ebx, eax
jae 0x413423
lea eax, [ebp - 0x424]
push eax
call edi
pop ecx
mov ecx, 0x103
sub ecx, eax
jmp 0x41342f
lea eax, [ebp - 0x21c]
push eax
call edi
pop ecx
mov ecx, eax
lea eax, [ebp - 0x21c]
push ecx
push eax
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.MSVCRT.dll_wcsncat]
mov ax, word [0x469bb8]
mov ecx, 0x81
mov word [ebp - 0x62c], ax
xor eax, eax
lea edi, [ebp - 0x62a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x62c]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 0x14
push 2
pop ebx
lea eax, [ebp - 0x62c]
push 1
push eax
call fcn.0044dd66
pop ecx
test eax, eax
pop ecx
je 0x4134c4
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x62c]
push ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x424]
push eax
push 0x40b0dc
lea eax, [ebp - 0x62c]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
inc ebx
jmp 0x41347c
xor edi, edi
lea ebx, [esi + 0x42c]
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push 0x469bb8
mov ecx, ebx
push dword [ebp - 0x10]
call fcn.00466717
cmp eax, edi
mov dword [esi + 0x894], eax
je 0x413659
push 1
mov ecx, ebx
push dword [ebp - 0x10]
call fcn.00466830
push 0x1102
mov ecx, ebx
push dword [ebp - 0x10]
call fcn.0046690b
mov ecx, esi
call fcn.00425b0f
lea eax, [ebp - 0x62c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x41364c
mov ecx, esi
call fcn.00425a83
lea eax, [ebp - 0x62c]
push 0xffffffffffffffff
push eax
lea ecx, [esi + 0x444]
call fcn.004529f0
cmp eax, edi
mov dword [ebp - 0x10], eax
je 0x413659
push 0x22c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x14], eax
cmp eax, edi
mov dword [ebp - 4], edi
je 0x41356d
mov ecx, eax
call fcn.00413668
mov ebx, eax
jmp 0x41356f
xor ebx, ebx
or dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x413608
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x21c]
push 1
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x21c]
push 0x104
push eax
push edi
lea ecx, [esi + 0x444]
call fcn.00452d12
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebx + 0x18]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
mov dword [ebx], edi
pop ecx
mov dword [ebx + 0x10], 1
mov eax, dword [esi]
push 0xffffffffffffffff
push ebx
mov ecx, esi
call dword [eax + 0x7c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x21c]
push eax
lea edi, [esi + 0x42c]
push dword [esi + 0x894]
mov ecx, edi
call fcn.004669a6
push dword [ebp - 0x10]
mov ecx, edi
push dword [esi + 0x894]
call fcn.00466a20
push ebx
mov ecx, edi
push dword [esi + 0x894]
call fcn.004667fa
push dword [esi + 0x430]
lea edi, [esi + 0x430]
call dword [sym.imp.USER32.dll_SetFocus]
push dword [esi + 0x894]
lea ecx, [esi + 0x42c]
call fcn.004668f4
push dword [esi + 0x894]
mov dword [esi + 0x8a4], 1
push 0
push 0x1141
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x413659
push dword [esi + 0x894]
mov ecx, ebx
call fcn.004668dd
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret