Function at 0x45b938
Capabilities:
Hide graphical window

Disassembly:
push 0x118
mov eax, 0x5fb506
call fcn.005569b7
mov ebx, ecx
lea ecx, [ebp + 8]
call fcn.005d1e23
test al, al
jne 0x45c19a
push dword [ebx + 0x248]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45c19a
lea edi, [ebx + 0x390]
cmp dword [edi], 0
je 0x45b9c5
xor ecx, ecx
lea eax, [ebx + 4]
test ebx, ebx
cmove eax, ecx
lea ecx, [ebp - 0x104]
push eax
call fcn.0044f5e8
mov dword [ebp - method.SOUI::TObjRefImpl_struct_IObjRef_.virtual_0], 0x618fc4
mov dword [ebp - 0xfc], 0x618fd8
and dword [ebp - 4], 0
lea ecx, [ebx + 4]
mov eax, dword [ecx]
lea edx, [ebp - 0x104]
push edx
call dword [eax + 0x94]
push 0
mov ecx, edi
call fcn.00458244
or dword [ebp - 4], 0xffffffff
push 0
push 0
push 0
push 2
lea ecx, [ebx + 4]
call fcn.00454a8a
mov ecx, dword [0x690890]
push edi
call fcn.004493e9
mov ecx, dword [ebx + 0x334]
xor esi, esi
mov eax, dword [ecx + 8]
cmp dword [eax + 4], esi
je 0x45ba10
call fcn.0045aaa0
mov ecx, dword [0x690890]
push 5
call fcn.00438e96
push dword [ebx + 0x334]
mov ecx, eax
call fcn.00438fa5
push esi
push 0x61910c
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp + 8]
call fcn.005d3177
mov ecx, dword [ebx + 0x334]
push dword [eax]
call fcn.004608cb
mov eax, dword [ebx + 0x334]
mov eax, dword [eax + 8]
cmp dword [eax + 4], esi
je 0x45ba5a
mov ecx, dword [0x690890]
push 5
call fcn.00438e96
push dword [ebx + 0x334]
mov ecx, eax
call fcn.00460d25
mov ecx, dword [ebx + 0x338]
mov eax, dword [ecx + 8]
cmp dword [eax + 4], esi
je 0x45ba87
call fcn.00443468
mov ecx, dword [0x690890]
push 7
call fcn.00438e96
push dword [ebx + 0x338]
mov ecx, eax
call fcn.004a9ac1
push esi
push 0x60eb94
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp + 8]
call fcn.005d3177
mov ecx, dword [ebx + 0x338]
push dword [eax]
call fcn.00443058
mov eax, dword [ebx + 0x338]
mov eax, dword [eax + 8]
cmp dword [eax + 4], esi
je 0x45bad1
mov ecx, dword [0x690890]
push 7
call fcn.00438e96
push dword [ebx + 0x338]
mov ecx, eax
call fcn.00443390
mov ecx, dword [ebx + 0x33c]
mov eax, dword [ecx + 8]
cmp dword [eax + 4], esi
je 0x45bafe
call fcn.0045aa63
mov ecx, dword [0x690890]
push 6
call fcn.00438e96
push dword [ebx + 0x33c]
mov ecx, eax
call fcn.00821e4a
push esi
push 0x6196ac
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp + 8]
call fcn.005d3177
mov ecx, dword [ebx + 0x33c]
push dword [eax]
call fcn.004609d0
mov eax, dword [ebx + 0x33c]
mov eax, dword [eax + 8]
cmp dword [eax + 4], esi
je 0x45bb48
mov ecx, dword [0x690890]
push 6
call fcn.00438e96
push dword [ebx + 0x33c]
mov ecx, eax
call fcn.00460d42
push esi
push str.script
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp + 8]
call fcn.005d3177
cmp dword [edi], esi
je 0x45bd62
lea ecx, [ebp - 0xb8]
call fcn.005d1f5a
test eax, eax
je 0x45bd62
push esi
push 0x6166a0
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0xb8]
call fcn.005d30b9
lea ecx, [ebp - 0xbc]
call fcn.005d1f4d
test eax, eax
je 0x45bcce
lea ecx, [ebp - 0xbc]
call fcn.005d7d3f
push eax
lea ecx, [ebp - 0xb0]
call fcn.0043120a
push esi
lea eax, [ebp - 0xb0]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.004425cf
add esp, 0xc
mov ecx, dword [ebp - 0xb0]
add ecx, 0xfffffff4
mov byte [ebp - 4], 4
cmp ecx, dword [0x687008]
je 0x45bbf2
call fcn.008030b1
mov dword [ebp - 0xcc], esi
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xc0], esi
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.00445286
mov esi, dword [ebp - 0xcc]
pop ecx
pop ecx
cmp eax, 2
jne 0x45bc9f
mov ecx, dword [0x690890]
push dword [esi + 4]
push dword [esi]
lea ecx, [ecx + 0x10]
call fcn.00444a2d
mov dword [ebp - 0xb0], eax
test eax, eax
je 0x45bc9f
and dword [ebp - 0xac], 0
lea ecx, [ebp - 0xac]
push eax
call fcn.00442b38
push dword [ebp - 0xb0]
mov ecx, dword [0x690890]
push dword [ebp - 0xac]
mov byte [ebp - 4], 6
push dword [esi + 4]
lea ecx, [ecx + 0x10]
push dword [esi]
call fcn.004449ae
mov ecx, dword [edi]
push dword [ebp - 0xb0]
push dword [ebp - 0xac]
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [ebp - 0xac]
call fcn.00442cad
mov byte [ebp - 4], 7
test esi, esi
je 0x45bcbc
push dword [ebp - 0xc8]
push esi
call fcn.004445eb
push esi
call fcn.0043d94a
add esp, 0xc
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 4], 8
jmp 0x45bd4e
lea ecx, [ebp - 0xb8]
call fcn.005d31d7
push eax
lea ecx, [ebp - 0xb0]
call fcn.0043120a
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 4], 9
cmp dword [eax - 8], esi
je 0x45bd41
push 0xfde9
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.004424d1
add esp, 0xc
mov eax, dword [ebp - 0xb4]
mov ecx, dword [edi]
mov byte [ebp - 4], 0xa
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], 0xb
cmp ecx, dword [0x687008]
je 0x45bd41
call fcn.008030b1
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 4], 0xc
add ecx, 0xfffffff4
cmp ecx, dword [0x687008]
je 0x45bd5e
call fcn.008030b1
or dword [ebp - 4], 0xffffffff
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 - 0xb0], eax
mov ecx, esi
call fcn.0045908f
mov edx, dword [esi]
mov ecx, esi
push dword [ebp + 8]
call dword [edx + 0x28]
mov eax, dword [ebx + 0x2dc]
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 0x45bdd4
or edx, 0x80000
or esi, 0x40000
jmp 0x45bde1
test eax, 0x40000
je 0x45bde1
or esi, 0x80
mov edi, dword [ebx + 0x2e4]
and eax, 0x80000
mov ecx, dword [ebx + 0x2e0]
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 + 0x23c]
cmove edi, eax
mov eax, ecx
and eax, 0xefffffff
test ecx, ecx
mov ecx, esi
cmove eax, edx
push eax
push 0
call fcn.0045739f
push 0
push edi
push 0
mov ecx, esi
call fcn.004573f1
push 0
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebx + 0x2ec]
call fcn.004522d5
push dword [eax]
push dword [ebx + 0x248]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 0xb4]
add ecx, 0xfffffff4
mov dword [ebp - 4], 0xd
cmp ecx, dword [0x687008]
je 0x45be77
call fcn.008030b1
or dword [ebp - 4], 0xffffffff
mov ecx, 0x80000
mov eax, dword [ebx + 0x2dc]
test ecx, eax
je 0x45bf14
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 SysReAllocStringLen
push str.SOUI_DUMMY_WND
call fcn.0045717f
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 0x45bf40
test ecx, edi
jne 0x45bf28
cmp al, 0xff
je 0x45bf40
push 0
push ecx
push 0
mov ecx, esi
call fcn.004573f1
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 0x45bf60
push eax
push 0
push 0x80
push dword [ebx + 0x248]
call esi
mov eax, dword [ebx + 0x2fc]
test eax, eax
je 0x45bf7a
push eax
push 1
push 0x80
push dword [ebx + 0x248]
call esi
push 0
push str.root
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp + 8]
call fcn.005d3177
lea ecx, [ebx + 4]
push dword [eax]
call fcn.0045254e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x7c]
mov edi, dword [ebp + 0xc]
lea esi, [ebx + 0x2ac]
test edi, edi
jne 0x45bfcb
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x84]
push eax
mov ecx, esi
call fcn.00443ac7
mov edi, eax
test edi, edi
jg 0x45bfe1
or edi, 0xffffffff
jmp 0x45bfe1
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push 0
push ecx
mov ecx, esi
movss dword [esp], xmm0
call fcn.00443aaa
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x45c009
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x84]
push eax
lea ecx, [ebx + 0x2b4]
call fcn.00443ac7
mov esi, eax
test esi, esi
jg 0x45c023
or esi, 0xffffffff
jmp 0x45c023
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push 0
push ecx
lea ecx, [ebx + 0x2b4]
movss dword [esp], xmm0
call fcn.00443aaa
test edi, edi
jle 0x45c02f
test esi, esi
jg 0x45c107
lea ecx, [ebx + 4]
mov eax, dword [ecx]
lea edx, [ebp - 0xc4]
push esi
push edi
push edx
call dword [eax + 0xb8]
cmp edi, 0xffffffff
mov dword [ebp - 0xe4], vtable.SOUI::MemberFunctionSlot_class_SOUI::SHostWnd__class_SOUI::EventArgs_.0
mov dword [ebp - 0xdc], 0x4582ac
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], 0xe
push eax
push 0x1fa8
lea ecx, [ebx + 0x34]
call fcn.0049ba98
or dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0x2ac]
mov dword [ebp - 0xe4], vtable.SOUI::ISlotFunctor.0
call fcn.00443993
test al, al
je 0x45c0d4
push 0
push ecx
and dword [esp], 0
lea ecx, [ebx + 0x27c]
call fcn.00443aaa
push 0
push ecx
and dword [esp], 0
lea ecx, [ebx + 0x28c]
call fcn.00443aaa
lea ecx, [ebx + 0x2b4]
call fcn.00443993
test al, al
je 0x45c107
push 0
push ecx
and dword [esp], 0
lea ecx, [ebx + 0x284]
call fcn.00443aaa
push 0
push ecx
and dword [esp], 0
lea ecx, [ebx + 0x294]
call fcn.00443aaa
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 - 0x20]
xorps xmm0, xmm0
push eax
push dword [ebx + 0x248]
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 + 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]
push esi
lea ecx, [ebp - 0x124]
call fcn.0044f5e8
mov dword [ebp - method.SOUI::TObjRefImpl_struct_IObjRef_.virtual_0], 0x618f64
mov dword [ebp - 0x11c], 0x618f78
mov edx, dword [esi]
lea ecx, [ebp - 0x124]
push ecx
mov ecx, esi
mov dword [ebp - 4], 0xf
call dword [edx + 0x94]
mov eax, edi
jmp 0x45c19c
xor eax, eax
call fcn.00556966
ret 0xc