Function at 0x442348
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
sub edx, 0x110
je 0x44236a
dec edx
je 0x44246e
jmp 0x442605
xor ecx, ecx
mov dword [ebp - 8], ecx
xor eax, eax
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
mov ecx, edx
shl edx, 3
sub edx, ecx
lea eax, [edx*4 + 0x4618cc]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jl 0x442403
mov eax, dword [ebp - 0x14]
add eax, 0x13ec
push eax
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
test eax, eax
je 0x442403
mov edx, dword [ebp - 0x14]
add edx, 0x1450
push edx
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
test eax, eax
je 0x442403
imul ecx, dword [ebp - 8], 0x46
mov eax, dword [ebp - 0xc]
add eax, eax
lea eax, [eax + eax*4]
add ecx, eax
add ecx, 0x45ef70
push ecx
mov edx, dword [ebp - 0x14]
add edx, 0x13ec
push edx
push dword [ebp + 8]
call sub.USER32.DLL_SetDlgItemTextA
mov ecx, dword [ebp - 8]
push dword [ecx*4 + 0x45f7ec]
mov eax, dword [ebp - 0x14]
add eax, 0x1450
push eax
push dword [ebp + 8]
call sub.USER32.DLL_SetDlgItemTextA
jmp 0x44241e
mov edx, dword [ebp - 8]
mov ecx, edx
shl edx, 3
sub edx, ecx
lea eax, [edx*4 + 0x4618cc]
mov edx, dword [ebp - 0xc]
mov dword [eax + edx*4], 0xffffffff
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 7
jl 0x442374
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x17
jl 0x44236f
push 0
push 0x13f9
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_ShowWindow
push 0
push 0x145d
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_ShowWindow
mov dword [ebp - 4], 1
jmp 0x442605
mov cx, word [ebp + 0x10]
and cx, 0xffff
cmp cx, 2
jne 0x442493
mov dword [ebp - 4], 1
push 1
push dword [ebp + 8]
call sub.USER32.DLL_EndDialog
jmp 0x442605
mov ax, word [ebp + 0x10]
and ax, 0xffff
cmp ax, 1
jne 0x442605
xor edx, edx
mov dword [ebp - 8], edx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 3
sub eax, edx
lea ecx, [eax*4 + 0x4618cc]
mov eax, dword [ebp - 0xc]
cmp dword [ecx + eax*4], 0
jl 0x4425c6
push 0x1d
lea edx, [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 8]
mov eax, ecx
shl ecx, 3
sub ecx, eax
lea edx, [ecx*4 + 0x4618cc]
mov ecx, dword [ebp - 0xc]
mov eax, dword [edx + ecx*4]
add eax, 0x13ec
push eax
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItemTextA
lea edx, [ebp - 0x3c]
push edx
call fcn.0040288c
pop ecx
movsx ecx, byte [ebp - 0x3c]
cmp ecx, 0x3c
je 0x44255c
movsx eax, byte [ebp - 0x3c]
cmp eax, 0x3e
je 0x44255c
push 0x45e68e
push 0x30
push dword [ebp + 8]
call fcn.00411b5c
add esp, 0xc
mov edx, dword [ebp - 8]
mov ecx, edx
shl edx, 3
sub edx, ecx
lea eax, [edx*4 + 0x4618cc]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax + edx*4]
add ecx, 0x13ec
push ecx
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_SetFocus
mov eax, 1
jmp 0x442608
movsx edx, byte [ebp - 0x3b]
cmp edx, 0x3d
jne 0x44256e
mov dword [ebp - 0x10], 2
jmp 0x442575
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x3c]
add ecx, dword [ebp - 0x10]
push ecx
call fcn.0040288c
pop ecx
mov byte [ebp - 0x33], 0
lea eax, [ebp - 0x1c]
push eax
push 0x465747
lea edx, [ebp - 0x3c]
add edx, dword [ebp - 0x10]
push edx
call fcn.00447d80
add esp, 0xc
dec eax
jne 0x442514
lea ecx, [ebp - 0x3c]
push ecx
imul eax, dword [ebp - 8], 0x46
mov edx, dword [ebp - 0xc]
add edx, edx
lea edx, [edx + edx*4]
add eax, edx
add eax, 0x45ef70
push eax
call fcn.0044435c
add esp, 8
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 7
jl 0x4424af
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x17
jl 0x4424aa
push dword [ebp + 8]
call fcn.004421f8
pop ecx
test eax, eax
jne 0x4425f4
mov eax, 1
jmp 0x442608
mov dword [ebp - 4], 1
push 1
push dword [ebp + 8]
call sub.USER32.DLL_EndDialog
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x10