Function at 0x40f310
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x34], 0x44d
je 0x40f32d
jmp 0x40f63d
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 8]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xfffffe3d
je 0x40f344
jmp 0x40f63d
push 0
push 9
push 0x110a
push 0x44d
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0x14
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x113e
push 0x44d
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x40f63d
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [eax*4 + 0x456100]
cmp ecx, dword [ebp - 8]
je 0x40f63d
mov dword [ebp - 4], 0
jmp 0x40f3d1
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0xa
jae 0x40f3ea
mov eax, dword [ebp - 4]
mov ecx, dword [eax*4 + 0x456100]
cmp ecx, dword [ebp - 8]
jne 0x40f3e8
jmp 0x40f3ea
jmp 0x40f3c8
cmp dword [ebp - 4], 7
jne 0x40f498
cmp dword [0x43ef48], 0xc
jge 0x40f493
push 0
call fcn.0040f280
test eax, eax
je 0x40f424
push 0x30
push 0x437ad8
push 0x437b00
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x40f43a
push 0x30
push 0x437b34
push 0x437b60
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx*4 + 0x4560d8]
push eax
push 2
push 0x1102
push 0x44d
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [eax*4 + 0x4560d8]
push ecx
push 9
push 0x110b
push 0x44d
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40f63d
jmp 0x40f5ec
cmp dword [ebp - 4], 6
jne 0x40f546
cmp dword [0x43ef48], 0xb
jge 0x40f541
push 0
call fcn.0040f280
test eax, eax
je 0x40f4d2
push 0x30
push 0x437ba4
push 0x437bcc
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x40f4e8
push 0x30
push 0x437c00
push 0x437c28
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [eax*4 + 0x4560d8]
push ecx
push 2
push 0x1102
push 0x44d
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx*4 + 0x4560d8]
push edx
push 9
push 0x110b
push 0x44d
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40f63d
jmp 0x40f5ec
cmp dword [ebp - 4], 5
jne 0x40f5ec
cmp dword [0x43ef48], 0xa
jge 0x40f5ec
push 0
call fcn.0040f280
test eax, eax
je 0x40f580
push 0x30
push 0x437c6c
push 0x437c94
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x40f596
push 0x30
push 0x437cc8
push str.Not_available_in_current_edition.
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx*4 + 0x4560d8]
push edx
push 2
push 0x1102
push 0x44d
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx*4 + 0x4560d8]
push eax
push 9
push 0x110b
push 0x44d
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40f63d
push 5
mov edx, dword [ebp - 4]
mov eax, dword [edx*4 + 0x456100]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx*4 + 0x456100]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*4 + 0x456128]
push edx
push 0x45a
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 4]
mov dword [ecx], edx
mov esp, ebp
pop ebp
ret 0x10