Function at 0x40d980
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 0x40d99d
jmp 0x40dcad
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 8]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xfffffe3d
je 0x40d9b4
jmp 0x40dcad
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 0x40dcad
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [eax*4 + 0x44ee20]
cmp ecx, dword [ebp - 8]
je 0x40dcad
mov dword [ebp - 4], 0
jmp 0x40da41
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0xa
jae 0x40da5a
mov eax, dword [ebp - 4]
mov ecx, dword [eax*4 + 0x44ee20]
cmp ecx, dword [ebp - 8]
jne 0x40da58
jmp 0x40da5a
jmp 0x40da38
cmp dword [ebp - 4], 7
jne 0x40db08
cmp dword [0x437cb4], 0xc
jge 0x40db03
push 0
call fcn.0040d8f0
test eax, eax
je 0x40da94
push 0x30
push 0x431410
push 0x431438
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x40daaa
push 0x30
push 0x43146c
push 0x431498
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 + 0x44edf8]
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 + 0x44edf8]
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 0x40dcad
jmp 0x40dc5c
cmp dword [ebp - 4], 6
jne 0x40dbb6
cmp dword [0x437cb4], 0xb
jge 0x40dbb1
push 0
call fcn.0040d8f0
test eax, eax
je 0x40db42
push 0x30
push 0x4314dc
push 0x431504
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x40db58
push 0x30
push 0x431538
push 0x431560
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 + 0x44edf8]
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 + 0x44edf8]
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 0x40dcad
jmp 0x40dc5c
cmp dword [ebp - 4], 5
jne 0x40dc5c
cmp dword [0x437cb4], 0xa
jge 0x40dc5c
push 0
call fcn.0040d8f0
test eax, eax
je 0x40dbf0
push 0x30
push 0x4315a4
push 0x4315cc
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x40dc06
push 0x30
push 0x431600
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 + 0x44edf8]
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 + 0x44edf8]
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 0x40dcad
push 5
mov edx, dword [ebp - 4]
mov eax, dword [edx*4 + 0x44ee20]
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 + 0x44ee20]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*4 + 0x44ee48]
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