Function at 0x40f240
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 0x40f25d
jmp 0x40f56d
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 8]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xfffffe3d
je 0x40f274
jmp 0x40f56d
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 0x40f56d
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [eax*4 + 0x453100]
cmp ecx, dword [ebp - 8]
je 0x40f56d
mov dword [ebp - 4], 0
jmp 0x40f301
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0xa
jae 0x40f31a
mov eax, dword [ebp - 4]
mov ecx, dword [eax*4 + 0x453100]
cmp ecx, dword [ebp - 8]
jne 0x40f318
jmp 0x40f31a
jmp 0x40f2f8
cmp dword [ebp - 4], 7
jne 0x40f3c8
cmp dword [0x43bf48], 0xc
jge 0x40f3c3
push 0
call fcn.0040f1b0
test eax, eax
je 0x40f354
push 0x30
push 0x435ad0
push 0x435af8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x40f36a
push 0x30
push 0x435b2c
push 0x435b58
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 + 0x4530d8]
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 + 0x4530d8]
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 0x40f56d
jmp 0x40f51c
cmp dword [ebp - 4], 6
jne 0x40f476
cmp dword [0x43bf48], 0xb
jge 0x40f471
push 0
call fcn.0040f1b0
test eax, eax
je 0x40f402
push 0x30
push 0x435b9c
push 0x435bc4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x40f418
push 0x30
push 0x435bf8
push 0x435c20
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 + 0x4530d8]
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 + 0x4530d8]
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 0x40f56d
jmp 0x40f51c
cmp dword [ebp - 4], 5
jne 0x40f51c
cmp dword [0x43bf48], 0xa
jge 0x40f51c
push 0
call fcn.0040f1b0
test eax, eax
je 0x40f4b0
push 0x30
push 0x435c64
push 0x435c8c
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x40f4c6
push 0x30
push 0x435cc0
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 + 0x4530d8]
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 + 0x4530d8]
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 0x40f56d
push 5
mov edx, dword [ebp - 4]
mov eax, dword [edx*4 + 0x453100]
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 + 0x453100]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*4 + 0x453128]
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