Function at 0x4881f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x488851
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x488245
mov eax, dword [ebp - 4]
test byte [eax + 0x358], 4
je 0x488245
lea edx, [ebp - 8]
mov eax, dword [0x65a94c]
call fcn.00407d84
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x421614]
call fcn.004118cc
call fcn.00405004
mov eax, dword [0x65fce8]
call fcn.0048d650
mov eax, dword [ebp - 4]
or byte [eax + 0x358], 4
xor edx, edx
push ebp
push 0x488834
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x4887ee
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1da], 0
je 0x4886e2
xor eax, eax
push ebp
push 0x4882a8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov si, 0xffab
call fcn.0040494c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4882bf
mov eax, dword [ebp - 4]
cmp byte [eax + 0x278], 4
je 0x4882eb
mov eax, dword [ebp - 4]
cmp byte [eax + 0x278], 6
jne 0x4883ce
mov eax, dword [ebp - 4]
cmp byte [eax + 0x277], 1
jne 0x4883ce
mov eax, dword [ebp - 4]
cmp byte [eax + 0x277], 1
jne 0x488331
mov eax, dword [0x65fce8]
mov eax, dword [eax + 0x44]
call fcn.0046afec
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x48]
sar ebx, 1
jns 0x488313
adc ebx, 0
mov eax, dword [0x65fce8]
mov eax, dword [eax + 0x44]
call fcn.0046b030
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x4c]
sar esi, 1
jns 0x488363
adc esi, 0
jmp 0x488363
mov eax, dword [0x65fcec]
call fcn.00489d4c
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x48]
sar ebx, 1
jns 0x48834a
adc ebx, 0
mov eax, dword [0x65fcec]
call fcn.00489d40
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x4c]
sar esi, 1
jns 0x488363
adc esi, 0
mov eax, dword [0x65fcec]
call fcn.00489d64
cmp ebx, eax
jge 0x48837d
mov eax, dword [0x65fcec]
call fcn.00489d64
mov ebx, eax
mov eax, dword [0x65fcec]
call fcn.00489d58
cmp esi, eax
jge 0x488397
mov eax, dword [0x65fcec]
call fcn.00489d58
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x88]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x57], 0
je 0x4885ee
mov eax, dword [ebp - 4]
call fcn.00485b98
jmp 0x4885ee
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x278]
mov edx, eax
add dl, 0xfa
sub dl, 2
jae 0x4884f3
mov eax, dword [0x65fce8]
mov esi, dword [eax + 0x44]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x278], 7
jne 0x488415
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [0x47f958]
call fcn.004048dc
test al, al
je 0x488415
mov eax, dword [ebp - 4]
mov esi, dword [eax + 4]
test esi, esi
je 0x488456
cmp esi, dword [ebp - 4]
je 0x488456
mov eax, esi
call fcn.00483da8
mov ebx, eax
mov eax, dword [esi + 0x48]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x48]
sar eax, 1
jns 0x488437
adc eax, 0
add ebx, eax
mov eax, esi
call fcn.00483dc8
mov edx, dword [esi + 0x4c]
mov ecx, dword [ebp - 4]
sub edx, dword [ecx + 0x4c]
sar edx, 1
jns 0x488450
adc edx, 0
add eax, edx
mov esi, eax
jmp 0x488488
mov eax, dword [0x65fcec]
call fcn.00489d4c
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x48]
sar ebx, 1
jns 0x48846f
adc ebx, 0
mov eax, dword [0x65fcec]
call fcn.00489d40
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x4c]
sar esi, 1
jns 0x488488
adc esi, 0
mov eax, dword [0x65fcec]
call fcn.00489d64
cmp ebx, eax
jge 0x4884a2
mov eax, dword [0x65fcec]
call fcn.00489d64
mov ebx, eax
mov eax, dword [0x65fcec]
call fcn.00489d58
cmp esi, eax
jge 0x4884bc
mov eax, dword [0x65fcec]
call fcn.00489d58
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x88]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x57], 0
je 0x4885ee
mov eax, dword [ebp - 4]
call fcn.00485b98
jmp 0x4885ee
cmp al, 5
jne 0x4885ee
mov eax, dword [ebp - 4]
cmp byte [eax + 0x277], 1
jne 0x488541
mov eax, dword [0x65fce8]
mov eax, dword [eax + 0x44]
call fcn.0046afec
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x48]
sar ebx, 1
jns 0x488523
adc ebx, 0
mov eax, dword [0x65fce8]
mov eax, dword [eax + 0x44]
call fcn.0046b030
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x4c]
sar esi, 1
jns 0x48859d
adc esi, 0
jmp 0x48859d
mov eax, dword [0x65fcec]
call fcn.00489d7c
mov ebx, eax
sar ebx, 1
jns 0x488554
adc ebx, 0
mov eax, dword [0x65fcec]
call fcn.00489d64
add ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
sar eax, 1
jns 0x48856d
adc eax, 0
sub ebx, eax
mov eax, dword [0x65fcec]
call fcn.00489d70
mov esi, eax
sar esi, 1
jns 0x488582
adc esi, 0
mov eax, dword [0x65fcec]
call fcn.00489d58
add esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
sar eax, 1
jns 0x48859b
adc eax, 0
sub esi, eax
mov eax, dword [0x65fcec]
call fcn.00489d64
cmp ebx, eax
jge 0x4885b7
mov eax, dword [0x65fcec]
call fcn.00489d64
mov ebx, eax
mov eax, dword [0x65fcec]
call fcn.00489d58
cmp esi, eax
jge 0x4885d1
mov eax, dword [0x65fcec]
call fcn.00489d58
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x88]
mov eax, dword [ebp - 4]
mov byte [eax + 0x278], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x277], 1
jne 0x4886bd
mov eax, dword [ebp - 4]
cmp byte [eax + 0x273], 2
jne 0x48864a
push 0
mov eax, dword [ebp - 4]
call fcn.004738dc
push eax
push 0x223
mov eax, dword [0x65fce8]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 0x29c]
push eax
call sub.user32.dll_SendMessageA
push 3
mov eax, dword [ebp - 4]
call fcn.004738dc
push eax
call sub.user32.dll_ShowWindow
jmp 0x48869b
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x273]
mov eax, dword [eax*4 + 0x643e50]
push eax
mov eax, dword [ebp - 4]
call fcn.004738dc
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
shl edx, 0x10
or eax, edx
push eax
push 0
push 5
mov eax, dword [ebp - 4]
call fcn.004738dc
push eax
push 0x408ac0
call sub.user32.dll_CallWindowProcA
mov eax, dword [ebp - 4]
call fcn.0046b908
push 0
push 0
push 0x234
mov eax, dword [0x65fce8]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 0x29c]
push eax
call sub.user32.dll_SendMessageA
jmp 0x48881c
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x273]
mov eax, dword [eax*4 + 0x643e50]
push eax
mov eax, dword [ebp - 4]
call fcn.004738dc
push eax
call sub.user32.dll_ShowWindow
jmp 0x48881c
xor eax, eax
push ebp
push 0x488706
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov si, 0xffac
call fcn.0040494c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48871d
mov eax, dword [0x65fcec]
mov eax, dword [eax + 0x6c]
cmp eax, dword [ebp - 4]
jne 0x488734
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00486f28
mov eax, dword [ebp - 4]
cmp byte [eax + 0x277], 1
jne 0x488750
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xb0]
jmp 0x48881c
mov eax, dword [ebp - 4]
test byte [eax + 0x358], 8
je 0x48877e
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004738dc
push eax
call sub.user32.dll_SetWindowPos
jmp 0x48881c
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.004738dc
mov esi, eax
call sub.user32.dll_GetActiveWindow
cmp esi, eax
jne 0x4887b3
mov eax, dword [ebp - 4]
call fcn.004738dc
call fcn.004812c4
test eax, eax
jne 0x4887b3
mov eax, dword [ebp - 4]
call fcn.004738dc
call fcn.004815ec
mov ebx, eax
test ebx, ebx
je 0x4887dc
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004738dc
push eax
call sub.user32.dll_SetWindowPos
push ebx
call sub.user32.dll_SetActiveWindow
jmp 0x48881c
push 0
mov eax, dword [ebp - 4]
call fcn.004738dc
push eax
call sub.user32.dll_ShowWindow
jmp 0x48881c
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
je 0x48881c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x30], 0
je 0x48881c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1da], 0
je 0x48881c
push 1
mov eax, dword [ebp - 4]
call fcn.004738dc
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48883b
mov eax, dword [ebp - 4]
and byte [eax + 0x358], 0xfb
ret