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

Disassembly:
sub esp, 0x50
push ebx
push ebp
mov ebp, dword [esp + 0x64]
push esi
mov esi, dword [esp + 0x64]
push edi
mov edi, dword [esp + 0x64]
cmp ebp, 0x600000
jg 0x1005b6f7
je 0x1005bc69
lea eax, [ebp - 0x200000]
cmp eax, 0xf
ja case.0x1005b706.6291466
jmp dword [eax*4 + 0x1005c538]
lea eax, [ebp - 0x600001]
cmp eax, 0xe
ja case.0x1005b706.6291466
jmp dword [eax*4 + 0x1005c578]
mov eax, ebp
and eax, 0xffbfffff
cmp eax, 0x20000f
je 0x1005bcc1
cmp byte [esi + 0x17], 0
mov ebx, 1
mov dword [esp + 0x20], ebx
je 0x1005bcc8
and ebp, 0x400000
or ebp, 0x200001
mov dword [esp + 0x6c], ebp
jmp 0x1005b6d3
mov eax, ebp
and eax, 0xffbfffff
cmp eax, 0x20000e
je 0x1005bee2
cmp byte [esi + 0x17], 0
mov ebx, 1
mov dword [esp + 0x1c], ebx
je 0x1005bee9
and ebp, 0x400000
or ebp, 0x200000
mov dword [esp + 0x6c], ebp
jmp 0x1005b6d3
push esi
push edi
call fcn.1005af00
add esp, 8
mov byte [esi + 0x16], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
movzx eax, word [esi + 0xe20]
lea ebp, [esi + 0x20]
cmp ax, 0x63
je 0x1005c52a
movsx edx, word [ebp + 0xdfe]
cwde
add eax, eax
shl edx, 4
add edx, ebp
mov dword [esp + 0x18], edx
movups xmm1, xmmword [ebp + eax*8]
mov dword [edx + 0xc], 0xffffffff
movaps xmm0, xmm1
movd ecx, xmm1
psrldq xmm0, 4
movd ebx, xmm0
movaps xmm0, xmm1
psrldq xmm0, 8
movd eax, xmm0
movups xmmword [esp + 0x30], xmm1
mov dword [esp + 0x24], ebx
mov dword [edx + 8], ebx
mov dword [esp + 0x14], eax
mov dword [edx + 4], eax
mov dword [esp + 0x10], ecx
mov dword [edx], ecx
test eax, eax
je 0x1005b8dc
mov ecx, dword [ebp + 0xe04]
add eax, ecx
cmp eax, dword [ebp + 0xe08]
jle 0x1005b827
mov dword [edx + 4], 0
mov dword [edx + 8], 0
jmp 0x1005b8c6
mov eax, dword [esp + 0x14]
mov dword [edx + 0xc], ecx
add dword [ebp + 0xe04], eax
xor eax, eax
mov dword [esp + 0x6c], eax
cmp dword [edx + 4], eax
jle 0x1005b8c6
mov ecx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
nop dword [eax]
mov ebx, dword [edx]
add ebx, eax
cmp ebx, dword [edi + 8]
jle 0x1005b877
push 0xe72
push str.D:Projectm2extLibrariesimguiimgui_widgets.cpp
push str.idx___obj__CurLenW
call ecx
mov edx, dword [esp + 0x24]
add esp, 0xc
mov ecx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test ebx, ebx
js 0x1005b880
cmp ebx, dword [edi + 0x10]
jl 0x1005b898
push 0x72f
push str.D:Projectm2extLibrariesimguiimgui.h
push str.i___0__i___Size
call ecx
mov edx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [edi + 0x18]
mov ecx, dword [edx + 0xc]
add ecx, dword [esp + 0x6c]
mov ax, word [eax + ebx*2]
mov word [ebp + ecx*2 + 0x630], ax
mov eax, dword [esp + 0x6c]
mov ecx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
inc eax
mov dword [esp + 0x6c], eax
cmp eax, dword [edx + 4]
jl 0x1005b850
mov ebx, dword [esp + 0x24]
push dword [esp + 0x14]
mov eax, dword [esp + 0x14]
push eax
push edi
call fcn.10053ec0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
test ebx, ebx
je 0x1005b8ff
mov eax, dword [esp + 0x3c]
push ebx
lea eax, [eax*2 + 0x630]
add eax, ebp
push eax
push ecx
push edi
call fcn.10054010
add esp, 0x10
add dword [ebp + 0xe08], ebx
mov eax, dword [esp + 0x10]
add eax, ebx
mov dword [esi], eax
inc word [ebp + 0xdfe]
inc word [ebp + 0xe00]
pop edi
mov byte [esi + 0x16], 0
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
cmp eax, ecx
jne 0x1005b9a7
mov eax, dword [esi]
test eax, eax
jle 0x1005c52a
pop edi
dec eax
mov byte [esi + 0x16], 0
mov dword [esi], eax
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov eax, dword [esi + 4]
mov ebx, dword [esi + 8]
cmp eax, ebx
je 0x1005b980
jle 0x1005b95a
mov dword [esi + 8], eax
mov ecx, ebx
mov dword [esi + 4], ebx
jmp 0x1005b95e
mov ecx, eax
mov eax, ebx
mov edx, dword [edi + 8]
cmp ecx, edx
cmovg ecx, edx
cmp eax, edx
jle 0x1005b96f
mov dword [esi + 8], edx
mov eax, edx
cmp ecx, eax
jne 0x1005b975
mov dword [esi], ecx
mov dword [esi], eax
mov dword [esi + 4], eax
mov byte [esi + 0x16], 0
jmp 0x1005b984
inc dword [esi]
mov eax, dword [esi]
mov ecx, dword [edi + 8]
cmp eax, ecx
jle 0x1005c52a
pop edi
mov dword [esi], ecx
mov byte [esi + 0x16], 0
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x1005b9bf
jle 0x1005b9ae
mov eax, ecx
mov dword [esi + 4], eax
pop edi
mov dword [esi], eax
mov dword [esi + 8], eax
mov byte [esi + 0x16], 0
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
push dword [esi]
push edi
call fcn.10054260
mov ecx, dword [esi + 4]
add esp, 8
mov edx, dword [esi + 8]
mov dword [esi], eax
mov eax, dword [edi + 8]
cmp ecx, edx
je 0x1005b9f1
cmp ecx, eax
jle 0x1005b9e2
mov dword [esi + 4], eax
mov ecx, eax
cmp edx, eax
jle 0x1005b9eb
mov dword [esi + 8], eax
mov edx, eax
cmp ecx, edx
jne 0x1005b9f1
mov dword [esi], ecx
cmp dword [esi], eax
jle 0x1005c52e
pop edi
mov dword [esi], eax
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov eax, dword [esi + 4]
mov ebx, dword [esi + 8]
cmp eax, ebx
je 0x1005ba45
jle 0x1005ba19
mov dword [esi + 8], eax
mov ecx, ebx
mov dword [esi + 4], ebx
jmp 0x1005ba1d
mov ecx, eax
mov eax, ebx
mov edx, dword [edi + 8]
cmp ecx, edx
cmovg ecx, edx
cmp eax, edx
jle 0x1005ba2e
mov dword [esi + 8], edx
mov eax, edx
cmp ecx, eax
jne 0x1005ba34
mov dword [esi], ecx
pop edi
mov dword [esi], eax
mov dword [esi + 4], eax
mov byte [esi + 0x16], 0
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
push dword [esi]
push edi
call fcn.100543e0
mov ecx, dword [esi + 4]
add esp, 8
mov edx, dword [esi + 8]
mov dword [esi], eax
mov eax, dword [edi + 8]
cmp ecx, edx
je 0x1005ba77
cmp ecx, eax
jle 0x1005ba68
mov dword [esi + 4], eax
mov ecx, eax
cmp edx, eax
jle 0x1005ba71
mov dword [esi + 8], eax
mov edx, eax
cmp ecx, edx
jne 0x1005ba77
mov dword [esi], ecx
cmp dword [esi], eax
jle 0x1005c52e
pop edi
mov dword [esi], eax
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov dword [esi + 8], 0
mov dword [esi + 4], 0
pop edi
mov dword [esi], 0
mov byte [esi + 0x16], 0
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov eax, dword [edi + 8]
pop edi
mov dword [esi], eax
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov byte [esi + 0x16], 0
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov ebx, dword [esi + 4]
mov edx, dword [esi + 8]
mov ecx, dword [edi + 8]
cmp ebx, edx
je 0x1005baf5
mov eax, ebx
cmp ebx, ecx
jle 0x1005bae0
mov dword [esi + 4], ecx
mov eax, ecx
mov ebp, edx
cmp edx, ecx
jle 0x1005baeb
mov dword [esi + 8], ecx
mov ebp, ecx
mov ebx, eax
mov edx, ebp
cmp eax, ebp
jne 0x1005baf5
mov dword [esi], eax
mov eax, dword [esi]
cmp eax, ecx
jle 0x1005baff
mov dword [esi], ecx
mov eax, ecx
cmp ebx, edx
je 0x1005bb15
mov eax, ebx
jle 0x1005bb0c
mov dword [esi + 4], edx
mov eax, edx
mov dword [esi], eax
mov dword [esi + 8], eax
mov byte [esi + 0x16], 0
cmp byte [esi + 0x17], 0
jne 0x1005ba97
test eax, eax
jle 0x1005c52a
mov ebp, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
nop dword [eax]
lea ebx, [eax - 1]
cmp ebx, dword [edi + 8]
jle 0x1005bb4c
push 0xe72
push str.D:Projectm2extLibrariesimguiimgui_widgets.cpp
push str.idx___obj__CurLenW
call ebp
add esp, 0xc
test ebx, ebx
js 0x1005bb55
cmp ebx, dword [edi + 0x10]
jl 0x1005bb69
push 0x72f
push str.D:Projectm2extLibrariesimguiimgui.h
push str.i___0__i___Size
call ebp
add esp, 0xc
mov eax, dword [edi + 0x18]
mov ax, word [eax + ebx*2]
cmp ax, word [0x10091014]
je 0x1005c52a
mov eax, dword [esi]
dec eax
mov dword [esi], eax
test eax, eax
jg 0x1005bb30
pop edi
mov byte [esi + 0x16], 0
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
mov ebp, dword [edi + 8]
cmp ecx, eax
je 0x1005bbbf
mov edx, ecx
cmp ecx, ebp
jle 0x1005bbaa
mov dword [esi + 4], ebp
mov edx, ebp
mov ebx, eax
cmp eax, ebp
jle 0x1005bbb5
mov dword [esi + 8], ebp
mov ebx, ebp
mov ecx, edx
mov eax, ebx
cmp edx, ebx
jne 0x1005bbbf
mov dword [esi], edx
mov ebx, dword [esi]
cmp ebx, ebp
jle 0x1005bbc9
mov dword [esi], ebp
mov ebx, ebp
cmp ecx, eax
je 0x1005bbdf
mov ebx, ecx
jle 0x1005bbd6
mov dword [esi + 4], eax
mov ebx, eax
mov dword [esi], ebx
mov dword [esi + 8], ebx
mov byte [esi + 0x16], 0
cmp byte [esi + 0x17], 0
je 0x1005bbf3
pop edi
mov dword [esi], ebp
mov byte [esi + 0x16], 0
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
cmp ebx, ebp
jge 0x1005c52a
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp ebx, dword [edi + 8]
jle 0x1005bc1e
push 0xe72
push str.D:Projectm2extLibrariesimguiimgui_widgets.cpp
push str.idx___obj__CurLenW
call eax
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
test ebx, ebx
js 0x1005bc27
cmp ebx, dword [edi + 0x10]
jl 0x1005bc3b
push 0x72f
push str.D:Projectm2extLibrariesimguiimgui.h
push str.i___0__i___Size
call eax
add esp, 0xc
mov eax, dword [edi + 0x18]
mov ax, word [eax + ebx*2]
cmp ax, word [0x10091014]
je 0x1005c52a
mov ebx, dword [esi]
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
inc ebx
mov dword [esi], ebx
cmp ebx, ebp
jl 0x1005bc00
pop edi
mov byte [esi + 0x16], 0
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov ecx, dword [edi + 8]
mov edi, dword [esi + 4]
mov edx, dword [esi + 8]
cmp edi, edx
je 0x1005bc96
mov eax, edi
cmp edi, ecx
jle 0x1005bc81
mov dword [esi + 4], ecx
mov eax, ecx
mov ebx, edx
cmp edx, ecx
jle 0x1005bc8c
mov dword [esi + 8], ecx
mov ebx, ecx
mov edi, eax
mov edx, ebx
cmp eax, ebx
jne 0x1005bc96
mov dword [esi], eax
mov eax, dword [esi]
cmp eax, ecx
cmovg eax, ecx
cmp edi, edx
jne 0x1005bca9
mov dword [esi + 8], eax
mov dword [esi + 4], eax
jmp 0x1005bcab
mov eax, edx
test eax, eax
jle 0x1005bcb3
dec eax
mov dword [esi + 8], eax
pop edi
mov dword [esi], eax
mov byte [esi + 0x16], 0
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov ebx, dword [esi + 0x10]
mov dword [esp + 0x20], ebx
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
test ebp, 0x400000
je 0x1005bd54
cmp ecx, eax
jne 0x1005bd50
mov ecx, dword [esi]
mov eax, ecx
mov dword [esi + 8], ecx
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
cmp ecx, eax
je 0x1005bd03
cmp ecx, edx
jle 0x1005bcf4
mov dword [esi + 4], edx
mov ecx, edx
cmp eax, edx
jle 0x1005bcfd
mov dword [esi + 8], edx
mov eax, edx
cmp ecx, eax
jne 0x1005bd03
mov dword [esi], ecx
mov ecx, dword [esi]
cmp ecx, edx
jle 0x1005bd0d
mov dword [esi], edx
mov ecx, edx
movzx eax, byte [esi + 0x17]
push eax
push ecx
lea eax, [esp + 0x38]
push edi
push eax
call fcn.1005b4c0
add esp, 0x10
mov dword [esp + 0x1c], 0
test ebx, ebx
jle 0x1005c52e
mov eax, dword [esp + 0x40]
lea edx, [esi + 0x1c]
mov ecx, dword [esp + 0x3c]
nop dword [eax]
cmp byte [esi + 0x16], 0
mov dword [esp + 0x2c], edx
je 0x1005bd8e
movss xmm0, dword [edx]
jmp 0x1005bd94
mov dword [esi], eax
jmp 0x1005bce4
cmp ecx, eax
je 0x1005bce4
mov edx, ecx
jle 0x1005bd66
mov edx, eax
mov dword [esi + 8], ecx
mov dword [esi + 4], edx
mov eax, ecx
mov ecx, dword [edi + 8]
cmp edx, ecx
cmovg edx, ecx
cmp eax, ecx
jle 0x1005bd77
mov dword [esi + 8], ecx
mov eax, ecx
cmp edx, eax
jne 0x1005bd7d
mov dword [esi], edx
mov dword [esi], eax
mov dword [esi + 4], eax
mov byte [esi + 0x16], 0
mov edx, dword [edi + 8]
jmp 0x1005bd03
movss xmm0, dword [esp + 0x30]
add ecx, eax
movss dword [esp + 0x10], xmm0
mov dword [esp + 0x14], ecx
test eax, eax
je 0x1005c52e
lea ebx, [ecx - 1]
cmp ebx, dword [edi + 8]
jle 0x1005bdc8
push 0xe72
push str.D:Projectm2extLibrariesimguiimgui_widgets.cpp
push str.idx___obj__CurLenW
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
test ebx, ebx
js 0x1005bdd1
cmp ebx, dword [edi + 0x10]
jl 0x1005bde9
push 0x72f
push str.D:Projectm2extLibrariesimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [edi + 0x18]
mov ax, word [eax + ebx*2]
cmp ax, word [0x10091014]
jne 0x1005c52e
mov eax, dword [esp + 0x14]
push eax
mov dword [esi], eax
lea eax, [esp + 0x4c]
push edi
push eax
call fcn.10054190
mov eax, dword [esp + 0x68]
add esp, 0xc
movss xmm0, dword [esp + 0x48]
xor ebx, ebx
movss dword [esp + 0x18], xmm0
mov dword [esp + 0x24], eax
test eax, eax
jle 0x1005be73
mov ebp, eax
nop
push ebx
push dword [esp + 0x18]
push edi
call fcn.10053f80
fstp dword [esp + 0x34]
movss xmm0, dword [esp + 0x34]
add esp, 0xc
ucomiss xmm0, dword [0x100792dc]
lahf
test ah, 0x44
jnp 0x1005be6f
addss xmm0, dword [esp + 0x18]
comiss xmm0, dword [esp + 0x10]
movss dword [esp + 0x18], xmm0
ja 0x1005be6f
inc dword [esi]
inc ebx
cmp ebx, ebp
jl 0x1005be30
mov ebp, dword [esp + 0x6c]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov eax, dword [edi + 8]
cmp ecx, edx
je 0x1005be98
cmp ecx, eax
jle 0x1005be89
mov dword [esi + 4], eax
mov ecx, eax
cmp edx, eax
jle 0x1005be92
mov dword [esi + 8], eax
mov edx, eax
cmp ecx, edx
jne 0x1005be98
mov dword [esi], ecx
mov ecx, dword [esi]
cmp ecx, eax
jle 0x1005bea2
mov dword [esi], eax
mov ecx, eax
mov edx, dword [esp + 0x2c]
movss xmm0, dword [esp + 0x10]
mov byte [esi + 0x16], 1
movss dword [edx], xmm0
test ebp, 0x400000
je 0x1005bebf
mov dword [esi + 8], ecx
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
inc ebx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], ebx
cmp ebx, dword [esp + 0x20]
jl 0x1005bd40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov ebx, dword [esi + 0x10]
mov dword [esp + 0x1c], ebx
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
test ebp, 0x400000
je 0x1005bf75
cmp eax, ecx
jne 0x1005bf71
mov eax, dword [esi]
mov ecx, eax
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov edx, dword [edi + 8]
cmp eax, ecx
je 0x1005bf24
cmp eax, edx
jle 0x1005bf15
mov dword [esi + 4], edx
mov eax, edx
cmp ecx, edx
jle 0x1005bf1e
mov dword [esi + 8], edx
mov ecx, edx
cmp eax, ecx
jne 0x1005bf24
mov dword [esi], eax
mov ecx, dword [esi]
cmp ecx, edx
jle 0x1005bf2e
mov dword [esi], edx
mov ecx, edx
movzx eax, byte [esi + 0x17]
push eax
push ecx
lea eax, [esp + 0x38]
push edi
push eax
call fcn.1005b4c0
add esp, 0x10
mov dword [esp + 0x20], 0
test ebx, ebx
jle 0x1005c52e
mov ecx, dword [esp + 0x44]
lea edx, [esi + 0x1c]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
cmp byte [esi + 0x16], 0
mov dword [esp + 0x18], edx
je 0x1005bf8e
movss xmm0, dword [edx]
jmp 0x1005bf94
mov dword [esi], ecx
jmp 0x1005bf05
cmp eax, ecx
je 0x1005bf05
jle 0x1005bf80
mov eax, ecx
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 8], eax
mov byte [esi + 0x16], 0
mov edx, dword [edi + 8]
jmp 0x1005bf24
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x14], xmm0
cmp ecx, eax
je 0x1005c52e
push ecx
lea eax, [esp + 0x4c]
mov dword [esi], ecx
push edi
push eax
call fcn.10054190
movss xmm0, dword [esp + 0x54]
xor ebx, ebx
add esp, 0xc
movss dword [esp + 0x24], xmm0
cmp dword [esp + 0x5c], ebx
jle 0x1005c012
mov ebp, dword [esp + 0x10]
nop dword [eax + eax]
push ebx
push ebp
push edi
call fcn.10053f80
fstp dword [esp + 0x38]
movss xmm0, dword [esp + 0x38]
add esp, 0xc
ucomiss xmm0, dword [0x100792dc]
lahf
test ah, 0x44
jnp 0x1005c00e
addss xmm0, dword [esp + 0x24]
comiss xmm0, dword [esp + 0x14]
movss dword [esp + 0x24], xmm0
ja 0x1005c00e
inc dword [esi]
inc ebx
cmp ebx, dword [esp + 0x5c]
jl 0x1005bfd0
mov ebp, dword [esp + 0x6c]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov eax, dword [edi + 8]
cmp ecx, edx
je 0x1005c037
cmp ecx, eax
jle 0x1005c028
mov dword [esi + 4], eax
mov ecx, eax
cmp edx, eax
jle 0x1005c031
mov dword [esi + 8], eax
mov edx, eax
cmp ecx, edx
jne 0x1005c037
mov dword [esi], ecx
mov ecx, dword [esi]
cmp ecx, eax
jle 0x1005c041
mov dword [esi], eax
mov ecx, eax
mov edx, dword [esp + 0x18]
movss xmm0, dword [esp + 0x14]
mov byte [esi + 0x16], 1
movss dword [edx], xmm0
test ebp, 0x400000
je 0x1005c05e
mov dword [esi + 8], ecx
mov ebp, dword [esp + 0x10]
test ebp, ebp
jle 0x1005c0f3
dec ebp
test ebp, ebp
jle 0x1005c0ca
lea ebx, [ebp - 1]
cmp ebx, dword [edi + 8]
jle 0x1005c08f
push 0xe72
push str.D:Projectm2extLibrariesimguiimgui_widgets.cpp
push str.idx___obj__CurLenW
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
test ebx, ebx
js 0x1005c098
cmp ebx, dword [edi + 0x10]
jl 0x1005c0b0
push 0x72f
push str.D:Projectm2extLibrariesimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [edi + 0x18]
mov ax, word [eax + ebx*2]
cmp ax, word [0x10091014]
je 0x1005c0c6
dec ebp
dec ebx
test ebp, ebp
jg 0x1005c072
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov ecx, ebp
mov eax, dword [esp + 0x10]
inc ebx
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], ebx
cmp ebx, dword [esp + 0x1c]
jl 0x1005bf61
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
xor ebp, ebp
jmp 0x1005c0ca
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jne 0x1005c107
mov eax, dword [esi]
mov dword [esi + 8], eax
mov dword [esi + 4], eax
push dword [esi]
push edi
call fcn.10054260
mov edx, dword [esi + 4]
add esp, 8
mov dword [esi], eax
mov dword [esi + 8], eax
mov ecx, dword [edi + 8]
cmp edx, eax
je 0x1005c13d
cmp edx, ecx
jle 0x1005c12a
mov dword [esi + 4], ecx
mov edx, ecx
mov edi, eax
cmp eax, ecx
jle 0x1005c135
mov dword [esi + 8], ecx
mov edi, ecx
cmp edx, edi
jne 0x1005c13d
mov dword [esi], edx
mov eax, edx
cmp eax, ecx
jle 0x1005c52e
pop edi
mov dword [esi], ecx
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jne 0x1005c15f
mov eax, dword [esi]
mov dword [esi + 8], eax
mov dword [esi + 4], eax
push dword [esi]
push edi
call fcn.100543e0
mov edx, dword [esi + 4]
add esp, 8
mov dword [esi], eax
mov dword [esi + 8], eax
mov ecx, dword [edi + 8]
cmp edx, eax
je 0x1005c195
cmp edx, ecx
jle 0x1005c182
mov dword [esi + 4], ecx
mov edx, ecx
mov edi, eax
cmp eax, ecx
jle 0x1005c18d
mov dword [esi + 8], ecx
mov edi, ecx
cmp edx, edi
jne 0x1005c195
mov dword [esi], edx
mov eax, edx
cmp eax, ecx
jle 0x1005c52e
pop edi
mov dword [esi], ecx
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
cmp edx, eax
jne 0x1005c1ba
mov eax, dword [esi]
mov edx, eax
mov dword [esi + 4], eax
jmp 0x1005c1bc
mov dword [esi], eax
inc eax
mov dword [esi + 8], eax
mov ecx, dword [edi + 8]
cmp edx, eax
je 0x1005c1e2
cmp edx, ecx
jle 0x1005c1d0
mov dword [esi + 4], ecx
mov edx, ecx
mov edi, eax
cmp eax, ecx
jle 0x1005c1db
mov dword [esi + 8], ecx
mov edi, ecx
cmp edx, edi
mov eax, edi
cmove eax, edi
pop edi
mov dword [esi], eax
mov byte [esi + 0x16], 0
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jne 0x1005c224
mov eax, dword [esi]
cmp eax, dword [edi + 8]
jge 0x1005c52a
push 1
push eax
push esi
push edi
call fcn.1005b250
add esp, 0x10
mov byte [esi + 0x16], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x1005c23a
push esi
push edi
call fcn.1005b320
add esp, 8
mov byte [esi + 0x16], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov ecx, dword [edi + 8]
mov eax, dword [esi]
cmp eax, ecx
jle 0x1005c247
mov dword [esi], ecx
mov eax, ecx
test eax, eax
jle 0x1005c52a
push 1
dec eax
push eax
push esi
push edi
call fcn.1005b250
add esp, 0x10
mov byte [esi + 0x16], 0
dec dword [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jne 0x1005c278
mov eax, dword [esi]
mov dword [esi + 4], eax
pop edi
mov dword [esi + 8], 0
mov dword [esi], 0
mov byte [esi + 0x16], 0
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov eax, dword [esi + 8]
cmp dword [esi + 4], eax
jne 0x1005c2b5
mov eax, dword [esi]
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
pop edi
mov dword [esi + 8], eax
mov dword [esi], eax
mov byte [esi + 0x16], 0
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov dword [esi], eax
mov eax, dword [edi + 8]
pop edi
mov dword [esi + 8], eax
mov dword [esi], eax
mov byte [esi + 0x16], 0
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov ebx, dword [esi + 4]
mov edx, dword [esi + 8]
mov ecx, dword [edi + 8]
cmp ebx, edx
je 0x1005c2f8
mov eax, ebx
cmp ebx, ecx
jle 0x1005c2e3
mov dword [esi + 4], ecx
mov eax, ecx
mov ebp, edx
cmp edx, ecx
jle 0x1005c2ee
mov dword [esi + 8], ecx
mov ebp, ecx
mov ebx, eax
mov edx, ebp
cmp eax, ebp
jne 0x1005c2f8
mov dword [esi], eax
mov eax, dword [esi]
cmp eax, ecx
jle 0x1005c302
mov dword [esi], ecx
mov eax, ecx
cmp ebx, edx
jne 0x1005c30e
mov dword [esi + 8], eax
mov dword [esi + 4], eax
jmp 0x1005c312
mov dword [esi], edx
mov eax, edx
cmp byte [esi + 0x17], 0
je 0x1005c32f
mov dword [esi], 0
mov eax, dword [esi]
pop edi
mov dword [esi + 8], eax
mov byte [esi + 0x16], 0
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
test eax, eax
jle 0x1005c392
mov ebp, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
nop dword [eax]
lea ebx, [eax - 1]
cmp ebx, dword [edi + 8]
jle 0x1005c35c
push 0xe72
push str.D:Projectm2extLibrariesimguiimgui_widgets.cpp
push str.idx___obj__CurLenW
call ebp
add esp, 0xc
test ebx, ebx
js 0x1005c365
cmp ebx, dword [edi + 0x10]
jl 0x1005c379
push 0x72f
push str.D:Projectm2extLibrariesimguiimgui.h
push str.i___0__i___Size
call ebp
add esp, 0xc
mov eax, dword [edi + 0x18]
mov ax, word [eax + ebx*2]
cmp ax, word [0x10091014]
je 0x1005c392
mov eax, dword [esi]
dec eax
mov dword [esi], eax
test eax, eax
jg 0x1005c340
mov eax, dword [esi]
pop edi
mov dword [esi + 8], eax
mov byte [esi + 0x16], 0
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
mov ebp, dword [edi + 8]
cmp ecx, eax
je 0x1005c3d0
mov edx, ecx
cmp ecx, ebp
jle 0x1005c3bb
mov dword [esi + 4], ebp
mov edx, ebp
mov ebx, eax
cmp eax, ebp
jle 0x1005c3c6
mov dword [esi + 8], ebp
mov ebx, ebp
mov ecx, edx
mov eax, ebx
cmp edx, ebx
jne 0x1005c3d0
mov dword [esi], edx
mov ebx, dword [esi]
cmp ebx, ebp
jle 0x1005c3da
mov dword [esi], ebp
mov ebx, ebp
cmp ecx, eax
jne 0x1005c3e6
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
jmp 0x1005c3ea
mov dword [esi], eax
mov ebx, eax
cmp byte [esi + 0x17], 0
je 0x1005c403
mov eax, ebp
mov dword [esi], ebp
pop edi
mov dword [esi + 8], eax
mov byte [esi + 0x16], 0
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
cmp ebx, ebp
jge 0x1005c392
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
nop dword [eax]
cmp ebx, dword [edi + 8]
jle 0x1005c42e
push 0xe72
push str.D:Projectm2extLibrariesimguiimgui_widgets.cpp
push str.idx___obj__CurLenW
call eax
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
test ebx, ebx
js 0x1005c437
cmp ebx, dword [edi + 0x10]
jl 0x1005c44b
push 0x72f
push str.D:Projectm2extLibrariesimguiimgui.h
push str.i___0__i___Size
call eax
add esp, 0xc
mov eax, dword [edi + 0x18]
mov ax, word [eax + ebx*2]
cmp ax, word [0x10091014]
je 0x1005c392
mov ebx, dword [esi]
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
inc ebx
mov dword [esi], ebx
cmp ebx, ebp
jl 0x1005c410
mov eax, ebx
mov byte [esi + 0x16], 0
pop edi
mov dword [esi + 8], eax
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
xor eax, eax
cmp ebp, 0x200000
cmovge ebp, eax
test ebp, ebp
jle 0x1005c52e
movzx eax, bp
mov dword [esp + 0x6c], eax
cmp ebp, 0xa
jne 0x1005c4a7
cmp byte [esi + 0x17], 0
jne 0x1005c52e
cmp byte [esi + 0xc], 0
je 0x1005c4f9
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jne 0x1005c4f9
mov eax, dword [esi]
cmp eax, dword [edi + 8]
jge 0x1005c4f9
push 1
push 1
push eax
push esi
push edi
call fcn.1005ae60
push 1
push dword [esi]
push edi
call fcn.10053ec0
push 1
lea eax, [esp + 0x90]
push eax
push dword [esi]
push edi
call fcn.10054010
add esp, 0x30
test al, al
je 0x1005c52e
inc dword [esi]
pop edi
mov byte [esi + 0x16], 0
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
push esi
push edi
call fcn.1005b320
push 1
lea eax, [esp + 0x78]
push eax
push dword [esi]
push edi
call fcn.10054010
add esp, 0x18
test al, al
je 0x1005c52e
push 1
push 0
push dword [esi]
lea eax, [esi + 0x20]
push eax
call fcn.1005ac30
add esp, 0x10
inc dword [esi]
mov byte [esi + 0x16], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret