Function at 0x45b277
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x72af34]
xor eax, esp
mov dword [esp + 0x20], eax
cmp dword [ebp + 0x1c], 0
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x18]
mov ebx, ecx
push edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
jne 0x45b551
mov edi, dword [ebp + 0xc]
xor ecx, ecx
inc ecx
cmp edi, ecx
jne 0x45b2c9
mov dword [ebx + 0x24], ecx
push ecx
mov ecx, ebx
call fcn.0045b74a
jmp 0x45b487
cmp edi, 6
jne 0x45b301
mov dword [ebx + 0x24], ecx
mov ecx, dword [ebx + 0xc0]
call fcn.0045202f
mov eax, dword [esp + 0x10]
mov ecx, eax
push dword [esp + 0x14]
and ecx, 0xffff0000
movzx eax, ax
or ecx, eax
push ecx
push edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x45b416
cmp edi, 0x10
jne 0x45b33c
push ecx
push dword [ebx + 0xc4]
mov dword [ebx + 0x24], ecx
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [ebx + 0xc4]
call dword [sym.imp.USER32.dll_SetFocus]
push 0
mov dword [ebx + 0x94], 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45b416
cmp edi, 2
jne 0x45b350
mov dword [ebx + 0x24], ecx
mov ecx, ebx
call fcn.0045bef3
jmp 0x45b416
cmp edi, 0x14
jne 0x45b392
mov dword [ebx + 0x24], ecx
test edx, edx
je 0x45b416
xor eax, eax
lea edi, [esp + 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebx + 0x28]
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_FillRect]
mov edi, dword [ebp + 0xc]
jmp 0x45b416
cmp edi, 0x18
jne 0x45b3b4
mov dword [ebx + 0x24], ecx
test edx, edx
je 0x45b3ac
mov eax, dword [ebx + 0x40]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x45b416
mov dword [ebx + 0x94], ecx
jmp 0x45b416
cmp edi, 0x101
jne 0x45b3da
mov dword [ebx + 0x24], ecx
cmp edx, 9
je 0x45b3fa
cmp edx, 0x1b
jne 0x45b416
push 0
push 0
push 0x10
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x45b416
cmp edi, 7
jne 0x45b403
mov dword [ebx + 0x24], ecx
mov ecx, dword [ebx + 0x40]
test ecx, ecx
je 0x45b416
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x45b416
cmp edx, dword [ecx + 4]
je 0x45b3fa
cmp edx, dword [eax + 4]
jne 0x45b416
mov ecx, ebx
call fcn.0045bfca
jmp 0x45b416
cmp edi, 0xf
jne 0x45b41b
mov dword [ebx + 0x24], ecx
mov ecx, dword [ebx + 0xc0]
call fcn.00451f96
and dword [esi], 0
jmp 0x45b489
cmp edi, 0x86
jne 0x45b456
mov eax, dword [ebx + 0xc0]
test edx, edx
mov dword [ebx + 0x24], ecx
setne cl
mov dword [esp + 0x18], edx
mov byte [eax + 0x41], cl
mov ecx, dword [ebx + 0xc0]
call fcn.0045202f
push 0
lea eax, [esp + 0x1c]
push eax
push edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x45b487
cmp edi, 0x84
jne 0x45b473
mov dword [ebx + 0x24], ecx
movsx ecx, ax
shr eax, 0x10
cwde
push eax
push ecx
mov ecx, ebx
call fcn.004550a1
jmp 0x45b487
cmp edi, 0x83
jne 0x45b4c5
push eax
mov dword [ebx + 0x24], ecx
mov ecx, ebx
push edx
call fcn.0045510f
mov dword [esi], eax
cmp dword [ebx + 0x24], 0
jne 0x45b586
mov eax, dword [esp + 0x14]
movzx ecx, ax
shr eax, 0x10
movsx edx, cx
movzx eax, ax
cmp edi, 0xa0
jne 0x45b503
cwde
mov ecx, ebx
push eax
push edx
push dword [esp + 0x18]
mov dword [ebx + 0x24], 1
call fcn.004551c8
jmp 0x45b548
cmp edi, 0x200
jne 0x45b493
movzx esi, ax
shr eax, 0x10
mov dword [esp + 0x14], eax
mov dword [ebx + 0x24], ecx
cwde
push eax
movsx ecx, si
push ecx
push edx
mov ecx, ebx
call fcn.00455175
mov eax, dword [esp + 0x18]
mov ecx, esi
and dword [eax], 0
cmp dword [ebx + 0x24], 0
jne 0x45b586
mov esi, eax
mov eax, dword [esp + 0x14]
jmp 0x45b49d
cmp edi, 0xa1
jne 0x45b567
mov ecx, dword [ebx + 0xc0]
mov dword [ebx + 0x24], 1
cwde
cmp dword [ecx + 0x3c], 0
je 0x45b52a
mov byte [ecx + 0x40], 1
call fcn.0045202f
jmp 0x45b548
movzx ecx, ax
shl ecx, 0x10
movzx eax, dx
or ecx, eax
push ecx
push dword [esp + 0x14]
push 0xa1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
and dword [esi], 0
cmp dword [ebx + 0x24], 0
jne 0x45b586
xor eax, eax
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005efadc
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0xa2
jne 0x45b58b
cwde
mov ecx, ebx
push eax
push edx
push dword [esp + 0x18]
mov dword [ebx + 0x24], 1
call fcn.0045bf58
jmp 0x45b548
xor eax, eax
inc eax
jmp 0x45b553
cmp edi, 0x2a2
jne 0x45b551
mov ecx, dword [ebx + 0xc0]
mov dword [ebx + 0x24], 1
mov byte [ecx + 0x40], 0
call fcn.0045202f
mov eax, dword [ebx + 0xc0]
and dword [eax + 0x3c], 0
mov ecx, dword [ebx + 0xc0]
call fcn.0045202f
and dword [esi], 0
xor eax, eax
cmp dword [ebx + 0x24], eax
setne al
jmp 0x45b553