Function at 0x1024d23
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
call fcn.0102960a
and dword [ebp - 4], 0
mov ebx, eax
mov eax, dword [ebp + 8]
cmp eax, 0xfffffff7
je 0x1025080
cmp eax, 0xfffffff8
je 0x1025015
cmp eax, 0xfffffff9
je 0x1025000
cmp eax, 0xfffffffb
je 0x1024f29
cmp eax, 0xfffffffc
je 0x1024e69
cmp eax, 0xfffffffd
jne 0x1024e06
mov eax, dword [0x10437b8]
imul eax, eax, 0x50
push dword [eax + 0x10438c0]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.USER32.dll_IsIconic]
mov esi, 0x1041a20
test eax, eax
jne 0x1024de7
mov eax, dword [0x1041b38]
test eax, eax
je 0x1024de7
push 0x3e
push eax
call fcn.0100bd56
test eax, eax
jne 0x1024de7
push 0x3e
push esi
call fcn.0100bd56
test eax, eax
jne 0x1024de7
mov eax, dword [0x10437b8]
imul eax, eax, 0x50
push dword [eax + 0x10438c0]
call edi
neg eax
sbb eax, eax
and eax, 4
add eax, 5
push eax
mov eax, dword [0x10437b8]
imul eax, eax, 0x50
push dword [eax + 0x10438c0]
call ebx
cmp byte [0x1041a20], 0x21
jne 0x1024dfa
push 0x1041a21
jmp 0x102507b
push 0x40
push esi
call fcn.0100bd56
test eax, eax
jne 0x1024e0d
xor eax, eax
jmp 0x1025083
mov byte [eax], 0
inc eax
push 0x3e
push eax
mov dword [ebp + 8], eax
call fcn.0100bd56
test eax, eax
jne 0x1024e5b
push 0x3e
push dword [0x1041b38]
call fcn.0100bd56
test eax, eax
je 0x1024e5b
push dword [0x10438c0]
and dword [0x10437b8], 0
call edi
neg eax
sbb eax, eax
and eax, 4
add eax, 5
push eax
mov eax, dword [0x10437b8]
imul eax, eax, 0x50
push dword [eax + 0x10438c0]
call ebx
push esi
push dword [ebp + 8]
call fcn.0100e8e8
jmp 0x1025080
mov esi, 0x1041a20
mov edi, 0x100
test ebx, ebx
je 0x1024eff
mov eax, dword [ebx + 0xc]
push 2
push dword [eax + 0xc]
push 0x1004fb8
call fcn.0100d126
mov dword [ebp + 8], eax
test eax, eax
je 0x1024eff
push 0
push 4
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx + 0xc]
push 0
push 0x1043634
push dword [eax + 0x1c]
call fcn.0100c58e
test eax, eax
jne 0x1024eef
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.0100c58e
test eax, eax
jne 0x1024eef
push 0x10042fc
push edi
push esi
call fcn.01007b2f
push ebx
push dword [ebp - 0xc]
call fcn.0102e45a
push eax
push edi
push esi
call fcn.01007b2f
mov dword [ebp - 4], 1
push 1
push dword [ebp + 8]
call fcn.0100cf53
cmp dword [ebp - 4], 0
jne 0x1024f18
push 0x3e
push dword [0x1041b38]
call fcn.0100bd56
test eax, eax
je 0x1024f18
push eax
push edi
push esi
call fcn.01007b2f
push dword [0x1043634]
push esi
call fcn.0100e430
jmp 0x1025080
and dword [ebp - 0x12], 0
push 0xa
pop eax
mov word [ebp - 0x18], ax
mov eax, dword [0x1043634]
mov dword [ebp - 0x16], eax
mov esi, 0x1041a20
mov edi, 0x100
test ebx, ebx
je 0x1024fc2
mov eax, dword [ebx + 0xc]
push 2
push dword [eax + 0xc]
push 0x1004fb8
call fcn.0100d126
mov dword [ebp + 8], eax
test eax, eax
je 0x1024fc2
push ebx
push dword [ebp - 0x16]
call fcn.01006f30
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x1024fb2
push 0
push 4
lea eax, [ebp - 8]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call fcn.0100c58e
test eax, eax
jne 0x1024fb2
push 0x10042fc
push edi
push esi
call fcn.01007b2f
push ebx
push dword [ebp - 8]
call fcn.0102e45a
push eax
push edi
push esi
call fcn.01007b2f
mov dword [ebp - 4], 1
push 1
push dword [ebp + 8]
call fcn.0100cf53
cmp dword [ebp - 4], 0
jne 0x1024fdb
push 0x3e
push dword [0x1041b38]
call fcn.0100bd56
test eax, eax
je 0x1024fdb
push eax
push edi
push esi
call fcn.01007b2f
lea eax, [ebp - 0x18]
push eax
push 0x202
push esi
call fcn.0100e18d
test eax, eax
jne 0x1025080
push 1
push 2
call fcn.0102b944
jmp 0x1025080
push dword [0x1043630]
push 1
push dword [0x1043634]
call fcn.0100e18d
jmp 0x1025080
mov eax, dword [0x10437b8]
imul eax, eax, 0x50
push dword [eax + 0x10438c0]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x1025075
mov eax, dword [0x1041b38]
test eax, eax
je 0x1025075
push 0x3e
push eax
call fcn.0100bd56
test eax, eax
jne 0x1025075
mov eax, dword [0x10437b8]
imul eax, eax, 0x50
push dword [eax + 0x10438c0]
call dword [sym.imp.USER32.dll_IsIconic]
neg eax
sbb eax, eax
and eax, 4
add eax, 5
push eax
mov eax, dword [0x10437b8]
imul eax, eax, 0x50
push dword [eax + 0x10438c0]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x1043634]
call fcn.0100916e
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4