Function at 0x5a7de4
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 0x5a8281
mov cl, 1
mov dl, 1
mov eax, dword [0x5a7d80]
call fcn.0042c71c
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.0045e714
xor ecx, ecx
mov edx, 0x4d
call fcn.00576d10
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.0042c928
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 [0x43cf28]
call fcn.0043d3f4
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x68], ebx
mov eax, ebx
call fcn.0043d3e8
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 0x5a80a2
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.0045e714
xor ecx, ecx
xor edx, edx
call fcn.005a4354
mov dl, 1
mov eax, dword [0x431350]
call fcn.00437924
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 0x5a809b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005b0c40
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 4]
call fcn.005b0cd8
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.00474dd0
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.00474df0
mov ebx, eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3c], 0
jne 0x5a7f9a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.0045e714
xor ecx, ecx
xor edx, edx
call fcn.005a587c
add esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.0045e714
xor ecx, ecx
xor edx, edx
call fcn.005a598c
mov edi, eax
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.005a599c
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.00456180
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.0045613c
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.00437ef4
call fcn.0043377c
push eax
call sub.gdi32.dll_BitBlt
push 0x1fffffff
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.00456180
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.0045613c
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.004081cc
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x6c]
mov cl, 0xff
call fcn.004b9c0c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
call fcn.00474dd0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
call fcn.00474df0
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.0045e714
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x6c]
mov ecx, 0xff
call fcn.00577b40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a80cf
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.0045e714
xor ecx, ecx
xor edx, edx
call fcn.005a3f7c
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.0045e714
push eax
call sub.user32.dll_ShowWindow
push 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
call fcn.0045e714
push eax
call sub.user32.dll_SetWindowRgn
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.0045e714
push eax
call sub.user32.dll_GetWindowLongA
test eax, 0x80000
jne 0x5a8146
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.0045e714
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.0045e714
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.0045e714
push eax
mov eax, dword [0x63cf04]
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.00474dd0
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 0x5a81be
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.00474df0
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 0x5a81e7
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 0x5a81fe
call fcn.00404a08
mov dl, 1
mov eax, dword [0x431350]
call fcn.00437924
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x70], ebx
mov eax, ebx
mov dl, 7
call fcn.00438ee4
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.00474dd0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
call fcn.00474df0
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], 0x5a8288
mov eax, dword [ebp - 0x10]
call fcn.0042cbf0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret