Function at 0x4c8354
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
mov eax, dword [0x5b925c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
lea ecx, [ebp + 8]
call fcn.004ded6f
test al, al
je 0x4c837d
xor eax, eax
jmp 0x4c8b3d
push dword [ebx + 0x248]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4c8376
push esi
push edi
lea edi, [ebx + 0x390]
xor esi, esi
cmp dword [edi], esi
je 0x4c83e5
mov ecx, ebx
lea eax, [ebx + 4]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
lea ecx, [ebp - 0xd4]
call fcn.004b6b90
lea ecx, [ebx + 4]
mov dword [ebp - 0xd4], 0x57e0f4
mov eax, dword [ecx]
lea edx, [ebp - 0xd4]
push edx
mov dword [ebp - 0xcc], 0x57ecb4
call dword [eax + 0x94]
mov ecx, dword [edi]
test ecx, ecx
je 0x4c83e5
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [edi], esi
push esi
push esi
push esi
lea ecx, [ebx + 4]
push 2
call fcn.004c10df
mov ecx, dword [0x5be91c]
push edi
call fcn.004bac59
mov ecx, dword [ebx + 0x334]
mov eax, dword [ecx + 8]
cmp dword [eax + 4], esi
je 0x4c842b
call fcn.004c772f
push dword [ebx + 0x334]
mov ecx, dword [0x5be91c]
push 5
call fcn.004bb04e
mov ecx, eax
call fcn.004d4c92
mov esi, dword [ebx + 0x334]
lea eax, [ebp - 0xa8]
push 0
push 0x57ed8c
push eax
lea ecx, [ebp + 8]
call fcn.004df17b
mov ecx, esi
push dword [eax]
call fcn.004d4937
mov ecx, dword [ebx + 0x334]
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
je 0x4c8474
push ecx
mov ecx, dword [0x5be91c]
push 5
call fcn.004bb04e
mov ecx, eax
call fcn.004d4cdc
mov ecx, dword [ebx + 0x338]
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
je 0x4c84a2
call fcn.004b6ace
push dword [ebx + 0x338]
mov ecx, dword [0x5be91c]
push 7
call fcn.004bb04e
mov ecx, eax
call fcn.004b69bc
mov esi, dword [ebx + 0x338]
lea eax, [ebp - 0xa8]
push 0
push str.skin
push eax
lea ecx, [ebp + 8]
call fcn.004df17b
mov ecx, esi
push dword [eax]
call fcn.004b671d
mov ecx, dword [ebx + 0x338]
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
je 0x4c84eb
push ecx
mov ecx, dword [0x5be91c]
push 7
call fcn.004bb04e
mov ecx, eax
call fcn.004d4cdc
mov ecx, dword [ebx + 0x33c]
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
je 0x4c8519
call fcn.004c76f2
push dword [ebx + 0x33c]
mov ecx, dword [0x5be91c]
push 6
call fcn.004bb04e
mov ecx, eax
call fcn.004d4c92
mov esi, dword [ebx + 0x33c]
lea eax, [ebp - 0xa8]
push 0
push 0x57f118
push eax
lea ecx, [ebp + 8]
call fcn.004df17b
mov ecx, esi
push dword [eax]
call fcn.004d4a2c
mov ecx, dword [ebx + 0x33c]
xor esi, esi
mov eax, dword [ecx + 8]
cmp dword [eax + 4], esi
je 0x4c8563
push ecx
mov ecx, dword [0x5be91c]
push 6
call fcn.004bb04e
mov ecx, eax
call fcn.004d4cdc
push esi
push str.script
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp + 8]
call fcn.004df17b
cmp dword [edi], esi
je 0x4c8734
lea ecx, [ebp - 0xb0]
call fcn.004ded62
test eax, eax
je 0x4c8734
push esi
push 0x5a1280
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0xb0]
call fcn.004df10a
lea ecx, [ebp - 0xb4]
call fcn.004ded62
test eax, eax
je 0x4c86ba
lea ecx, [ebp - 0xb4]
call fcn.004e0242
push eax
lea ecx, [ebp - 0xa4]
call fcn.004073a0
push esi
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.004dead2
mov ecx, dword [ebp - 0xa4]
add esp, 0xc
add ecx, 0xfffffff4
cmp ecx, dword [0x5b91ec]
je 0x4c8602
call fcn.004022a0
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc4], esi
push eax
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xc0], esi
push eax
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xb8], esi
call fcn.004ba043
pop ecx
pop ecx
cmp eax, 2
jne 0x4c86a7
mov esi, dword [ebp - 0xc4]
mov ecx, dword [0x5be91c]
push dword [esi + 4]
lea ecx, [ecx + 0x10]
push dword [esi]
call fcn.004b9b31
mov dword [ebp - 0xa4], eax
test eax, eax
je 0x4c86a7
and dword [ebp - 0xa0], 0
lea ecx, [ebp - 0xa0]
push eax
call fcn.004caa3c
push dword [ebp - 0xa4]
mov ecx, dword [0x5be91c]
push dword [ebp - 0xa0]
push dword [esi + 4]
lea ecx, [ecx + 0x10]
push dword [esi]
call fcn.004b9ac6
mov ecx, dword [edi]
push dword [ebp - 0xa4]
push dword [ebp - 0xa0]
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [ebp - 0xa0]
call fcn.004cb015
lea ecx, [ebp - 0xc4]
call fcn.004b720b
mov ecx, dword [ebp - 0xa8]
jmp 0x4c8724
lea ecx, [ebp - 0xb0]
call fcn.004df1be
push eax
lea ecx, [ebp - 0xa4]
call fcn.004073a0
mov eax, dword [ebp - 0xa4]
cmp dword [eax - 8], esi
je 0x4c871e
push 0xfde9
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.004de9d5
mov eax, dword [ebp - 0xa8]
add esp, 0xc
mov ecx, dword [edi]
push dword [eax - 8]
mov edx, dword [ecx]
push eax
call dword [edx + 0x14]
mov ecx, dword [ebp - 0xa8]
add ecx, 0xfffffff4
cmp ecx, dword [0x5b91ec]
je 0x4c871e
call fcn.004022a0
mov ecx, dword [ebp - 0xa4]
add ecx, 0xfffffff4
cmp ecx, dword [0x5b91ec]
je 0x4c8734
call fcn.004022a0
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [ebx + 0x248]
call esi
push 0xffffffffffffffec
push dword [ebx + 0x248]
mov edi, eax
call esi
lea esi, [ebx + 0x274]
mov dword [ebp - 0xa4], eax
mov ecx, esi
call fcn.004c5dc8
mov edx, dword [esi]
mov ecx, esi
push dword [ebp + 8]
call dword [edx + 0x28]
mov edx, dword [ebx + 0x2dc]
mov eax, 0x20000
mov ecx, edx
and ecx, 0x10000
neg ecx
sbb ecx, ecx
and ecx, 0x50000
add ecx, eax
or ecx, edi
test eax, edx
mov eax, dword [ebp - 0xa4]
mov edi, 0x80000
je 0x4c87a6
or ecx, edi
or eax, 0x40000
jmp 0x4c87b3
test edx, 0x40000
je 0x4c87b3
or eax, 0x80
mov esi, eax
or esi, edi
and edx, edi
cmove esi, eax
mov eax, dword [ebx + 0x2e0]
test eax, eax
je 0x4c87ce
mov ecx, eax
and ecx, 0xefffffff
mov eax, dword [ebx + 0x2e4]
lea edi, [ebx + 0x23c]
push 0
push ecx
test eax, eax
mov ecx, edi
push 0
cmovne esi, eax
call fcn.004b5db2
push 0
push esi
push 0
mov ecx, edi
call fcn.004b5e04
push 0
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebx + 0x2ec]
call fcn.004beb10
push dword [eax]
push dword [ebx + 0x248]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 0xa8]
add ecx, 0xfffffff4
cmp ecx, dword [0x5b91ec]
je 0x4c882f
call fcn.004022a0
mov eax, dword [ebx + 0x2dc]
mov ecx, 0x80000
test ecx, eax
je 0x4c88c8
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xffffffffffffffec
push dword [ebx + 0x248]
call edi
mov esi, dword [sym.imp.USER32.dll_SetWindowLongW]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push dword [ebx + 0x248]
call esi
xor eax, eax
lea ecx, [ebx + 0x254]
push eax
push eax
push 0xa
push 0xa
push eax
push eax
push 0x8000080
push accept
push str.SOUI_DUMMY_WND
call fcn.004b5c86
push 0xffffffffffffffec
push dword [ebx + 0x260]
call edi
or eax, 0x80000
push eax
push 0xffffffffffffffec
push dword [ebx + 0x260]
call esi
push 2
push 0
push 0
push dword [ebx + 0x260]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push 4
push dword [ebx + 0x260]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4c88f4
test ecx, esi
jne 0x4c88dc
cmp al, 0xff
je 0x4c88f4
push 0
push ecx
push 0
mov ecx, edi
call fcn.004b5e04
movzx eax, byte [ebx + 0x2dc]
push 2
push eax
push 0
push dword [ebx + 0x248]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov eax, dword [ebx + 0x2f8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4c8914
push eax
push 0
push 0x80
push dword [ebx + 0x248]
call esi
mov eax, dword [ebx + 0x2fc]
test eax, eax
je 0x4c892e
push eax
push 1
push 0x80
push dword [ebx + 0x248]
call esi
push 0
push 0x5a592c
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp + 8]
call fcn.004df17b
lea ecx, [ebx + 4]
push dword [eax]
call fcn.004bec4f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x7c]
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x4c897d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x84]
push eax
lea ecx, [ebx + 0x2ac]
call fcn.004c8f32
mov edi, eax
test edi, edi
jg 0x4c8997
or edi, 0xffffffff
jmp 0x4c8997
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push 0
push ecx
lea ecx, [ebx + 0x2ac]
movss dword [esp], xmm0
call fcn.004c8f15
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x4c89bf
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x84]
push eax
lea ecx, [ebx + 0x2b4]
call fcn.004c8f32
mov esi, eax
test esi, esi
jg 0x4c89d9
or esi, 0xffffffff
jmp 0x4c89d9
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push 0
push ecx
lea ecx, [ebx + 0x2b4]
movss dword [esp], xmm0
call fcn.004c8f15
test edi, edi
jle 0x4c89e5
test esi, esi
jg 0x4c8aa8
lea ecx, [ebx + 4]
mov eax, dword [ecx]
lea edx, [ebp - 0xac]
push esi
push edi
push edx
call dword [eax + 0xb8]
cmp edi, 0xffffffff
mov dword [ebp - 0xcc], 0x57f104
lea eax, [ebp - 0xcc]
mov dword [ebp - 0xc4], 0x4c589d
cmove edi, dword [ebp - 0xac]
lea ecx, [ebx + 0x34]
cmp esi, 0xffffffff
mov dword [ebp - 0xbc], ebx
push eax
cmove esi, dword [ebp - 0xa8]
and dword [ebp - 0xc0], 0
push 0x1fa8
call fcn.004d249b
lea ecx, [ebx + 0x2ac]
call fcn.004c8df9
test al, al
je 0x4c8a75
push 0
push ecx
and dword [esp], 0
lea ecx, [ebx + 0x27c]
call fcn.004c8f15
push 0
push ecx
and dword [esp], 0
lea ecx, [ebx + 0x28c]
call fcn.004c8f15
lea ecx, [ebx + 0x2b4]
call fcn.004c8df9
test al, al
je 0x4c8aa8
push 0
push ecx
and dword [esp], 0
lea ecx, [ebx + 0x284]
call fcn.004c8f15
push 0
push ecx
and dword [esp], 0
lea ecx, [ebx + 0x294]
call fcn.004c8f15
push 0x16
push esi
push edi
xor eax, eax
push eax
push eax
push eax
push dword [ebx + 0x248]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [ebx + 0x248]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
lea esi, [ebx + 4]
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, esi
call dword [eax + 0xb0]
mov ecx, dword [ebx + 0x328]
xor edi, edi
inc edi
mov dword [ebx + 0x320], edi
mov dword [ebx + 0x31c], edi
mov eax, dword [ecx]
call dword [eax + 0x64]
xor ecx, ecx
mov eax, esi
test ebx, ebx
cmove eax, ecx
lea ecx, [ebp - 0xf4]
push eax
call fcn.004b6b90
mov edx, dword [esi]
lea ecx, [ebp - 0xf4]
push ecx
mov ecx, esi
mov dword [ebp - 0xf4], 0x57e0f4
mov dword [ebp - 0xec], 0x57ec6c
call dword [edx + 0x94]
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004f6456
mov esp, ebp
pop ebp
ret 0xc