Function at 0x5a2394
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp dword [ebx + 0x10], 0
jne 0x5a276d
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4da378]
call fcn.004e08a8
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0x10]
mov dword [eax + 0xc], 0xffffff9e
mov eax, dword [ebx + 0x10]
mov edx, dword [eax + 0x38]
mov dword [ebx + 0x18], edx
mov edx, dword [eax + 0x3c]
mov dword [ebx + 0x1c], edx
mov eax, dword [ebx + 0x10]
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x38], 0x5a2374
mov eax, dword [ebx + 0x10]
mov edx, dword [0x5a2778]
not edx
and edx, dword [eax + 0x50]
mov eax, dword [ebx + 0x10]
mov dword [eax + 0x50], edx
xor edx, edx
mov eax, dword [ebx + 0x10]
call fcn.004e2820
xor edx, edx
mov eax, dword [ebx + 0x10]
call fcn.004e18f4
mov eax, esi
xor edx, edx
call fcn.00637db8
push eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.006498f4
pop edx
add edx, eax
push edx
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.00649964
pop edx
add edx, eax
mov eax, dword [ebx + 0xc]
add eax, eax
sub edx, eax
mov dword [ebp - 8], edx
mov eax, esi
xor edx, edx
call fcn.00637dcc
push eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.006499bc
pop edx
add edx, eax
push edx
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.0064989c
pop edx
add edx, eax
mov eax, dword [ebx + 0xc]
add eax, eax
sub edx, eax
mov dword [ebp - 4], edx
mov byte [0x66f8aa], 0xff
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.005a226c
mov eax, edi
xor edx, edx
call fcn.00637db8
mov dword [ebp - 0x14], eax
mov eax, edi
xor edx, edx
call fcn.00637dcc
mov dword [ebp - 0x18], eax
mov eax, esi
xor edx, edx
call fcn.00637db8
cmp eax, dword [ebp - 0x14]
jne 0x5a24ba
mov eax, esi
xor edx, edx
call fcn.00637dcc
cmp eax, dword [ebp - 0x18]
je 0x5a2607
cmp dword [edi], 0
je 0x5a24d4
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.006498f4
add eax, dword [edi]
sub eax, dword [ebx + 0xc]
mov dword [ebp - 0x1c], eax
jmp 0x5a24d9
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [edi + 4], 0
je 0x5a24f5
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.006498f4
add eax, dword [edi + 4]
sub eax, dword [ebx + 0xc]
mov dword [ebp - 0x24], eax
jmp 0x5a24fa
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, esi
xor edx, edx
call fcn.00637db8
cmp eax, dword [edi + 8]
je 0x5a253f
cmp dword [ebp - 0x1c], 0
jne 0x5a2531
mov eax, esi
xor edx, edx
call fcn.00637db8
sub eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.00649964
pop edx
add edx, eax
sub edx, dword [ebx + 0xc]
mov dword [ebp - 0x20], edx
jmp 0x5a2544
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
jmp 0x5a2544
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, esi
xor edx, edx
call fcn.00637dcc
cmp eax, dword [edi + 0xc]
je 0x5a2585
cmp dword [ebp - 0x24], 0
jne 0x5a257a
mov eax, esi
xor edx, edx
call fcn.00637dcc
mov edi, eax
sub edi, dword [ebp - 0x18]
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.0064989c
add edi, eax
mov eax, edi
sub eax, dword [ebx + 0xc]
jmp 0x5a2587
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x18]
jmp 0x5a2587
xor eax, eax
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x20]
mov dword [ebp - 8], edx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x24]
sub edx, eax
mov dword [ebp - 4], edx
cmp dword [ebp - 0x1c], 0
jne 0x5a25aa
cmp dword [ebp - 0x24], 0
je 0x5a2611
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.005fa514
mov dword [ebp - 0x28], eax
push 0xcc0020
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebx + 0x14]
call fcn.00466d2c
call fcn.00461430
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
mov eax, dword [ebp - 0x28]
call fcn.00466d2c
call fcn.00461430
push eax
call sub.gdi32.dll_BitBlt
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0x28]
call fcn.00424b14
jmp 0x5a2611
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x10]
call fcn.0047c2a4
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x10]
call fcn.0047c2d8
push 0xffffffffffffffec
mov eax, dword [ebp + 8]
push eax
call sub.user32.dll_GetWindowLongW
and eax, 8
cmp eax, 8
jne 0x5a263f
or edi, 0xffffffff
jmp 0x5a264c
push 3
mov eax, dword [ebp + 8]
push eax
call sub.user32.dll_GetWindow
mov edi, eax
push 0
lea eax, [ebp - 0x38]
push eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.006499bc
mov edx, dword [esi + 4]
sub edx, eax
add edx, dword [ebx + 0xc]
add edx, dword [ebp - 0x24]
push edx
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.006498f4
push eax
mov eax, dword [esi]
pop edx
sub eax, edx
add eax, dword [ebx + 0xc]
add eax, dword [ebp - 0x1c]
xor ecx, ecx
pop edx
call fcn.0040af00
test edi, edi
jne 0x5a268f
mov edi, dword [ebp + 8]
mov eax, dword [ebx + 0x10]
call fcn.00485be4
mov eax, dword [ebx + 0x10]
call fcn.00485fb4
test al, al
je 0x5a2765
mov esi, 0x80800a0
push 0xffffffffffffffec
mov eax, dword [ebx + 0x10]
call fcn.00485c08
push eax
call sub.user32.dll_GetWindowLongW
or esi, eax
push esi
push 0xffffffffffffffec
mov eax, dword [ebx + 0x10]
call fcn.00485c08
push eax
call sub.user32.dll_SetWindowLongW
push 0x611
push 0
push 0
mov eax, dword [ebp - 0x34]
push eax
mov esi, dword [ebp - 0x38]
push esi
push edi
mov eax, dword [ebx + 0x10]
call fcn.00485c08
push eax
call sub.user32.dll_SetWindowPos
mov edx, esi
mov eax, dword [ebx + 0x10]
call fcn.004e72c4
mov edx, dword [ebp - 0x34]
mov eax, dword [ebx + 0x10]
call fcn.004e7300
lea ecx, [ebp - 0x10]
xor edx, edx
xor eax, eax
call fcn.0040af30
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 2
push 0x66f8a8
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0x14]
call fcn.00466d2c
call fcn.00461430
push eax
lea eax, [ebp - 8]
push eax
push 0
push esi
mov eax, dword [ebx + 0x10]
call fcn.00485c08
push eax
mov eax, dword [0x6689a8]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x10]
call fcn.00485c08
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
lea eax, [ebx + 0x14]
call fcn.00424b14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8