Function at 0x5a8cdc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2c9], 0
je 0x5a9179
mov cl, 1
mov dl, 1
mov eax, dword [0x5a8c78]
call fcn.0042c9cc
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x270]
or dword [eax + 0xa8], 0x1000000
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.0045f528
xor ecx, ecx
mov edx, 0x4d
call fcn.00577c08
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov dword [ebp - 0x10], eax
mov dl, 5
mov eax, dword [ebp - 0x10]
call fcn.0042cbd8
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x5c], bl
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xf], 1
mov dl, 1
mov eax, dword [0x43d29c]
call fcn.0043d768
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x68], ebx
mov eax, ebx
call fcn.0043d75c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x270]
mov eax, dword [eax + 0x50]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x78], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e0]
test eax, eax
je 0x5a8f9a
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x74], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e0]
mov byte [eax + 0x25], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
call fcn.0045f528
xor ecx, ecx
xor edx, edx
call fcn.005a524c
mov dl, 1
mov eax, dword [0x4316c4]
call fcn.00437c98
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x6c], ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x270]
mov edx, dword [eax + 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 8]
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5a8f93
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005b1b38
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 4]
call fcn.005b1bd0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.00475be4
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.00475c04
mov ebx, eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3c], 0
jne 0x5a8e92
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.0045f528
xor ecx, ecx
xor edx, edx
call fcn.005a6774
add esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.0045f528
xor ecx, ecx
xor edx, edx
call fcn.005a6884
mov edi, eax
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.005a6894
add ebx, eax
add edi, ebx
mov ebx, edi
push 0xcc0020
push ebx
push esi
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.00456f94
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.00456f50
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x40]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x6c]
call fcn.00438268
call fcn.00433af0
push eax
call sub.gdi32.dll_BitBlt
push 0x1fffffff
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.00456f94
mov edx, dword [ebp - 0x10]
add eax, dword [edx + 0x44]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.00456f50
mov ecx, eax
mov eax, dword [ebp - 0x10]
add ecx, dword [eax + 0x40]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x40]
call fcn.00408088
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x6c]
mov cl, 0xff
call fcn.004baa68
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
call fcn.00475be4
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
call fcn.00475c04
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 0x10]
add eax, 0x40
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
call fcn.0045f528
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x6c]
mov ecx, 0xff
call fcn.00578a38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a8fc7
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.user32.dll_ReleaseDC
ret
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.0045f528
xor ecx, ecx
xor edx, edx
call fcn.005a4e74
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x74], ebx
mov eax, dword [ebx + 0x360]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x6c], eax
push 8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
call fcn.0045f528
push eax
call sub.user32.dll_ShowWindow
push 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
call fcn.0045f528
push eax
call sub.user32.dll_SetWindowRgn
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.0045f528
push eax
call sub.user32.dll_GetWindowLongA
test eax, 0x80000
jne 0x5a903e
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.0045f528
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.0045f528
push eax
call sub.user32.dll_SetWindowLongA
push 2
push 0
push 0x1fffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.0045f528
push eax
mov eax, dword [0x63ef80]
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x48]
imul dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x78]
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x54], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x4c]
imul dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x78]
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x58], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
call fcn.00475be4
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x54]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x74]
sub edx, dword [ecx + 0x48]
sar edx, 1
jns 0x5a90b6
adc edx, 0
sub eax, edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x4c], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
call fcn.00475c04
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x58]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x74]
sub edx, dword [ecx + 0x4c]
sar edx, 1
jns 0x5a90df
adc edx, 0
sub eax, edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x50], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x70]
test eax, eax
je 0x5a90f6
call fcn.004048a4
mov dl, 1
mov eax, dword [0x4316c4]
call fcn.00437c98
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x70], ebx
mov eax, ebx
mov dl, 7
call fcn.00439258
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x70]
mov byte [eax + 0x30], 1
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x74]
mov edx, dword [edx + 0x48]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x70]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
call fcn.00475be4
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
call fcn.00475c04
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov dword [eax + 0x64], edx
mov dword [eax + 0x60], 0x5a9180
mov eax, dword [ebp - 0x10]
call fcn.0042cea0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret