Function at 0x433780
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x4f8
mov eax, dword [0x5ef300]
xor eax, esp
mov dword [esp + 0x4f4], eax
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], esi
test edi, edi
je 0x433ba3
mov eax, dword [ecx]
push ecx
call dword [eax + 0x14]
cmp esi, eax
jge 0x433ba3
mov eax, dword [edi + 8]
add edi, 8
push edi
mov dword [esp + 0x30], edi
call dword [eax + 0x160]
test eax, eax
jne 0x4337e2
mov eax, dword [edi]
lea ecx, [ebp + 0x14]
push ecx
push edi
call dword [eax + 0x2c]
mov eax, dword [esp + 0x1c]
imul esi, esi, 0x202
add esi, dword [eax + 0x20]
mov eax, dword [edi]
mov dword [esp + 0x20], esi
push dword [esi]
push edi
call dword [eax + 0x9c]
push 0xffffffffffffffff
push str.my_game_item
mov ecx, edi
call dword [sym.imp.soui4.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::FindChildByName_wchar_t_const___int_]
mov dword [esp + 0x14], eax
test eax, eax
je 0x433830
mov ecx, dword [eax]
push 0x5843d8
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x433830
mov eax, dword [esp + 0x14]
add eax, 0xfffffffc
jmp 0x4338bc
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x70]
push str._levels
push 0xffffffffffffffff
push str._was_found_within
push str.my_game_item
push str._with_name_of
push 0x5843d8
push str.FindChildByName2_Failed__no_window_of_class
push eax
push 0x281
push str.SOUI::SWindow::FindChildByName2
push str.D:codeworkspace_soui4SOUIincludecore_Swnd.h
push 3
push str.soui4
call dword [sym.imp.soui4.dll_public:_void___thiscall_SOUI::Log::constructor_char_const___int__char_const___char_const___int__void__]
mov ecx, eax
call dword [sym.imp.soui4.dll_public:_class_SOUI::SLogStream____thiscall_SOUI::Log::stream_void_]
mov edi, dword [sym.imp.soui4.dll_public:_class_SOUI::SLogStream____thiscall_SOUI::SLogStream::operator___char_const__]
mov ecx, eax
call edi
mov esi, dword [sym.imp.soui4.dll_public:_class_SOUI::SLogStream____thiscall_SOUI::SLogStream::operator___wchar_t_const__]
mov ecx, eax
call esi
mov ecx, eax
call edi
mov ecx, eax
call esi
mov ecx, eax
call edi
mov ecx, eax
call dword [sym.imp.soui4.dll_public:_class_SOUI::SLogStream____thiscall_SOUI::SLogStream::operator___int_]
mov ecx, eax
call edi
lea ecx, [esp + 0x70]
call dword [sym.imp.soui4.dll_public:_void___thiscall_SOUI::Log::destructor_void_]
mov edi, dword [esp + 0x2c]
xor eax, eax
mov esi, dword [esp + 0x20]
mov dword [esp + 0x24], eax
test eax, eax
je 0x433ac4
push dword [esi]
lea ecx, [eax + 4]
mov eax, dword [ecx]
push ecx
mov dword [esp + 0x1c], ecx
call dword [eax + 0x9c]
add esi, 4
mov dword [esp + 0x40], 0
mov ecx, esi
mov dword [esp + 0x44], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x30], xmm0
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433900
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [esp + 0x38]
call fcn.00419c10
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 2
movups xmmword [ecx], xmm0
push 0x5830d4
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00419c10
push ecx
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x74]
call fcn.00418610
mov ecx, dword [esp + 0x60]
add esp, 0x1c
cmp ecx, 7
jbe 0x43398c
mov edx, dword [esp + 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x433982
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433bb9
push ecx
push edx
call fcn.0052b438
add esp, 8
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x58]
xor eax, eax
mov dword [esp + 0x40], 0
cmp dword [esp + 0x6c], 7
mov word [esp + 0x30], ax
cmova ecx, dword [esp + 0x58]
mov eax, dword [esi]
push ecx
push esi
mov dword [esp + 0x4c], 7
call dword [eax + 0x1b0]
cmp dword [esp + 0x6c], 7
lea ecx, [esp + 0x58]
mov eax, dword [esi]
cmova ecx, dword [esp + 0x58]
push ecx
push esi
call dword [eax + 0x78]
call fcn.004751e0
mov edx, dword [esi]
xor ecx, ecx
mov esi, dword [esp + 0x28]
cmp esi, dword [eax + 4]
sete cl
push ecx
push dword [esp + 0x18]
call dword [edx + 0x84]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
add esi, 0x3c
lea eax, [esp + 0x30]
mov dword [esp + 0x34], 1
push eax
push 0x2328
mov ecx, esi
mov dword [esp + 0x38], vtable.SOUI::MemberFunctionSlot_class_SOUI::SMyGameWndAdapter__struct_SOUI::IEvtArgs_.0
mov dword [esp + 0x40], 0x433ff0
call dword [sym.imp.soui4.dll_public:_int___thiscall_SOUI::SEventSet::subscribeEvent_unsigned_long_int__struct_SOUI::IEvtSlot_const__]
mov eax, dword [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x34], vtable.SOUI::TObjRefImpl_struct_SOUI::IEvtSlot_.0
push 0x2329
mov dword [esp + 0x3c], 1
mov dword [esp + 0x38], vtable.SOUI::MemberFunctionSlot_class_SOUI::SMyGameWndAdapter__struct_SOUI::IEvtArgs_.0
mov dword [esp + 0x40], 0x433ff0
call dword [sym.imp.soui4.dll_public:_int___thiscall_SOUI::SEventSet::subscribeEvent_unsigned_long_int__struct_SOUI::IEvtSlot_const__]
mov eax, dword [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x34], vtable.SOUI::TObjRefImpl_struct_SOUI::IEvtSlot_.0
push 0x2710
mov dword [esp + 0x3c], 1
mov dword [esp + 0x38], vtable.SOUI::MemberFunctionSlot_class_SOUI::SMyGameWndAdapter__struct_SOUI::IEvtArgs_.0
mov dword [esp + 0x40], 0x433f80
call dword [sym.imp.soui4.dll_public:_int___thiscall_SOUI::SEventSet::subscribeEvent_unsigned_long_int__struct_SOUI::IEvtSlot_const__]
mov eax, dword [esp + 0x20]
push dword [eax]
push dword [esp + 0x28]
call fcn.00433bc0
push dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
call fcn.00433df0
lea ecx, [esp + 0x58]
call fcn.004179b0
push ecx
push str.my_game_accel
mov ecx, edi
call fcn.0042f200
mov esi, eax
test esi, esi
je 0x433b31
mov eax, dword [esp + 0x20]
mov edi, dword [eax]
call fcn.0041f660
call fcn.00475550
mov al, byte [eax + 4]
test al, al
je 0x433b13
call fcn.00475550
mov ecx, dword [eax + 8]
test ecx, ecx
jle 0x433b13
xor eax, eax
cmp edi, ecx
sete al
mov dword [esp + 0x14], eax
mov eax, dword [esi]
jne 0x433b19
push esi
call dword [eax + 0x10]
mov edi, dword [esp + 0x14]
jmp 0x433b21
mov eax, dword [esi]
xor edi, edi
jmp 0x433b1d
mov edi, dword [esp + 0x14]
push esi
call dword [eax + 0x14]
mov ecx, dword [esi + 4]
lea eax, [esi + 4]
push 1
push edi
push eax
call dword [ecx + 0x94]
mov esi, dword [esp + 0x20]
push dword [esi]
call fcn.004830a0
mov ecx, eax
call fcn.00483150
movzx eax, byte [esp + 0x1b]
sub esp, 0x28
mov edi, dword [esp + 0x44]
mov ecx, esp
mov dword [ecx], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8SMyGameWndAdapter_SOUI__AEXH_ZPAV34_ABU___Ph__00_2__std__XH_std__.0
mov dword [ecx + 4], 0x434030
mov byte [ecx + 8], al
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x24], ecx
push dword [esi]
call fcn.004aa2c0
mov ecx, eax
call fcn.004aa330
movzx eax, byte [esp + 0x1b]
sub esp, 0x28
mov ecx, esp
mov dword [ecx], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8SMyGameWndAdapter_SOUI__AEXH_ZPAV34_ABU___Ph__00_2__std__XH_std__.0
mov dword [ecx + 4], 0x434060
mov byte [ecx + 8], al
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x24], ecx
push dword [esi]
call fcn.004aa2c0
mov ecx, eax
call fcn.004aa8f0
mov ecx, dword [esp + 0x4fc]
pop edi
pop esi
xor ecx, esp
call fcn.0052b3fa
mov esp, ebp
pop ebp
ret 0x14
call fcn.0053775e
int3