Function at 0x412fb6
Capabilities:
Create directory
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa30
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
call fcn.00425b0f
mov edi, 0x46bb68
mov ecx, edi
call fcn.00432230
mov ecx, edi
call fcn.0043239a
mov ax, word [0x469bb8]
mov ecx, 0x81
mov word [ebp - 0x620], ax
xor eax, eax
lea edi, [ebp - 0x61e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edi, [esi + 0x42c]
mov ecx, edi
call fcn.00466924
test eax, eax
jne 0x413013
mov eax, dword [esi + 0x890]
push eax
mov ecx, edi
call fcn.00466799
test eax, eax
je 0x4131b8
lea ecx, [ebp - 0x620]
push 0x104
push ecx
lea ecx, [esi + 0x444]
push dword [eax]
call fcn.00452d97
test eax, eax
je 0x4131b8
push ebx
mov bx, word [0x469bb8]
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x416]
mov esi, dword [esi + 0x8e4]
mov word [ebp - 0x418], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [esi + 4]
test edi, edi
je 0x4131bc
mov eax, dword [esi + 8]
mov ecx, 0x1250
sub eax, edi
cdq
idiv ecx
cmp eax, 1
jne 0x4131bc
mov ecx, 0x412
xor eax, eax
add edi, 0x208
push 0x823
rep stosd dword es:[edi], eax
mov edi, dword [esi + 4]
mov ecx, 0x82
rep stosd dword es:[edi], eax
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
add eax, 0x208
push eax
mov eax, dword [ebp - 4]
push 0x3f2
push dword [eax + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 4]
mov ebx, 0x103
push ebx
push eax
mov eax, dword [ebp - 4]
push 0x413
push dword [eax + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [esi + 4]
lea eax, [ebp - 0x620]
push eax
push 0x40b0c8
lea eax, [ebp - 0x418]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov eax, dword [esi + 4]
add eax, 0x208
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.00426c91
add esp, 0x1c
mov ax, word [0x469bb8]
mov ecx, 0x81
mov word [ebp - 0x210], ax
xor eax, eax
lea edi, [ebp - 0x20e]
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
rep stosd dword es:[edi], eax
and dword [0x48afbc], 0
push 0x48ab70
stosw word es:[edi], ax
push 0x40b0c0
lea eax, [ebp - 0x210]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x210]
mov ecx, 0x46bb68
push 6
push 1
push eax
call fcn.0042d06f
mov ecx, 0x82
xor eax, eax
and dword [0x48afc0], eax
lea edi, [ebp - 0x210]
rep stosd dword es:[edi], eax
push 0x48ada8
push 0x40b0c0
lea eax, [ebp - 0x210]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x210]
mov ecx, 0x46bb68
push 6
push 1
push eax
call fcn.004325f5
pop ebx
pop edi
pop esi
leave
ret
mov edx, 0x81
xor eax, eax
mov ecx, edx
lea edi, [ebp - 0xa2e]
mov word [ebp - 0xa30], bx
mov word [ebp - 0x828], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x826]
mov ebx, 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0xa30]
push ebx
push eax
mov eax, dword [ebp - 4]
push 0x413
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0xa30]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
test eax, eax
pop ecx
je 0x413248
lea eax, [ebp - 0xa30]
push eax
lea eax, [ebp - 0x620]
push eax
push 0x40b0b4
lea eax, [ebp - 0x828]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
jmp 0x413265
lea eax, [ebp - 0x620]
push eax
push 0x40b0c0
lea eax, [ebp - 0x828]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
xor edi, edi
lea eax, [ebp - 0x828]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x41311f
mov eax, dword [esi + 8]
mov edi, 0x1250
sub eax, ecx
cdq
idiv edi
cmp dword [ebp - 8], eax
jae 0x41311f
mov eax, dword [ebp - 4]
mov edi, dword [sym.imp.MSVCRT.dll_wcspbrk]
add eax, ecx
push 0x40b0a0
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x4132ca
mov ecx, dword [ebp - 4]
mov word [eax], 0x2d
mov eax, dword [esi + 4]
push 0x40b0a0
add ecx, eax
push ecx
jmp 0x4132ad
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x418]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 4]
add eax, dword [esi + 4]
push eax
lea eax, [ebp - 0x828]
push eax
push 0x40b0c8
lea eax, [ebp - 0x418]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax + 0x208]
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.00426c91
add esp, 0x1c
inc dword [ebp - 8]
add dword [ebp - 4], 0x1250
jmp 0x41327b