Function at 0x50305c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
jne 0x5034c7
xor ecx, ecx
mov dl, 1
mov eax, dword [0x47c254]
call fcn.0047ed34
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x18], ecx
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 4]
mov dword [eax + 0x3c], edx
mov dword [eax + 0x38], 0x503024
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, dword [0x5034d0]
not edx
and edx, dword [eax + 0x50]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [eax + 0x50], edx
xor edx, edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00480508
xor edx, edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.0047fb88
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0055783c
mov ebx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00565044
add ebx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.005650f0
add ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
add eax, eax
sub ebx, eax
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00557870
mov ebx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00565174
add ebx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00564fc0
add ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
add eax, eax
sub ebx, eax
mov dword [ebp - 0x14], ebx
mov byte [0x5a8262], 0xff
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.0055783c
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.00557870
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0055783c
cmp eax, dword [ebp - 0x24]
jne 0x5031b8
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00557870
cmp eax, dword [ebp - 0x28]
je 0x50334d
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x5031e1
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00565044
mov edx, dword [ebp - 0xc]
add eax, dword [edx]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0xc]
mov dword [ebp - 0x2c], eax
jmp 0x5031e6
xor eax, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0
je 0x503211
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00565044
mov edx, dword [ebp - 0xc]
add eax, dword [edx + 4]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0xc]
mov dword [ebp - 0x34], eax
jmp 0x503216
xor eax, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0055783c
mov edx, dword [ebp - 0xc]
cmp eax, dword [edx + 8]
je 0x503269
cmp dword [ebp - 0x2c], 0
jne 0x50325b
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0055783c
mov ebx, eax
sub ebx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.005650f0
add ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0xc]
mov dword [ebp - 0x30], ebx
jmp 0x50326e
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
jmp 0x50326e
xor eax, eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00557870
mov edx, dword [ebp - 0xc]
cmp eax, dword [edx + 0xc]
je 0x5032c1
cmp dword [ebp - 0x34], 0
jne 0x5032b3
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00557870
mov ebx, eax
sub ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00564fc0
add ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0xc]
mov dword [ebp - 0x38], ebx
jmp 0x5032c6
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
jmp 0x5032c6
xor eax, eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x2c], 0
jne 0x5032ea
cmp dword [ebp - 0x34], 0
je 0x503357
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
call fcn.005493ac
mov dword [ebp - 0x3c], eax
push 0xcc0020
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.0042d930
call fcn.00429320
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0
mov eax, dword [ebp - 0x3c]
call fcn.0042d930
call fcn.00429320
push eax
call sub.gdi32.dll_BitBlt
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x3c]
call fcn.00403f34
jmp 0x503357
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.0046558c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004655b0
push 0xffffffffffffffec
mov eax, dword [ebp + 8]
push eax
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x50339c
mov dl, 3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00480804
mov dword [ebp - 0x40], 0xffffffff
jmp 0x5033aa
push 3
mov eax, dword [ebp + 8]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x5033b6
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
push 0x14
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00565174
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
sub edx, eax
mov eax, dword [ebp - 4]
add edx, dword [eax + 0xc]
add edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00565044
mov edx, dword [ebp - 8]
mov edx, dword [edx]
sub edx, eax
mov eax, dword [ebp - 4]
add edx, dword [eax + 0xc]
add edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.0046c6cc
push eax
call sub.user32.dll_SetWindowPos
lea ecx, [ebp - 0x20]
xor edx, edx
xor eax, eax
call fcn.0041a5f0
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x10], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.0046c6cc
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.0046c6cc
push eax
call sub.user32.dll_SetWindowLongA
push 2
push 0x5a8260
push 0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.0042d930
call fcn.00429320
push eax
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.0046c6cc
push eax
mov eax, dword [0x5a699c]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.0046c6cc
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 0x10]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.00403f34
pop ebx
mov esp, ebp
pop ebp
ret 8