Function at 0x43f8c8
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 0x43f8ea
dec edx
je 0x43f9ee
jmp 0x43fb85
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 + 0x45e00c]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jl 0x43f983
mov eax, dword [ebp - 0x14]
add eax, 0x13ec
push eax
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
test eax, eax
je 0x43f983
mov edx, dword [ebp - 0x14]
add edx, 0x1450
push edx
push dword [ebp + 8]
call sub.USER32.DLL_GetDlgItem
test eax, eax
je 0x43f983
imul ecx, dword [ebp - 8], 0x46
mov eax, dword [ebp - 0xc]
add eax, eax
lea eax, [eax + eax*4]
add ecx, eax
add ecx, 0x45b6b0
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 + 0x45bf2c]
mov eax, dword [ebp - 0x14]
add eax, 0x1450
push eax
push dword [ebp + 8]
call sub.USER32.DLL_SetDlgItemTextA
jmp 0x43f99e
mov edx, dword [ebp - 8]
mov ecx, edx
shl edx, 3
sub edx, ecx
lea eax, [edx*4 + 0x45e00c]
mov edx, dword [ebp - 0xc]
mov dword [eax + edx*4], 0xffffffff
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 7
jl 0x43f8f4
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x17
jl 0x43f8ef
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 0x43fb85
mov cx, word [ebp + 0x10]
and cx, 0xffff
cmp cx, 2
jne 0x43fa13
mov dword [ebp - 4], 1
push 1
push dword [ebp + 8]
call sub.USER32.DLL_EndDialog
jmp 0x43fb85
mov ax, word [ebp + 0x10]
and ax, 0xffff
cmp ax, 1
jne 0x43fb85
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 + 0x45e00c]
mov eax, dword [ebp - 0xc]
cmp dword [ecx + eax*4], 0
jl 0x43fb46
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 + 0x45e00c]
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.00402874
pop ecx
movsx ecx, byte [ebp - 0x3c]
cmp ecx, 0x3c
je 0x43fadc
movsx eax, byte [ebp - 0x3c]
cmp eax, 0x3e
je 0x43fadc
push 0x45adce
push 0x30
push dword [ebp + 8]
call fcn.0041124c
add esp, 0xc
mov edx, dword [ebp - 8]
mov ecx, edx
shl edx, 3
sub edx, ecx
lea eax, [edx*4 + 0x45e00c]
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 0x43fb88
movsx edx, byte [ebp - 0x3b]
cmp edx, 0x3d
jne 0x43faee
mov dword [ebp - 0x10], 2
jmp 0x43faf5
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x3c]
add ecx, dword [ebp - 0x10]
push ecx
call fcn.00402874
pop ecx
mov byte [ebp - 0x33], 0
lea eax, [ebp - 0x1c]
push eax
push 0x461e8e
lea edx, [ebp - 0x3c]
add edx, dword [ebp - 0x10]
push edx
call fcn.00444fec
add esp, 0xc
dec eax
jne 0x43fa94
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, 0x45b6b0
push eax
call fcn.004415c8
add esp, 8
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 7
jl 0x43fa2f
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x17
jl 0x43fa2a
push dword [ebp + 8]
call fcn.0043f778
pop ecx
test eax, eax
jne 0x43fb74
mov eax, 1
jmp 0x43fb88
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