Function at 0x4fa24c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4fa254
push ebx
push esi
push edi
mov ebx, dword [0x500dc4]
xor eax, eax
push ebp
push 0x4fa620
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x20]
mov eax, 1
call fcn.0047ecf0
mov eax, dword [ebp - 0x20]
mov edx, 0x4fa63c
call fcn.0040c3f8
test eax, eax
jne 0x4fa296
mov byte [ebp - 0x11], 1
jmp 0x4fa2bc
lea edx, [ebp - 0x24]
mov eax, 1
call fcn.0047ecf0
mov eax, dword [ebp - 0x24]
mov edx, 0x4fa654
call fcn.0040c3f8
test eax, eax
jne 0x4fa5f8
mov byte [ebp - 0x11], 0
mov eax, dword [ebx]
mov edx, 0x4fa66c
call fcn.0047b97c
push 5
mov eax, dword [ebx]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_ShowWindow
call fcn.004ddea0
push 0x4fa678
push 0
push 0
call fcn.00409438
mov dword [ebp - 0x18], eax
push 0
mov eax, dword [ebx]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebp - 0x18], 0
je 0x4fa324
mov eax, dword [ebx]
call fcn.0047bdfc
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x18]
push eax
push 1
call fcn.00409ef4
cmp eax, 1
je 0x4fa304
push 5
mov eax, dword [ebx]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
push ebp
push 0x4fa5f1
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.0047ecf0
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 4]
mov edx, 0x4fa6b4
call fcn.0047ddd4
lea edx, [ebp - 0x2c]
xor eax, eax
call fcn.0047ecf0
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 8]
mov edx, 0x4fa6cc
call fcn.0047ddd4
mov eax, dword [ebp - 8]
call fcn.0047e598
test al, al
je 0x4fa588
mov cl, 1
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004a9fa8
mov eax, dword [0x500d18]
test byte [eax + 0x4c], 1
setne al
call fcn.00480be8
mov edx, dword [0x500dd4]
mov edx, dword [edx + 0x270]
mov eax, dword [ebx]
call fcn.0047b97c
xor eax, eax
push ebp
push 0x4fa581
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004db3f0
push 2
push 0
push 1
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4a8a5c]
call fcn.004a8d24
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4fa567
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x4fa541
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.004a8fd4
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x4fa40b
sub esi, 4
mov esi, dword [esi]
cmp esi, 4
jle 0x4fa41c
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x5b
sete bl
jmp 0x4fa41e
xor ebx, ebx
test bl, bl
je 0x4fa541
mov eax, dword [ebp - 0xc]
cmp word [eax + 6], 0x5d
jne 0x4fa541
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x7fffffff
mov edx, 5
mov eax, dword [ebp - 0xc]
call fcn.00406bdc
mov eax, dword [ebp - 0xc]
cmp word [eax + 4], 0x71
je 0x4fa468
cmp byte [ebp - 0x11], 0
je 0x4fa464
mov eax, dword [0x500c34]
cmp byte [eax], 0
je 0x4fa468
xor eax, eax
jmp 0x4fa46a
mov al, 1
mov byte [ebp - 0x12], al
xor eax, eax
push ebp
push 0x4fa4de
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 2]
sub ax, 0x53
je 0x4fa4ad
dec ax
je 0x4fa4ca
sub ax, 0x1f
je 0x4fa49a
dec ax
je 0x4fa4c0
jmp 0x4fa4d4
movzx eax, byte [ebp - 0x12]
push eax
mov ecx, dword [ebp - 0x10]
xor edx, edx
xor eax, eax
call fcn.004b138c
jmp 0x4fa4d4
movzx eax, byte [ebp - 0x12]
push eax
mov ecx, dword [ebp - 0x10]
mov dl, 1
xor eax, eax
call fcn.004b138c
jmp 0x4fa4d4
mov eax, dword [ebp - 0x10]
call fcn.004af9e4
jmp 0x4fa4d4
mov edx, dword [ebp - 0x10]
xor eax, eax
call fcn.004b157c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fa541
mov eax, dword [ebp - 0x1c]
call fcn.004a8fc4
test al, al
je 0x4fa3f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fa56e
mov eax, dword [ebp - 0x1c]
call fcn.00404098
ret
mov eax, dword [ebp - 8]
call fcn.004064d4
push eax
call fcn.00409478
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
call fcn.00409478
xor eax, eax
push ebp
push 0x4fa5c1
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004fa1ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fa5cb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fa5f8
cmp dword [ebp - 0x18], 0
je 0x4fa5f0
mov eax, dword [ebp - 0x18]
push eax
call fcn.00409784
mov eax, dword [ebp - 0x18]
push eax
call fcn.004093f0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fa627
lea eax, [ebp - 0x38]
mov edx, 7
call fcn.00406440
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00406440
ret