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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push edi
mov dword [esp + 0x18], esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test eax, eax
je 0x102450c9
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x102450c9
xor edi, edi
mov dword [esp + 0x1c], edi
cmp dword [ecx + 0xc], edi
jle 0x102450d0
xor eax, eax
mov dword [esp + 0x20], eax
mov ecx, dword [ecx + 0x18]
sub esp, 0x10
add ecx, eax
mov eax, esp
mov dword [esp + 0x34], ecx
push dword [ebp + 0xc]
movups xmm0, xmmword [ecx + 4]
movups xmmword [eax], xmm0
lea eax, [esp + 0x44]
push eax
lea eax, [esi + 0x24]
mov ecx, eax
call fcn.102438a0
movss xmm0, dword [esp + 0x30]
comiss xmm0, dword [esp + 0x38]
jae 0x10244e0c
movss xmm0, dword [esp + 0x34]
comiss xmm0, dword [esp + 0x3c]
jae 0x10244e0c
xor al, al
jmp 0x10244e0e
mov al, 1
test al, al
jne 0x102450a2
mov edx, dword [esi + 0xc]
sub edx, 1
js 0x10244e4e
mov ecx, dword [esi + 4]
lea eax, [edx*8]
sub eax, edx
shl eax, 2
nop dword [eax]
cmp byte [eax + ecx + 5], 0
jne 0x10244e4e
mov byte [eax + ecx + 5], 1
mov ecx, dword [esi + 4]
cmp byte [eax + ecx + 4], 0
jne 0x10244e4e
sub eax, 0x1c
sub edx, 1
jns 0x10244e30
mov edi, dword [esi + 0x1c]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
inc edx
cmp edx, ecx
jg 0x10244e76
mov esi, dword [esp + 0x18]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [edi + 0xc]
inc edx
cmp edx, eax
jge 0x10244e85
mov ecx, dword [edi + 8]
lea eax, [edx + 1]
sar eax, 1
add eax, edx
cmp eax, ecx
cmovge ecx, eax
cmp ecx, dword [edi + 0x10]
je 0x10244ef6
mov dword [edi + 0x10], ecx
cmp ecx, dword [edi + 8]
jne 0x10244e9d
mov edx, dword [edi + 0x14]
mov dword [esp + 0x14], edx
test edx, edx
jne 0x10244ec3
imul esi, ecx, 0x8c
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [esp + 0x14], eax
mov edx, eax
test esi, esi
je 0x10244ebf
test edx, edx
je 0x102450d8
mov esi, dword [esp + 0x18]
mov eax, dword [edi + 0xc]
imul eax, eax, 0x8c
push eax
push dword [edi + 0x18]
push edx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [edi + 0x18]
add esp, 0xc
cmp eax, dword [edi + 0x14]
je 0x10244eef
test eax, eax
je 0x10244eef
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [edi + 0x18], eax
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp + 8]
imul edx, eax, 0x8c
inc eax
mov dword [edi + 0xc], eax
add edx, dword [edi + 0x18]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x14], edx
mov dword [edx], 0
mov dword [edx + 0x74], 0
mov dword [edx + 0x84], 0
mov dword [edx + 0x88], 0
mov eax, dword [edi]
test eax, eax
cmovne ecx, eax
mov eax, 1
mov dword [edx], ecx
add ecx, 4
lock xadd dword [ecx], eax
movups xmm0, xmmword [esp + 0x30]
movups xmmword [edx + 4], xmm0
movups xmm0, xmmword [edi + 0x14]
movups xmmword [edx + 0x14], xmm0
movups xmm0, xmmword [edi + 0x4c]
movups xmmword [edx + 0x4c], xmm0
movups xmm0, xmmword [edi + 0x5c]
movups xmmword [edx + 0x5c], xmm0
movq xmm0, qword [edi + 0x6c]
movq qword [edx + 0x6c], xmm0
add edx, 0x24
movups xmm0, xmmword [edi + 0x24]
mov dword [esp + 0x28], edx
movups xmmword [edx], xmm0
movups xmm0, xmmword [edi + 0x34]
movups xmmword [edx + 0x10], xmm0
movq xmm0, qword [edi + 0x44]
movq qword [edx + 0x20], xmm0
mov ecx, dword [esi + 0x40]
mov dword [esp + 0x24], ecx
mov eax, dword [ecx + 0x24]
test al, al
jns 0x10244fb3
call fcn.10165fb0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
movzx eax, al
mov dword [ecx + 0x24], eax
test al, 0xf
je 0x10244fc0
push edx
push ecx
mov ecx, edx
call fcn.10166a60
cmp dword [edi + 0x74], 0
je 0x10244fe3
push 0x44
call fcn.102af9f4
add esp, 4
mov ecx, eax
push dword [edi + 0x74]
call fcn.1014d750
mov edx, dword [esp + 0x14]
mov dword [edx + 0x74], eax
jmp 0x10244fe7
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 0x78]
mov dword [edx + 0x78], eax
mov eax, dword [edi + 0x7c]
mov dword [edx + 0x7c], eax
mov al, byte [edi + 0x80]
mov byte [edx + 0x80], al
cmp dword [esi], 0
jg 0x10245011
cmp byte [edi + 0x81], 0
jne 0x10245011
xor al, al
jmp 0x10245013
mov al, 1
mov byte [edx + 0x81], al
xor ecx, ecx
mov eax, dword [edi + 0x88]
inc eax
add eax, dword [esi + 0x18]
mov dword [edx + 0x88], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.102affa2
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx + 0x84], eax
mov ecx, dword [esi + 0x18]
shl ecx, 2
push ecx
push dword [esi + 0x10]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x20]
add esp, 0xc
mov edx, dword [esi + 0x18]
mov ecx, dword [eax + 0x84]
mov eax, dword [esi + 0x3c]
mov dword [ecx + edx*4], eax
mov eax, dword [edi + 0x88]
mov ecx, dword [esi + 0x18]
shl eax, 2
push eax
mov eax, dword [esp + 0x18]
push dword [edi + 0x84]
mov eax, dword [eax + 0x84]
lea eax, [eax + ecx*4]
add eax, 4
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edi, dword [esp + 0x28]
add esp, 0xc
mov ecx, dword [esp + 0x2c]
inc edi
mov eax, dword [esp + 0x20]
add eax, 0x8c
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
cmp edi, dword [ecx + 0xc]
jl 0x10244dc7
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, esi
call fcn.10245120
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
int3