Function at 0x4df530
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
and eax, 0xfff0
cmp eax, 0xf020
jl 0x4df948
sub eax, 0xf020
je 0x4df699
sub eax, 0xe0
je 0x4df572
sub eax, 0x20
je 0x4df843
jmp 0x4df948
mov eax, dword [ebp - 4]
mov eax, dword [eax - 0x4c]
test eax, eax
jne 0x4df581
jmp 0x4df694
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
cmp eax, 0x20
jne 0x4df591
jmp 0x4df694
mov eax, dword [ebp - 4]
mov eax, dword [eax - 0x4c]
call fcn.00412b10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4df5ab
jmp 0x4df694
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3bc]
test eax, eax
je 0x4df5cb
jmp 0x4df5ba
mov eax, dword [ebp - 8]
test dword [eax + 0x28], 0x10
jne 0x4df5cb
jmp 0x4df694
mov eax, dword [0x55bfb0]
test eax, eax
jne 0x4df5d9
jmp 0x4df694
mov eax, dword [0x55bfb0]
mov eax, dword [eax + 0x148]
test eax, eax
jne 0x4df5ed
jmp 0x4df694
mov eax, dword [0x55bfb0]
mov eax, dword [eax + 0x148]
cmp eax, dword [ebp - 8]
jne 0x4df602
jmp 0x4df694
mov eax, dword [0x55bfb0]
mov eax, dword [eax + 0x148]
call fcn.00502b70
test al, al
jne 0x4df61b
jmp 0x4df694
mov eax, dword [0x55bfb0]
call fcn.0041ead0
mov edx, dword [ebp - 4]
mov dword [edx - 0x6c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax - 0x6c]
call fcn.004a88e0
test al, al
jne 0x4df63c
jmp 0x4df694
mov eax, dword [ebp - 4]
mov eax, dword [eax - 0x6c]
call fcn.004a8910
test al, al
jne 0x4df64d
jmp 0x4df694
call sub.user32.dll_GetFocus
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
push dword [eax - 0x6c]
call sub.user32.dll_SetFocus
mov eax, dword [ebp - 4]
push dword [eax + 0x14]
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
push 0x112
mov eax, dword [ebp - 4]
push dword [eax - 0x6c]
call sub.user32.dll_SendMessageA
mov edx, dword [ebp - 4]
mov edx, dword [edx - 0x20]
mov dword [edx + 0xc], eax
push dword [ebp - 0xc]
call sub.user32.dll_SetFocus
mov eax, dword [ebp - 4]
mov byte [eax - 0x5c], 0
jmp 0x4df948
cmp dword [0x55bfb0], 0
jne 0x4df6a7
jmp 0x4df83e
mov eax, dword [ebp - 4]
cmp dword [eax - 0x4c], 0
jne 0x4df6b2
jmp 0x4df6ee
mov eax, dword [0x55bfb0]
mov edx, dword [ebp - 4]
mov eax, dword [eax + 0x148]
cmp eax, dword [edx - 0x4c]
je 0x4df6c7
jmp 0x4df6ee
mov eax, dword [0x55bfb0]
mov al, byte [eax + 0x100]
test al, al
je 0x4df6d8
jmp 0x4df6ee
mov eax, dword [0x566190]
mov edx, dword [0x566190]
mov edx, dword [edx]
call dword [edx + 0x6c]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov ebx, dword [ebp - 4]
mov eax, dword [0x566190]
mov edx, dword [0x566190]
mov edx, dword [edx]
call dword [edx + 0x6c]
cmp eax, dword [ebx + 8]
je 0x4df70b
jmp 0x4df7e8
mov eax, dword [0x55bfb0]
mov al, byte [eax + 0x100]
test al, al
je 0x4df71f
jmp 0x4df7e8
mov eax, dword [0x566190]
mov edx, dword [0x566190]
mov edx, dword [edx]
call dword [edx + 0x6c]
call fcn.005414f0
mov eax, dword [0x55bfb0]
cmp dword [eax + 0x148], 0
jne 0x4df744
jmp 0x4df7b0
push 0x10
push 0
mov eax, dword [0x55bfb0]
mov eax, dword [eax + 0x148]
push dword [eax + 0x23c]
mov eax, dword [0x55bfb0]
mov eax, dword [eax + 0x148]
push dword [eax + 0x230]
mov eax, dword [0x55bfb0]
mov eax, dword [eax + 0x148]
push dword [eax + 0x128]
push 0
mov eax, dword [ebp - 4]
push dword [eax + 8]
call sub.user32.dll_SetWindowPos
mov eax, dword [0x55bfb0]
mov eax, dword [eax + 0x148]
call fcn.00502b70
test al, al
jne 0x4df79e
jmp 0x4df7b0
push 0
mov eax, dword [0x55bfb0]
call fcn.0041ead0
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
push dword [eax + 0x14]
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
push 0x112
mov eax, dword [ebp - 4]
push dword [eax + 8]
call sub.user32.dll_DefWindowProcA
mov edx, dword [ebp - 4]
mov edx, dword [edx - 0x20]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov byte [eax - 0x5c], 0
mov eax, dword [0x55bfb0]
call fcn.00422470
jmp 0x4df83e
mov eax, dword [ebp - 4]
cmp dword [eax - 0x4c], 0
jne 0x4df7f3
jmp 0x4df83e
mov eax, dword [0x55bfb0]
mov edx, dword [ebp - 4]
mov eax, dword [eax + 0x148]
cmp eax, dword [edx - 0x4c]
je 0x4df808
jmp 0x4df83e
mov eax, dword [ebp - 4]
push dword [eax + 0x14]
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
push 0x112
mov eax, dword [ebp - 4]
push dword [eax + 8]
call sub.user32.dll_DefWindowProcA
mov edx, dword [ebp - 4]
mov edx, dword [edx - 0x20]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov byte [eax - 0x5c], 0
mov eax, dword [0x55bfb0]
call fcn.00422470
jmp 0x4df948
cmp dword [0x55bfb0], 0
jne 0x4df851
jmp 0x4df946
mov ebx, dword [ebp - 4]
mov eax, dword [0x566190]
mov edx, dword [0x566190]
mov edx, dword [edx]
call dword [edx + 0x6c]
cmp eax, dword [ebx + 8]
je 0x4df86e
jmp 0x4df91c
mov eax, dword [0x55bfb0]
mov al, byte [eax + 0x100]
test al, al
je 0x4df882
jmp 0x4df91c
mov eax, dword [ebp - 4]
push dword [eax + 0x14]
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
push 0x112
mov eax, dword [ebp - 4]
push dword [eax + 8]
call sub.user32.dll_DefWindowProcA
mov edx, dword [ebp - 4]
mov edx, dword [edx - 0x20]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov byte [eax - 0x5c], 0
mov eax, dword [0x55bfb0]
cmp dword [eax + 0x148], 0
jne 0x4df8be
jmp 0x4df910
mov eax, dword [0x55bfb0]
mov eax, dword [eax + 0x148]
call fcn.00502b70
test al, al
jne 0x4df8d4
jmp 0x4df910
mov eax, dword [0x55bfb0]
mov eax, dword [eax + 0x148]
mov edx, dword [0x55bfb0]
mov edx, dword [edx + 0x148]
mov edx, dword [edx]
call dword [edx + 0x328]
test al, al
jne 0x4df8f9
jmp 0x4df90b
push 8
mov eax, dword [0x55bfb0]
call fcn.0041ead0
push eax
call sub.user32.dll_ShowWindow
call fcn.005415e0
mov eax, dword [0x55bfb0]
call fcn.004224b0
jmp 0x4df946
mov eax, dword [ebp - 4]
cmp dword [eax - 0x4c], 0
jne 0x4df927
jmp 0x4df946
mov eax, dword [0x55bfb0]
mov edx, dword [ebp - 4]
mov eax, dword [eax + 0x148]
cmp eax, dword [edx - 0x4c]
je 0x4df93c
jmp 0x4df946
mov eax, dword [0x55bfb0]
call fcn.004224b0
jmp 0x4df948
mov ebx, dword [ebp - 0x10]
leave
ret