Function at 0x47124c
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 0x4717b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x4712a1
mov eax, dword [ebp - 4]
test byte [eax + 0x2f4], 4
je 0x4712a1
lea edx, [ebp - 8]
mov eax, dword [0x5365b4]
call fcn.00406f5c
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x41c9f8]
call fcn.0040f13c
call fcn.004044d4
mov eax, dword [0x539f98]
call fcn.00475bb8
mov eax, dword [ebp - 4]
or byte [eax + 0x2f4], 4
xor edx, edx
push ebp
push 0x471799
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x471781
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1a6], 0
je 0x47167c
xor eax, eax
push ebp
push 0x471304
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov si, 0xffae
call fcn.00403ee8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47131b
mov eax, dword [ebp - 4]
cmp byte [eax + 0x230], 4
je 0x471347
mov eax, dword [ebp - 4]
cmp byte [eax + 0x230], 6
jne 0x4713fe
mov eax, dword [ebp - 4]
cmp byte [eax + 0x22f], 1
jne 0x4713fe
mov eax, dword [ebp - 4]
cmp byte [eax + 0x22f], 1
jne 0x47138b
mov eax, dword [0x539f98]
mov eax, dword [eax + 0x44]
call fcn.004576b8
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x48]
sar ebx, 1
jns 0x47136f
adc ebx, 0
mov eax, dword [0x539f98]
mov eax, dword [eax + 0x44]
call fcn.004576fc
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
sar eax, 1
jns 0x4713bb
adc eax, 0
jmp 0x4713bb
mov eax, dword [0x539f9c]
call fcn.00472ae0
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x48]
sar ebx, 1
jns 0x4713a4
adc ebx, 0
mov eax, dword [0x539f9c]
call fcn.00472ad4
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
sar eax, 1
jns 0x4713bb
adc eax, 0
test ebx, ebx
jge 0x4713c1
xor ebx, ebx
test eax, eax
jge 0x4713c7
xor eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
push edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
push edx
mov ecx, eax
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x84]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x57], 0
je 0x471588
mov eax, dword [ebp - 4]
call fcn.0046f6a0
jmp 0x471588
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x230]
mov edx, eax
add dl, 0xfa
sub dl, 2
jae 0x4714e3
mov eax, dword [0x539f98]
mov esi, dword [eax + 0x44]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x230], 7
jne 0x471444
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [0x46a954]
call fcn.00403e78
test al, al
je 0x471444
mov eax, dword [ebp - 4]
mov esi, dword [eax + 4]
test esi, esi
je 0x471470
mov ebx, dword [esi + 0x48]
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x48]
sar ebx, 1
jns 0x471458
adc ebx, 0
add ebx, dword [esi + 0x40]
mov eax, dword [esi + 0x4c]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
sar eax, 1
jns 0x47146b
adc eax, 0
add eax, dword [esi + 0x44]
jmp 0x4714a0
mov eax, dword [0x539f9c]
call fcn.00472ae0
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x48]
sar ebx, 1
jns 0x471489
adc ebx, 0
mov eax, dword [0x539f9c]
call fcn.00472ad4
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
sar eax, 1
jns 0x4714a0
adc eax, 0
test ebx, ebx
jge 0x4714a6
xor ebx, ebx
test eax, eax
jge 0x4714ac
xor eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
push edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
push edx
mov ecx, eax
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x84]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x57], 0
je 0x471588
mov eax, dword [ebp - 4]
call fcn.0046f6a0
jmp 0x471588
cmp al, 5
jne 0x471588
mov eax, dword [ebp - 4]
cmp byte [eax + 0x22f], 1
jne 0x47152f
mov eax, dword [0x539f98]
mov eax, dword [eax + 0x44]
call fcn.004576b8
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x48]
sar ebx, 1
jns 0x471513
adc ebx, 0
mov eax, dword [0x539f98]
mov eax, dword [eax + 0x44]
call fcn.004576fc
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
sar eax, 1
jns 0x47155f
adc eax, 0
jmp 0x47155f
mov eax, dword [0x539f9c]
call fcn.00472b10
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x48]
sar ebx, 1
jns 0x471548
adc ebx, 0
mov eax, dword [0x539f9c]
call fcn.00472b04
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
sar eax, 1
jns 0x47155f
adc eax, 0
test ebx, ebx
jge 0x471565
xor ebx, ebx
test eax, eax
jge 0x47156b
xor eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
push edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
push edx
mov ecx, eax
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x84]
mov eax, dword [ebp - 4]
mov byte [eax + 0x230], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x22f], 1
jne 0x471657
mov eax, dword [ebp - 4]
cmp byte [eax + 0x22b], 2
jne 0x4715e4
push 0
mov eax, dword [ebp - 4]
call fcn.0045e6ac
push eax
push 0x223
mov eax, dword [0x539f98]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 0x254]
push eax
call sub.user32.dll_SendMessageA
push 3
mov eax, dword [ebp - 4]
call fcn.0045e6ac
push eax
call sub.user32.dll_ShowWindow
jmp 0x471635
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x22b]
mov eax, dword [eax*4 + 0x52fc88]
push eax
mov eax, dword [ebp - 4]
call fcn.0045e6ac
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.0045e6ac
push eax
push 0x407ba0
call sub.user32.dll_CallWindowProcA
mov eax, dword [ebp - 4]
call fcn.00457f14
push 0
push 0
push 0x234
mov eax, dword [0x539f98]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 0x254]
push eax
call sub.user32.dll_SendMessageA
jmp 0x471781
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x22b]
mov eax, dword [eax*4 + 0x52fc88]
push eax
mov eax, dword [ebp - 4]
call fcn.0045e6ac
push eax
call sub.user32.dll_ShowWindow
jmp 0x471781
xor eax, eax
push ebp
push 0x4716a0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov si, 0xffaf
call fcn.00403ee8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4716b7
mov eax, dword [0x539f9c]
mov eax, dword [eax + 0x6c]
cmp eax, dword [ebp - 4]
jne 0x4716ce
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004703f8
mov eax, dword [ebp - 4]
cmp byte [eax + 0x22f], 1
jne 0x4716e7
mov eax, dword [ebp - 4]
call fcn.0045bb48
jmp 0x471781
mov eax, dword [ebp - 4]
test byte [eax + 0x2f4], 8
je 0x471712
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0045e6ac
push eax
call sub.user32.dll_SetWindowPos
jmp 0x471781
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.0045e6ac
mov esi, eax
call sub.user32.dll_GetActiveWindow
cmp esi, eax
jne 0x471748
mov eax, dword [ebp - 4]
call fcn.0045e6ac
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x471748
mov eax, dword [ebp - 4]
call fcn.0045e6ac
call fcn.0046c03c
mov ebx, eax
test ebx, ebx
je 0x471771
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0045e6ac
push eax
call sub.user32.dll_SetWindowPos
push ebx
call sub.user32.dll_SetActiveWindow
jmp 0x471781
push 0
mov eax, dword [ebp - 4]
call fcn.0045e6ac
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4717a0
mov eax, dword [ebp - 4]
and byte [eax + 0x2f4], 0xfb
ret