Function at 0x4739d0
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 0x474031
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x473a25
mov eax, dword [ebp - 4]
test byte [eax + 0x358], 4
je 0x473a25
lea edx, [ebp - 8]
mov eax, dword [0x500900]
call fcn.00406f08
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4195f4]
call fcn.0040e558
call fcn.00404674
mov eax, dword [0x505cdc]
call fcn.00478d94
mov eax, dword [ebp - 4]
or byte [eax + 0x358], 4
xor edx, edx
push ebp
push 0x474014
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x473fce
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1da], 0
je 0x473ec2
xor eax, eax
push ebp
push 0x473a88
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov si, 0xffab
call fcn.00403ffc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x473a9f
mov eax, dword [ebp - 4]
cmp byte [eax + 0x278], 4
je 0x473acb
mov eax, dword [ebp - 4]
cmp byte [eax + 0x278], 6
jne 0x473bae
mov eax, dword [ebp - 4]
cmp byte [eax + 0x277], 1
jne 0x473bae
mov eax, dword [ebp - 4]
cmp byte [eax + 0x277], 1
jne 0x473b11
mov eax, dword [0x505cdc]
mov eax, dword [eax + 0x44]
call fcn.004588f8
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x48]
sar ebx, 1
jns 0x473af3
adc ebx, 0
mov eax, dword [0x505cdc]
mov eax, dword [eax + 0x44]
call fcn.0045893c
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x4c]
sar esi, 1
jns 0x473b43
adc esi, 0
jmp 0x473b43
mov eax, dword [0x505ce0]
call fcn.0047552c
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x48]
sar ebx, 1
jns 0x473b2a
adc ebx, 0
mov eax, dword [0x505ce0]
call fcn.00475520
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x4c]
sar esi, 1
jns 0x473b43
adc esi, 0
mov eax, dword [0x505ce0]
call fcn.00475544
cmp ebx, eax
jge 0x473b5d
mov eax, dword [0x505ce0]
call fcn.00475544
mov ebx, eax
mov eax, dword [0x505ce0]
call fcn.00475538
cmp esi, eax
jge 0x473b77
mov eax, dword [0x505ce0]
call fcn.00475538
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 0x473dce
mov eax, dword [ebp - 4]
call fcn.00471378
jmp 0x473dce
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x278]
mov edx, eax
add dl, 0xfa
sub dl, 2
jae 0x473cd3
mov eax, dword [0x505cdc]
mov esi, dword [eax + 0x44]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x278], 7
jne 0x473bf5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [0x46b514]
call fcn.00403f8c
test al, al
je 0x473bf5
mov eax, dword [ebp - 4]
mov esi, dword [eax + 4]
test esi, esi
je 0x473c36
cmp esi, dword [ebp - 4]
je 0x473c36
mov eax, esi
call fcn.0046f588
mov ebx, eax
mov eax, dword [esi + 0x48]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x48]
sar eax, 1
jns 0x473c17
adc eax, 0
add ebx, eax
mov eax, esi
call fcn.0046f5a8
mov edx, dword [esi + 0x4c]
mov ecx, dword [ebp - 4]
sub edx, dword [ecx + 0x4c]
sar edx, 1
jns 0x473c30
adc edx, 0
add eax, edx
mov esi, eax
jmp 0x473c68
mov eax, dword [0x505ce0]
call fcn.0047552c
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x48]
sar ebx, 1
jns 0x473c4f
adc ebx, 0
mov eax, dword [0x505ce0]
call fcn.00475520
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x4c]
sar esi, 1
jns 0x473c68
adc esi, 0
mov eax, dword [0x505ce0]
call fcn.00475544
cmp ebx, eax
jge 0x473c82
mov eax, dword [0x505ce0]
call fcn.00475544
mov ebx, eax
mov eax, dword [0x505ce0]
call fcn.00475538
cmp esi, eax
jge 0x473c9c
mov eax, dword [0x505ce0]
call fcn.00475538
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 0x473dce
mov eax, dword [ebp - 4]
call fcn.00471378
jmp 0x473dce
cmp al, 5
jne 0x473dce
mov eax, dword [ebp - 4]
cmp byte [eax + 0x277], 1
jne 0x473d21
mov eax, dword [0x505cdc]
mov eax, dword [eax + 0x44]
call fcn.004588f8
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x48]
sar ebx, 1
jns 0x473d03
adc ebx, 0
mov eax, dword [0x505cdc]
mov eax, dword [eax + 0x44]
call fcn.0045893c
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x4c]
sar esi, 1
jns 0x473d7d
adc esi, 0
jmp 0x473d7d
mov eax, dword [0x505ce0]
call fcn.0047555c
mov ebx, eax
sar ebx, 1
jns 0x473d34
adc ebx, 0
mov eax, dword [0x505ce0]
call fcn.00475544
add ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
sar eax, 1
jns 0x473d4d
adc eax, 0
sub ebx, eax
mov eax, dword [0x505ce0]
call fcn.00475550
mov esi, eax
sar esi, 1
jns 0x473d62
adc esi, 0
mov eax, dword [0x505ce0]
call fcn.00475538
add esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
sar eax, 1
jns 0x473d7b
adc eax, 0
sub esi, eax
mov eax, dword [0x505ce0]
call fcn.00475544
cmp ebx, eax
jge 0x473d97
mov eax, dword [0x505ce0]
call fcn.00475544
mov ebx, eax
mov eax, dword [0x505ce0]
call fcn.00475538
cmp esi, eax
jge 0x473db1
mov eax, dword [0x505ce0]
call fcn.00475538
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 0x473e9d
mov eax, dword [ebp - 4]
cmp byte [eax + 0x273], 2
jne 0x473e2a
push 0
mov eax, dword [ebp - 4]
call fcn.0046106c
push eax
push 0x223
mov eax, dword [0x505cdc]
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.0046106c
push eax
call sub.user32.dll_ShowWindow
jmp 0x473e7b
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x273]
mov eax, dword [eax*4 + 0x4fbae8]
push eax
mov eax, dword [ebp - 4]
call fcn.0046106c
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.0046106c
push eax
push 0x4079c4
call sub.user32.dll_CallWindowProcA
mov eax, dword [ebp - 4]
call fcn.00459214
push 0
push 0
push 0x234
mov eax, dword [0x505cdc]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 0x29c]
push eax
call sub.user32.dll_SendMessageA
jmp 0x473ffc
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x273]
mov eax, dword [eax*4 + 0x4fbae8]
push eax
mov eax, dword [ebp - 4]
call fcn.0046106c
push eax
call sub.user32.dll_ShowWindow
jmp 0x473ffc
xor eax, eax
push ebp
push 0x473ee6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov si, 0xffac
call fcn.00403ffc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x473efd
mov eax, dword [0x505ce0]
mov eax, dword [eax + 0x6c]
cmp eax, dword [ebp - 4]
jne 0x473f14
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00472708
mov eax, dword [ebp - 4]
cmp byte [eax + 0x277], 1
jne 0x473f30
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xb0]
jmp 0x473ffc
mov eax, dword [ebp - 4]
test byte [eax + 0x358], 8
je 0x473f5e
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0046106c
push eax
call sub.user32.dll_SetWindowPos
jmp 0x473ffc
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.0046106c
mov esi, eax
call sub.user32.dll_GetActiveWindow
cmp esi, eax
jne 0x473f93
mov eax, dword [ebp - 4]
call fcn.0046106c
call fcn.0046cd04
test eax, eax
jne 0x473f93
mov eax, dword [ebp - 4]
call fcn.0046106c
call fcn.0046d02c
mov ebx, eax
test ebx, ebx
je 0x473fbc
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0046106c
push eax
call sub.user32.dll_SetWindowPos
push ebx
call sub.user32.dll_SetActiveWindow
jmp 0x473ffc
push 0
mov eax, dword [ebp - 4]
call fcn.0046106c
push eax
call sub.user32.dll_ShowWindow
jmp 0x473ffc
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
je 0x473ffc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x30], 0
je 0x473ffc
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1da], 0
je 0x473ffc
push 1
mov eax, dword [ebp - 4]
call fcn.0046106c
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47401b
mov eax, dword [ebp - 4]
and byte [eax + 0x358], 0xfb
ret