Function at 0x1003ecdd
Capabilities:
Hide graphical window

Disassembly:
push 0x118
mov eax, 0x101f15d4
call fcn.1018f796
mov ebx, ecx
lea ecx, [ebp + 8]
call fcn.10021876
test al, al
je 0x1003ed01
xor eax, eax
jmp 0x1003f4aa
push dword [ebx + 0x244]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1003ecfa
lea esi, [ebx + 0x388]
cmp dword [esi], 0
je 0x1003ed6e
mov ecx, ebx
lea eax, [ebx + 4]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
lea ecx, [ebp - 0x104]
call fcn.100083f0
mov dword [ebp - method.SOUI::TObjRefImpl_struct_IObjRef_.virtual_0], 0x101fb7c8
mov dword [ebp - 0xfc], 0x101fb7dc
and dword [ebp - 4], 0
lea edi, [ebx + 4]
mov eax, dword [edi]
lea ecx, [ebp - 0x104]
push ecx
mov ecx, edi
call dword [eax + 0x8c]
push 0
mov ecx, esi
call fcn.10025d96
or dword [ebp - 4], 0xffffffff
jmp 0x1003ed71
lea edi, [ebx + 4]
push 0
push 0
push 0
push 2
mov ecx, edi
call fcn.10029244
mov ecx, dword [0x1029aca8]
push esi
call fcn.1002d832
mov edi, dword [ebx + 0x330]
mov eax, dword [edi + 8]
cmp dword [eax + 4], 0
je 0x1003edb9
mov ecx, edi
call fcn.1003e056
push dword [ebx + 0x330]
mov ecx, dword [0x1029ad8c]
call fcn.1004467b
mov edi, dword [ebx + 0x330]
push 0
push 0x101fa8b0
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp + 8]
call fcn.10021d22
mov ecx, edi
push dword [eax]
call fcn.10044507
mov ecx, dword [ebx + 0x330]
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
je 0x1003edf3
push ecx
mov ecx, dword [0x1029ad8c]
call fcn.1002b018
mov edi, dword [ebx + 0x334]
mov eax, dword [edi + 8]
cmp dword [eax + 4], 0
je 0x1003ee20
mov ecx, edi
call fcn.1002b0ea
push dword [ebx + 0x334]
mov ecx, dword [0x1029aca4]
call fcn.1002afc3
mov edi, dword [ebx + 0x334]
push 0
push str.skin
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp + 8]
call fcn.10021d22
mov ecx, edi
push dword [eax]
call fcn.1002acd6
mov ecx, dword [ebx + 0x334]
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
je 0x1003ee5a
push ecx
mov ecx, dword [0x1029aca4]
call fcn.1002b018
xor edi, edi
lea eax, [ebp - 0xb8]
push edi
push str.script
push eax
lea ecx, [ebp + 8]
call fcn.10021d22
cmp dword [esi], edi
je 0x1003f064
lea ecx, [ebp - 0xb8]
call fcn.1002188e
test eax, eax
je 0x1003f064
push edi
push 0x10269ad0
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0xb8]
call fcn.10021cdf
lea ecx, [ebp - 0xbc]
call fcn.1002188e
test eax, eax
je 0x1003efd0
lea ecx, [ebp - 0xbc]
call fcn.10022def
push eax
lea ecx, [ebp - 0xb0]
call fcn.10001380
push edi
lea eax, [ebp - 0xb0]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.10021601
add esp, 0xc
mov ecx, dword [ebp - 0xb0]
add ecx, 0xfffffff4
mov byte [ebp - 4], 4
cmp ecx, dword [section..data]
je 0x1003ef06
call fcn.100012a0
mov dword [ebp - 0xcc], edi
mov dword [ebp - 0xc8], edi
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xc0], edi
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.100046c0
pop ecx
pop ecx
cmp eax, 2
jne 0x1003efb3
mov edi, dword [ebp - 0xcc]
mov ecx, dword [0x1029aca8]
push dword [edi + 4]
lea ecx, [ecx + 0x10]
push dword [edi]
call fcn.10032397
mov dword [ebp - 0xb0], eax
test eax, eax
je 0x1003efb3
and dword [ebp - 0xac], 0
lea ecx, [ebp - 0xac]
push eax
call fcn.1002a886
push dword [ebp - 0xb0]
mov ecx, dword [0x1029aca8]
push dword [ebp - 0xac]
mov byte [ebp - 4], 6
push dword [edi + 4]
lea ecx, [ecx + 0x10]
push dword [edi]
call fcn.1003231c
mov ecx, dword [esi]
push dword [ebp - 0xb0]
push dword [ebp - 0xac]
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [ebp - 0xac]
call fcn.1002a992
lea ecx, [ebp - 0xcc]
call fcn.100048b0
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 4], 7
jmp 0x1003f050
lea ecx, [ebp - 0xb8]
call fcn.10021d65
push eax
lea ecx, [ebp - 0xb0]
call fcn.10001380
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 4], 8
cmp dword [eax - 8], edi
je 0x1003f043
push 0xfde9
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.10021503
add esp, 0xc
mov eax, dword [ebp - 0xb4]
mov ecx, dword [esi]
mov byte [ebp - 4], 9
push dword [eax - 8]
mov edx, dword [ecx]
push eax
call dword [edx + 0x14]
mov ecx, dword [ebp - 0xb4]
add ecx, 0xfffffff4
mov byte [ebp - 4], 0xa
cmp ecx, dword [section..data]
je 0x1003f043
call fcn.100012a0
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 4], 0xb
add ecx, 0xfffffff4
cmp ecx, dword [section..data]
je 0x1003f060
call fcn.100012a0
or dword [ebp - 4], 0xffffffff
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [ebx + 0x244]
call esi
push 0xffffffffffffffec
push dword [ebx + 0x244]
mov edi, eax
call esi
lea esi, [ebx + 0x270]
mov dword [ebp - 0xb0], eax
mov ecx, esi
call fcn.1003c8a3
mov edx, dword [esi]
mov ecx, esi
push dword [ebp + 8]
call dword [edx + 0x28]
mov eax, dword [ebx + 0x2d8]
mov ecx, 0x20000
mov esi, dword [ebp - 0xb0]
mov edx, eax
and edx, 0x10000
neg edx
sbb edx, edx
and edx, 0x50000
add edx, ecx
or edx, edi
test ecx, eax
je 0x1003f0d6
or edx, 0x80000
or esi, 0x40000
jmp 0x1003f0e3
test eax, 0x40000
je 0x1003f0e3
or esi, 0x80
mov edi, dword [ebx + 0x2e0]
and eax, 0x80000
mov ecx, dword [ebx + 0x2dc]
mov dword [ebp - 0xb4], eax
mov eax, esi
or eax, 0x80000
cmp dword [ebp - 0xb4], 0
push 0
cmove eax, esi
test edi, edi
lea esi, [ebx + 0x238]
cmove edi, eax
mov eax, ecx
and eax, 0xefffffff
test ecx, ecx
mov ecx, esi
cmove eax, edx
push eax
push 0
call fcn.1003b312
push 0
push edi
push 0
mov ecx, esi
call fcn.1003b364
push 0
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebx + 0x2e8]
call fcn.10026f94
push dword [eax]
push dword [ebx + 0x244]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 0xb4]
add ecx, 0xfffffff4
mov dword [ebp - 4], 0xc
cmp ecx, dword [section..data]
je 0x1003f179
call fcn.100012a0
or dword [ebp - 4], 0xffffffff
mov ecx, 0x80000
mov eax, dword [ebx + 0x2d8]
test ecx, eax
je 0x1003f21b
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xffffffffffffffec
push dword [ebx + 0x244]
call edi
mov esi, dword [sym.imp.USER32.dll_SetWindowLongW]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push dword [ebx + 0x244]
call esi
xor eax, eax
lea ecx, [ebx + 0x250]
push eax
push dword [ebx + 0x244]
push 0xa
push 0xa
push eax
push eax
push 0x8000080
push accept
push str.SOUI_DUMMY_WND
call fcn.1003b1b9
push 0xffffffffffffffec
push dword [ebx + 0x25c]
call edi
or eax, 0x80000
push eax
push 0xffffffffffffffec
push dword [ebx + 0x25c]
call esi
push 2
push 0
push 0
push dword [ebx + 0x25c]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push 4
push dword [ebx + 0x25c]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1003f247
test ecx, edi
jne 0x1003f22f
cmp al, 0xff
je 0x1003f247
push 0
push ecx
push 0
mov ecx, esi
call fcn.1003b364
movzx eax, byte [ebx + 0x2d8]
push 2
push eax
push 0
push dword [ebx + 0x244]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov eax, dword [ebx + 0x2f4]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1003f267
push eax
push 0
push 0x80
push dword [ebx + 0x244]
call esi
mov eax, dword [ebx + 0x2f8]
test eax, eax
je 0x1003f281
push eax
push 1
push 0x80
push dword [ebx + 0x244]
call esi
push 0
push str.root
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp + 8]
call fcn.10021d22
lea ecx, [ebx + 4]
push dword [eax]
call fcn.100270c3
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x7c]
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x1003f2d0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x84]
push eax
lea ecx, [ebx + 0x2a8]
call fcn.10032d45
mov edi, eax
test edi, edi
jg 0x1003f2ea
or edi, 0xffffffff
jmp 0x1003f2ea
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push 0
push ecx
lea ecx, [ebx + 0x2a8]
movss dword [esp], xmm0
call fcn.10032d28
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x1003f312
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x84]
push eax
lea ecx, [ebx + 0x2b0]
call fcn.10032d45
mov esi, eax
test esi, esi
jg 0x1003f32c
or esi, 0xffffffff
jmp 0x1003f32c
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push 0
push ecx
lea ecx, [ebx + 0x2b0]
movss dword [esp], xmm0
call fcn.10032d28
test edi, edi
jle 0x1003f338
test esi, esi
jg 0x1003f410
lea ecx, [ebx + 4]
mov eax, dword [ecx]
lea edx, [ebp - 0xc4]
push esi
push edi
push edx
call dword [eax + 0xb0]
cmp edi, 0xffffffff
mov dword [ebp - 0xe4], vtable.SOUI::MemberFunctionSlot_class_SOUI::SHostWnd__class_SOUI::EventArgs_.0
mov dword [ebp - 0xdc], 0x1003f64a
cmove edi, dword [ebp - 0xc4]
cmp esi, 0xffffffff
mov dword [ebp - 0xd4], ebx
cmove esi, dword [ebp - 0xc0]
and dword [ebp - 0xd8], 0
lea eax, [ebp - 0xe4]
mov dword [ebp - 4], 0xd
push eax
push 0x1fa8
lea ecx, [ebx + 0x38]
call fcn.1003fb5e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0x2a8]
mov dword [ebp - 0xe4], vtable.SOUI::ISlotFunctor.0
call fcn.10032c54
test al, al
je 0x1003f3dd
push 0
push ecx
and dword [esp], 0
lea ecx, [ebx + 0x278]
call fcn.10032d28
push 0
push ecx
and dword [esp], 0
lea ecx, [ebx + 0x288]
call fcn.10032d28
lea ecx, [ebx + 0x2b0]
call fcn.10032c54
test al, al
je 0x1003f410
push 0
push ecx
and dword [esp], 0
lea ecx, [ebx + 0x280]
call fcn.10032d28
push 0
push ecx
and dword [esp], 0
lea ecx, [ebx + 0x290]
call fcn.10032d28
push 0x16
push esi
push edi
xor eax, eax
push eax
push eax
push eax
push dword [ebx + 0x244]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [ebx + 0x244]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
lea esi, [ebx + 4]
mov eax, dword [esi]
lea ecx, [ebp - 0x20]
push ecx
mov ecx, esi
call dword [eax + 0xa8]
mov ecx, dword [ebx + 0x324]
xor edi, edi
inc edi
mov dword [ebx + 0x31c], edi
mov dword [ebx + 0x318], edi
mov eax, dword [ecx]
call dword [eax + 0x64]
xor ecx, ecx
mov eax, esi
test ebx, ebx
cmove eax, ecx
lea ecx, [ebp - 0x124]
push eax
call fcn.100083f0
mov dword [ebp - method.SOUI::TObjRefImpl_struct_IObjRef_.virtual_0], 0x101fb768
mov dword [ebp - method.SOUI::TplEventArgs_class_SOUI::EventSwndSize_.1.virtual_0], 0x101fb77c
mov edx, dword [esi]
lea ecx, [ebp - 0x124]
push ecx
mov ecx, esi
mov dword [ebp - 4], 0xe
call dword [edx + 0x8c]
mov eax, edi
call fcn.1018f751
ret 0xc