Function at 0x40f624
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x40f62c
push ebx
push esi
push edi
mov edi, dword [0x415198]
xor eax, eax
push ebp
push 0x40fb6b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x415160]
mov eax, dword [eax]
call fcn.0040301c
push eax
mov eax, dword [edi]
push eax
call sub.user32.dll_SetWindowTextA
mov eax, dword [0x415160]
mov eax, dword [eax + 0x18]
call fcn.0040301c
push eax
push 1
mov eax, dword [edi]
push eax
call sub.user32.dll_SetDlgItemTextA
mov eax, dword [0x415160]
mov eax, dword [eax + 4]
cmp eax, 1
jne 0x40f6fb
push 0xffffffffffffffff
push 7
mov eax, dword [edi]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_EnableWindow
push 0
push 0x14
mov eax, dword [edi]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_EnableWindow
push 1
push 7
mov eax, dword [edi]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
push 0
push 0x14
mov eax, dword [edi]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x415160]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
lea eax, [ebp - 0xc]
mov edx, 0x40fb84
call fcn.00402e70
mov eax, dword [ebp - 0xc]
call fcn.0040301c
push eax
push 7
mov eax, dword [edi]
push eax
call sub.user32.dll_SetDlgItemTextA
jmp 0x40f7a8
mov edx, dword [0x415160]
cmp eax, 1
jbe 0x40f7a8
push 0
push 7
mov eax, dword [edi]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
push 1
push 0x14
mov eax, dword [edi]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
push 0
push 7
mov eax, dword [edi]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_EnableWindow
push 0xffffffffffffffff
push 0x14
mov eax, dword [edi]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_EnableWindow
mov esi, dword [0x415160]
mov esi, dword [esi + 4]
dec esi
test esi, esi
jl 0x40f78f
inc esi
xor ebx, ebx
mov eax, dword [0x415160]
mov eax, dword [eax + 8]
mov eax, dword [eax + ebx*4]
call fcn.0040301c
push eax
push 0
push 0x143
push 0x14
mov eax, dword [edi]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SendMessageA
inc ebx
dec esi
jne 0x40f763
push 0
push 0
push 0x14e
push 0x14
mov eax, dword [edi]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SendMessageA
mov ecx, dword [0x415160]
mov ecx, dword [ecx + 0xc]
lea eax, [ebp - 0x10]
mov edx, 0x40fb84
call fcn.00402e70
mov eax, dword [ebp - 0x10]
call fcn.0040301c
push eax
push 8
mov eax, dword [edi]
push eax
call sub.user32.dll_SetDlgItemTextA
mov ecx, dword [0x415160]
mov ecx, dword [ecx + 0x10]
lea eax, [ebp - 0x14]
mov edx, 0x40fb84
call fcn.00402e70
mov eax, dword [ebp - 0x14]
call fcn.0040301c
push eax
push 0xa
mov eax, dword [edi]
push eax
call sub.user32.dll_SetDlgItemTextA
mov ecx, dword [0x415160]
mov ecx, dword [ecx + 0x14]
lea eax, [ebp - 0x18]
mov edx, 0x40fb84
call fcn.00402e70
mov eax, dword [ebp - 0x18]
call fcn.0040301c
push eax
push 0xb
mov eax, dword [edi]
push eax
call sub.user32.dll_SetDlgItemTextA
lea eax, [ebp - 8]
mov edx, dword [0x415160]
mov edx, dword [edx + 0x21]
call fcn.00402c68
jmp 0x40f8db
mov edx, dword [ebp - 8]
mov eax, 0x40fb90
call fcn.00403100
test eax, eax
jle 0x40f8d3
lea eax, [ebp - 4]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x40fb90
call fcn.00403100
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00403078
mov edx, dword [ebp - 8]
mov eax, 0x40fb90
call fcn.00403100
mov ecx, eax
inc ecx
lea eax, [ebp - 8]
mov edx, 1
call fcn.004030b8
mov eax, dword [ebp - 4]
call fcn.0040301c
push eax
push 0
push 0x180
push 0x12
mov eax, dword [edi]
push eax
call sub.user32.dll_SendDlgItemMessageA
mov edx, dword [ebp - 8]
mov eax, 0x40fb90
call fcn.00403100
test eax, eax
jne 0x40f8db
mov eax, dword [ebp - 8]
call fcn.0040301c
push eax
push 0
push 0x180
push 0x12
mov eax, dword [edi]
push eax
call sub.user32.dll_SendDlgItemMessageA
jmp 0x40f8db
lea eax, [ebp - 8]
call fcn.00402bd0
mov eax, dword [ebp - 8]
call fcn.00402e24
test eax, eax
jne 0x40f839
mov eax, dword [0x415194]
cmp byte [eax], 0xff
jle 0x40fa62
mov eax, dword [0x415160]
cmp dword [eax + 4], 1
jne 0x40f99d
mov eax, dword [0x415194]
mov eax, dword [eax + 1]
mov ecx, dword [eax + 1]
lea eax, [ebp - 0x1c]
mov edx, 0x40fb84
call fcn.00402e70
mov eax, dword [ebp - 0x1c]
call fcn.0040301c
push eax
push 9
mov eax, dword [edi]
push eax
call sub.user32.dll_SetDlgItemTextA
mov esi, dword [0x415194]
movsx esi, byte [esi]
dec esi
test esi, esi
jle 0x40fa62
mov ebx, 1
push 9
mov eax, dword [edi]
push eax
call sub.user32.dll_GetDlgItem
lea edx, [ebp - 0x24]
call fcn.00406444
push dword [ebp - 0x24]
push 0x40fb9c
imul eax, ebx, 0xb
mov edx, dword [0x415194]
mov edx, dword [edx + 1]
push dword [edx + eax*4 + 1]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00402ee4
mov eax, dword [ebp - 0x20]
call fcn.0040301c
push eax
push 9
mov eax, dword [edi]
push eax
call sub.user32.dll_SetDlgItemTextA
inc ebx
dec esi
jne 0x40f94a
jmp 0x40fa62
mov eax, dword [0x415194]
mov eax, dword [eax + 1]
mov eax, dword [eax + 5]
cmp eax, 0xffffffff
je 0x40f9b7
mov edx, dword [0x415194]
test eax, eax
jne 0x40f9e2
mov eax, dword [0x415194]
mov eax, dword [eax + 1]
mov ecx, dword [eax + 1]
lea eax, [ebp - 0x28]
mov edx, 0x40fb84
call fcn.00402e70
mov eax, dword [ebp - 0x28]
call fcn.0040301c
push eax
push 9
mov eax, dword [edi]
push eax
call sub.user32.dll_SetDlgItemTextA
mov esi, dword [0x415194]
movsx esi, byte [esi]
dec esi
test esi, esi
jle 0x40fa62
mov ebx, 1
imul eax, ebx, 0xb
mov edx, dword [0x415194]
mov edx, dword [edx + 1]
mov eax, dword [edx + eax*4 + 5]
cmp eax, 0xffffffff
je 0x40fa14
mov edx, dword [0x415194]
test eax, eax
jne 0x40fa5e
push 9
mov eax, dword [edi]
push eax
call sub.user32.dll_GetDlgItem
lea edx, [ebp - 0x30]
call fcn.00406444
push dword [ebp - 0x30]
push 0x40fb9c
imul eax, ebx, 0xb
mov edx, dword [0x415194]
mov edx, dword [edx + 1]
push dword [edx + eax*4 + 1]
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00402ee4
mov eax, dword [ebp - 0x2c]
call fcn.0040301c
push eax
push 9
mov eax, dword [edi]
push eax
call sub.user32.dll_SetDlgItemTextA
inc ebx
dec esi
jne 0x40f9f5
push 0
mov eax, dword [0x415160]
movzx eax, byte [eax + 0x42]
push eax
push 0xf1
push 0xe
mov eax, dword [edi]
push eax
call sub.user32.dll_SendDlgItemMessageA
push 0
mov eax, dword [0x415160]
movzx eax, byte [eax + 0x40]
push eax
push 0xf1
push 0x11
mov eax, dword [edi]
push eax
call sub.user32.dll_SendDlgItemMessageA
mov eax, dword [0x415160]
cmp byte [eax + 0x40], 0
je 0x40fab7
push 0x13
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [edi]
push eax
call sub.user32.dll_SetWindowPos
push 0xa
push 0x40fba0
mov eax, dword [0x416674]
push eax
call sub.kernel32.dll_FindResourceA
test eax, eax
jne 0x40fae1
push 0
push 0xf
mov eax, dword [edi]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_EnableWindow
jmp 0x40fb50
push 0xffffffffffffffff
push 0xf
mov eax, dword [edi]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_EnableWindow
push 0
mov eax, dword [0x415160]
movzx eax, byte [eax + 0x3f]
push eax
push 0xf1
push 0xf
mov eax, dword [edi]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [0x415160]
cmp byte [eax + 0x3f], 0
je 0x40fb2f
push 0
push 0
push 0x40fba0
call fcn.00408040
jmp 0x40fb50
push 0
call fcn.00407eb5
push 0
push 0
push 0x40fba0
call fcn.00408040
call fcn.00407ece
push 0x64
call fcn.00407eb5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40fb72
lea eax, [ebp - 0x30]
mov edx, 0xc
call fcn.00402bf4
ret