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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x30], ebx
cmp dword [ebx + 0x7c], 1
jle 0x10032cd8
cmp dword [ebx + 0x7c], 1
lea edi, [ebx + 0x78]
mov dword [ebp - 0x2c], edi
jle 0x10032cd8
push 0
push ebx
mov ecx, edi
call fcn.100360b0
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
test eax, eax
je 0x100328bb
mov edi, dword [ebx + 8]
lea esi, [eax + eax*4]
cmp dword [edi + esi*8 - 0xc], 0
lea edi, [ebx + 0x78]
jne 0x100328bb
mov edi, dword [ebx + 8]
cmp dword [edi + esi*8 - 8], 0
lea edi, [ebx + 0x78]
jne 0x100328bb
test eax, eax
jg 0x100328b5
push 0x762
push str.D:MyFilesDLLDLL_WITH_HWID_RANPINASImGui_StandaloneImGuiimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
dec dword [ebx]
mov ecx, dword [ebx]
mov edx, ecx
cmp dword [edi + 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
jle 0x100328ef
test ecx, ecx
jle 0x100328ef
mov eax, dword [ebx + 8]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 0xffffffd8
mov dword [ebp - 0x14], eax
je 0x100328f4
mov esi, dword [eax + 0x1c]
add esi, dword [eax + 0x18]
mov dword [ebp - 0x14], eax
jmp 0x100328f6
xor eax, eax
mov dword [ebp - 0x14], eax
xor esi, esi
mov eax, 1
mov dword [ebp - 8], esi
mov dword [ebp - 0x24], eax
cmp dword [edi + 4], eax
jle 0x10032b13
mov ebx, dword [ebp - 0x14]
mov edx, 0x18
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x28], ecx
test eax, eax
js 0x10032924
cmp eax, dword [edi + 8]
jl 0x1003293f
push 0x74d
push str.D:MyFilesDLLDLL_WITH_HWID_RANPINASImGui_StandaloneImGuiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [ebp - 0x18]
add esp, 0xc
mov edi, dword [edi + 0x10]
add edi, edx
mov eax, dword [edi]
mov edx, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
test eax, eax
jle 0x1003297f
lea ecx, [eax + eax*4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
mov eax, dword [edi + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x1003297f
lea ecx, [edx + edx*4]
mov dword [ebp - 0x14], edx
cmp dword [eax + ecx*8 - 8], 0
mov dword [ebp - 4], edx
jne 0x1003297f
dec dword [edi]
mov edx, dword [edi]
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, edx
mov dword [ebp - 0x20], eax
test edx, edx
jle 0x10032a9f
mov edx, eax
test ebx, ebx
je 0x10032aa2
mov eax, dword [edi + 8]
mov ecx, ebx
mov dword [ebp - 0x20], eax
mov edx, eax
mov dword [ebp - 0x1c], 0x14
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100329cb
add ecx, 4
add edx, 4
sub dword [ebp - 0x1c], 4
jae 0x100329b0
mov dword [ebp - 0x1c], 0
jmp 0x100329fa
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x100329f2
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100329f2
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x100329f2
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x100329f2
mov dword [ebp - 0x1c], 0
jmp 0x100329fa
sbb eax, eax
or eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov edx, dword [ebp - 4]
jne 0x10032aa2
cmp dword [ebx + 0x20], 0
jne 0x10032aa2
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x20], 0
jne 0x10032aa2
mov eax, dword [eax + 0x1c]
add dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [edi + 8]
mov dword [ebp - 0x20], ecx
add esi, dword [eax + 0x1c]
mov eax, dword [edi]
mov dword [ebp - 8], esi
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
cmp ecx, eax
jb 0x10032a5f
push 0x764
push str.D:MyFilesDLLDLL_WITH_HWID_RANPINASImGui_StandaloneImGuiimgui.h
push 0x10063b1c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [ebp - 0x20]
add esp, 0xc
mov esi, dword [edi + 8]
mov eax, 0x66666667
sub ecx, esi
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + ecx*4]
lea edx, [esi + eax*8]
mov eax, dword [edi]
sub eax, ecx
lea eax, [eax + eax*4]
lea eax, [eax*8 - 0x28]
push eax
lea eax, [edx + 0x28]
push eax
push edx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
dec dword [edi]
mov ecx, dword [edi]
mov edx, ecx
jmp 0x10032aa2
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 8]
test ecx, ecx
jle 0x10032ae8
mov eax, dword [edi + 8]
lea ecx, [edx - 1]
add dword [ebp - 0xc], edx
lea ecx, [ecx + ecx*4]
lea ebx, [eax + ecx*8]
mov eax, dword [ebp - 0x10]
add eax, dword [edi + 0xc]
xor ecx, ecx
mov dword [ebp - 0x10], eax
test edx, edx
jle 0x10032af4
mov edx, dword [edi + 8]
xor eax, eax
nop dword [eax]
mov dword [edx + eax + 0x18], esi
lea eax, [eax + 0x28]
mov edx, dword [edi + 8]
inc ecx
add esi, dword [edx + eax - 0xc]
cmp ecx, dword [edi]
jl 0x10032ad0
mov dword [ebp - 8], esi
jmp 0x10032af4
mov eax, dword [edi + 0xc]
add dword [ebp - 0xc], ecx
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x2c]
inc eax
mov edx, dword [ebp - 0x18]
add edx, 0x18
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], edx
cmp eax, dword [edi + 4]
jl 0x10032915
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebx]
add esi, dword [ebp - 0xc]
mov eax, dword [ebx + 4]
cmp esi, eax
jle 0x10032b43
test eax, eax
je 0x10032b2f
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [ebx + 4]
jmp 0x10032b34
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, ebx
push eax
call fcn.1002ace0
lea eax, [ebx + 0xc]
mov dword [ebx], esi
mov edx, dword [eax]
mov esi, dword [eax + 4]
mov dword [ebp - 0x30], edx
add edx, dword [ebp - 0x10]
mov dword [ebp - 0x24], edx
cmp edx, esi
jle 0x10032b89
test esi, esi
je 0x10032b6e
mov eax, esi
cdq
sub eax, edx
mov edx, dword [ebp - 0x24]
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x10032b73
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [ebx + 0xc]
push eax
call fcn.1002a8b0
mov edx, dword [ebp - 0x24]
lea eax, [ebx + 0xc]
mov dword [eax], edx
mov eax, dword [ebx]
sub eax, dword [ebp - 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 8]
lea edx, [eax + ecx*8]
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x14], edx
lea ecx, [eax + ecx*2]
mov eax, 1
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], eax
cmp dword [edi + 4], eax
jle 0x10032c4f
mov esi, 0x18
mov dword [ebp - 0x18], esi
test eax, eax
js 0x10032bca
cmp eax, dword [edi + 8]
jl 0x10032be5
push 0x74d
push str.D:MyFilesDLLDLL_WITH_HWID_RANPINASImGui_StandaloneImGuiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov edi, dword [edi + 0x10]
add edi, esi
mov eax, dword [edi]
test eax, eax
je 0x10032c0e
lea esi, [eax + eax*4]
shl esi, 3
push esi
push dword [edi + 8]
push edx
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebp - 0x14]
add esp, 0xc
add edx, esi
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x14], edx
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10032c33
lea esi, [eax + eax]
push esi
push dword [edi + 0x14]
mov edi, dword [ebp - 0x10]
push edi
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebp - 0x14]
add esp, 0xc
add edi, esi
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0x24]
lea edi, [ebx + 0x78]
inc eax
add esi, 0x18
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], esi
cmp eax, dword [edi + 4]
jl 0x10032bc1
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebx]
mov dword [ebx + 0x38], ecx
test eax, eax
je 0x10032c81
jg 0x10032c72
push 0x756
push str.D:MyFilesDLLDLL_WITH_HWID_RANPINASImGui_StandaloneImGuiimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [ebx]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 8]
cmp dword [eax + ecx*8 - 8], 0
je 0x10032c88
mov ecx, ebx
call fcn.10032fc0
mov eax, dword [ebx]
lea edx, [ebx + 0x60]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 8]
lea ecx, [ecx - 5]
cmp dword [eax + ecx*8 + 0x1c], 0
lea ecx, [eax + ecx*8]
jne 0x10032cb2
movups xmm0, xmmword [edx]
movups xmmword [ecx], xmm0
movq xmm0, qword [edx + 0x10]
movq qword [ecx + 0x10], xmm0
jmp 0x10032cd1
mov esi, 0x14
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10032cca
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10032cb7
jmp 0x10032cd1
mov ecx, ebx
call fcn.10032fc0
mov dword [edi + 4], 1
mov ecx, dword [ebx + 4]
test ecx, ecx
jns 0x10032cf7
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, ebx
call fcn.1002ace0
mov dword [ebx], 0
mov ecx, dword [ebx + 0x10]
test ecx, ecx
jns 0x10032d1d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [ebx + 0xc]
call fcn.1002a8b0
mov dword [ebx + 0xc], 0
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
jns 0x10032d44
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [ebx + 0x18]
call fcn.1002a710
mov dword [ebx + 0x18], 0
xorps xmm0, xmm0
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax + 0x28]
mov dword [ebx + 0x24], eax
movups xmmword [ebx + 0x60], xmm0
movq qword [ebx + 0x70], xmm0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov ecx, dword [ebx + 0x40]
test ecx, ecx
jns 0x10032d95
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [ebx + 0x3c]
call fcn.1002a9f0
mov dword [ebx + 0x3c], 0
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
jns 0x10032dbc
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [ebx + 0x48]
call fcn.1002aa70
mov dword [ebx + 0x48], 0
mov ecx, dword [ebx + 0x58]
test ecx, ecx
jns 0x10032de3
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [ebx + 0x54]
call fcn.1002ac60
mov dword [ebx + 0x54], 0
xorps xmm0, xmm0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 1
mov ecx, dword [ebx]
mov esi, dword [ebx + 4]
cmp ecx, esi
jne 0x10032e29
inc ecx
test esi, esi
je 0x10032e14
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x10032e19
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, ebx
call fcn.1002ace0
xorps xmm0, xmm0
mov eax, dword [ebx]
pop edi
pop esi
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 8]
movups xmmword [eax + ecx*8], xmm0
movups xmmword [eax + ecx*8 + 0x10], xmm0
movq qword [eax + ecx*8 + 0x20], xmm0
inc dword [ebx]
mov dword [ebx + 0x8c], 0x3f800000
pop ebx
mov esp, ebp
pop ebp
ret