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

Disassembly:
sub esp, 0xc34
push ebp
mov ebp, ecx
push esi
push edi
mov ecx, 0x68f388
call fcn.00454cb0
mov ecx, 0x68f388
call fcn.00454e50
mov ax, word [0x4ffec0]
mov ecx, 0x81
mov word [esp + 0x420], ax
xor eax, eax
lea edi, [esp + 0x422]
lea esi, [ebp + 0x6e0]
rep stosd dword es:[edi], eax
mov ecx, esi
stosw word es:[edi], ax
call fcn.004d18b0
test eax, eax
jne 0x402516
mov eax, dword [ebp + 0xd58]
push eax
mov ecx, esi
call fcn.004d16b0
test eax, eax
je 0x402923
mov edx, dword [eax]
lea ecx, [esp + 0x420]
push 0x104
push ecx
push edx
lea ecx, [ebp + 0x710]
call fcn.004aefe0
test eax, eax
je 0x402923
push ebx
mov bx, word [0x4ffec0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov esi, dword [ebp + 0xdb8]
mov word [esp + 0x14], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [esi + 4]
test edi, edi
je 0x402665
mov ecx, dword [esi + 8]
mov eax, 0xdfac1f75
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jne 0x402665
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 ecx, dword [ebp + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
add eax, 0x208
push eax
push 0x3f2
push ecx
call edi
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextW]
push eax
call ebx
mov eax, dword [esi + 4]
mov edx, dword [ebp + 4]
push 0x103
push eax
push 0x413
push edx
call edi
push eax
call ebx
mov eax, dword [esi + 4]
push 1
push 0x80
push eax
call fcn.004afe80
mov ecx, dword [esi + 4]
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0xc
lea edx, [esp + 0x424]
lea eax, [esp + 0x14]
push ecx
push edx
push 0x4eb518
push 0x103
push eax
call ebx
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
add ecx, 0x208
push ecx
push edx
call fcn.00434280
mov esi, dword [esi + 4]
add esp, 0x1c
add esi, 0x208
lea eax, [esp + 0x14]
push 0
push 0
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push 0
call fcn.00438870
add esp, 0x14
jmp 0x402880
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa3e]
mov word [esp + 0xa3c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x836]
mov word [esp + 0x834], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, dword [ebp + 4]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x62e]
mov word [esp + 0x62c], bx
push 0x103
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xa40]
push ecx
push 0x413
push edx
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0xa3c]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
je 0x402718
lea ecx, [esp + 0xa3c]
lea edx, [esp + 0x424]
push ecx
push edx
push 0x4eb50c
lea eax, [esp + 0x840]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
jmp 0x40273b
lea ecx, [esp + 0x424]
lea edx, [esp + 0x834]
push ecx
push 0x4eb504
push 0x103
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
xor ebx, ebx
lea eax, [esp + 0x834]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [esp + 0x10], ebx
mov edi, dword [esi + 4]
test edi, edi
je 0x40287a
mov ecx, dword [esi + 8]
mov eax, 0xdfac1f75
sub ecx, edi
imul ecx
add edx, ecx
mov eax, dword [esp + 0x10]
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp eax, edx
jae 0x40287a
lea edx, [ebx + edi]
mov edi, dword [sym.imp.MSVCRT.dll_wcspbrk]
push str._:____
push edx
call edi
add esp, 8
test eax, eax
je 0x4027b0
mov word [eax], 0x2d
mov eax, dword [esi + 4]
add eax, ebx
push str._:____
push eax
call edi
add esp, 8
test eax, eax
jne 0x402797
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x14]
push 1
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esp + 0x630]
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 4]
push 0x80
push ecx
call fcn.004afe80
mov eax, dword [esi + 4]
mov edx, ebx
add esp, 0xc
add edx, eax
lea eax, [esp + 0x834]
lea ecx, [esp + 0x14]
push edx
push eax
push 0x4eb518
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
lea edx, [esp + 0x62c]
lea eax, [esp + 0x14]
mov ecx, ebp
push 0x104
push edx
push eax
call fcn.00403870
test eax, eax
je 0x402866
mov ecx, dword [esi + 4]
lea eax, [esp + 0x62c]
lea edx, [ebx + ecx + 0x208]
push edx
push eax
call fcn.00434280
mov eax, dword [esi + 4]
add esp, 8
lea edx, [esp + 0x62c]
push 0
lea ecx, [ebx + eax + 0x208]
push 0
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push 0
call fcn.00438870
add esp, 0x14
mov ecx, dword [esp + 0x10]
inc ecx
add ebx, 0x1250
mov dword [esp + 0x10], ecx
jmp 0x402750
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
mov ax, word [0x4ffec0]
mov ecx, 0x81
mov word [esp + 0x21c], ax
xor eax, eax
lea edi, [esp + 0x21e]
push 0x6bce6c
rep stosd dword es:[edi], eax
push 0x4eb504
lea ecx, [esp + 0x224]
xor esi, esi
push 0x103
push ecx
mov dword [0x6bd2d0], esi
stosw word es:[edi], ax
call ebx
add esp, 0x10
lea edx, [esp + 0x21c]
mov ecx, 0x68f388
push 6
push 1
push edx
call fcn.0044c890
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x21c]
push 0x6bd0b4
rep stosd dword es:[edi], eax
push 0x4eb504
lea eax, [esp + 0x224]
push 0x103
push eax
mov dword [0x6bd2d4], esi
call ebx
add esp, 0x10
lea ecx, [esp + 0x21c]
push 6
push 1
push ecx
mov ecx, 0x68f388
call fcn.00455150
pop ebx
pop edi
pop esi
pop ebp
add esp, 0xc34
ret