Function at 0x42543a
Capabilities:
Create thread

Disassembly:
sub esp, 0x41c
mov eax, dword [0x4d5784]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x54], ebx
je 0x425488
mov edi, 0x4da128
push 0x1a
mov ecx, edi
call fcn.0042d5c5
push 0x19
mov ecx, edi
mov ebp, eax
call fcn.0042d5c5
push ebx
push ebp
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
inc eax
jmp 0x42574d
cmp byte [esi + 0x68], bl
je 0x425494
xor eax, eax
jmp 0x42574d
push dword [esi + 4]
mov ebp, dword [sym.imp.USER32.dll_GetParent]
call ebp
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3023
push eax
call edi
push ebx
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebx
push dword [esi + 4]
call ebp
push 2
push eax
call edi
push 0
push eax
call ebx
push dword [esi + 4]
call ebp
push 0x3024
push eax
call edi
push 0
push eax
call ebx
xor eax, eax
push 0x206
push eax
mov word [esp + 0x20], ax
lea eax, [esp + 0x22]
push eax
call fcn.00430560
add esp, 0xc
push 0x104
lea eax, [esp + 0x1c]
push eax
push 0x3ec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [esp + 0x18]
push eax
push 0x3ec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea eax, [esp + 0x18]
push eax
mov ecx, 0x4da098
call fcn.004052b0
cmp word [esp + 0x18], 0
jne 0x4255b4
push 0x1a
mov ecx, 0x4da128
call fcn.0042d5c5
push 0x1b
mov ecx, 0x4da128
mov dword [esp + 0x14], eax
call fcn.0042d5c5
push 0
push dword [esp + 0x14]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [esi + 4]
call ebp
push 0x3023
push eax
call edi
push 1
push eax
call ebx
push dword [esi + 4]
call ebp
push 2
push eax
call edi
push 1
push eax
call ebx
push dword [esi + 4]
call ebp
push 0x3024
push eax
call edi
push 1
push eax
call ebx
push 0x3ec
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x425480
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.004253a0
test eax, eax
jne 0x4255d7
push 0x1a
mov ecx, 0x4da128
call fcn.0042d5c5
push 0x1c
jmp 0x42554d
lea eax, [esp + 0x18]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x4255ef
cmp eax, 0xb7
jne 0x4255c4
xor eax, eax
push 0x206
push eax
mov word [esp + 0x228], ax
lea eax, [esp + 0x22a]
push eax
call fcn.00430560
add esp, 0xc
push 0x104
lea eax, [esp + 0x224]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea eax, [esp + 0x220]
push eax
lea ecx, [esi + 0x5c]
call fcn.0042863a
test eax, eax
jge 0x42566e
mov edi, 0x4da128
push 0x1a
mov ecx, edi
call fcn.0042d5c5
push 0x1d
mov ecx, edi
mov ebx, eax
call fcn.0042d5c5
push 0x10
push ebx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x425480
push dword [esp + 0x18]
call fcn.00430932
movzx eax, ax
add eax, 0xffffffbf
pop ecx
cmp ax, 0x19
ja 0x4256bd
push esi
call fcn.00424890
push dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
call fcn.0042482f
pop ecx
cmp edx, dword [esp + 0x14]
ja 0x4256f5
jb 0x4256aa
cmp eax, dword [esp + 0x10]
jae 0x4256f5
push 9
mov ecx, 0x4da128
call fcn.0042d5c5
push 0x28
jmp 0x42554d
push 9
mov ecx, 0x4da128
call fcn.0042d5c5
push 0x27
mov ecx, 0x4da128
mov dword [esp + 0x14], eax
call fcn.0042d5c5
push 0x124
push dword [esp + 0x14]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x42556b
push 0x3f0
push dword [esi + 4]
xor ebp, ebp
inc ebp
mov dword [esi + 0x54], ebp
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push ebp
push eax
call ebx
push 0x3ee
push dword [esi + 4]
call edi
push ebp
push eax
call ebx
xor edi, edi
push edi
push 0x64
push 0x64
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
push edi
push edi
push esi
push fcn.00424ec6
push edi
push edi
mov dword [esi + 0x64], eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
cmp eax, edi
je 0x42574b
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, ebp
mov ecx, dword [esp + 0x428]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043039d
add esp, 0x41c
ret