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

Disassembly:
sub esp, 0x38
push ebx
mov ebx, dword [esp + 0x48]
push ebp
push esi
mov dword [esp + 0x10], edx
mov esi, dword [ebx + 0xc]
mov edx, esi
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx + 4]
sub edx, ecx
push edi
test edx, edx
jle 0x100e4a46
mov eax, dword [ebx]
mov dword [esp + 0x2c], eax
cmp eax, dword [ebx + 8]
jge 0x100e4a46
cmp ecx, esi
jge 0x100e4a46
mov ebp, dword [esp + 0x50]
mov edi, dword [ebp]
test edi, edi
jne 0x100e4744
cmp dword [ebp + 4], edi
jne 0x100e4744
cmp dword [ebp + 8], edi
jne 0x100e4744
cmp dword [ebp + 0xc], edi
jne 0x100e4744
mov eax, dword [esp + 0x58]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
mov eax, dword [ebx + 8]
push esi
push eax
push ecx
push dword [esp + 0x48]
jmp 0x100e4a36
movups xmm0, xmmword [ebp]
sub edi, eax
mov eax, dword [ebp + 0xc]
add edi, dword [ebx + 8]
mov ecx, eax
sub ecx, dword [ebx + 4]
add ecx, dword [ebp + 4]
add edi, dword [ebp + 8]
add ecx, esi
mov esi, dword [esp + 0x58]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp + 4]
add eax, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
mov dword [esp + 0x30], edi
movups xmmword [esp + 0x38], xmm0
cmp eax, dword [esp + 0x2c]
jne 0x100e47cc
push dword [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [ebx + 0xc]
sub edx, dword [ebx + 4]
sub edx, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edx
test edx, edx
jle 0x100e47dc
mov ecx, edx
and ecx, 0x80000001
jns 0x100e47b2
dec ecx
or ecx, 0xfffffffe
inc ecx
mov eax, dword [ebp + 0xc]
and eax, 0x80000001
jns 0x100e47c1
dec eax
or eax, 0xfffffffe
inc eax
cmp ecx, eax
je 0x100e47dc
inc edx
mov dword [esp + 0x28], edx
jmp 0x100e47dc
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
mov edx, dword [ebx + 8]
sub edx, dword [ebx]
test edx, edx
jle 0x100e480b
mov ecx, dword [esi + 8]
mov eax, dword [ebp + 8]
sub ecx, dword [esi]
add eax, dword [ebp]
cmp ecx, eax
je 0x100e480b
mov eax, dword [esp + 0x40]
mov ecx, dword [ebx + 8]
mov edx, dword [ebx]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], eax
jmp 0x100e4831
mov ecx, dword [ebp]
mov eax, dword [ebp + 8]
add eax, ecx
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [ebx + 8]
mov edx, dword [ebx]
mov dword [esp + 0x20], eax
mov eax, ecx
sub eax, edx
sub eax, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x14], 0
movzx eax, word [esp + 0x5c]
cwde
mov dword [esp + 0x18], eax
je 0x100e4a06
mov ebx, dword [esp + 0x20]
mov ecx, dword [esi + 4]
add ebx, eax
mov eax, dword [ebp + 4]
mov edx, dword [esi]
add eax, ecx
push eax
mov eax, dword [ebp]
add eax, edx
add eax, dword [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esp + 0x20]
push edx
push dword [esp + 0x2c]
mov edx, dword [esp + 0x60]
push ebx
push 0
push 0
call fcn.100e4c90
mov ecx, dword [esi + 4]
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0x38]
add eax, ecx
push eax
mov eax, dword [esi + 8]
sub edi, edx
sub eax, dword [ebp + 8]
sub edi, dword [esp + 0x50]
sub eax, edx
push eax
mov eax, dword [ebp]
push ecx
mov ecx, dword [esp + 0x40]
add eax, edx
add eax, dword [esi]
mov edx, dword [esp + 0x78]
push eax
push dword [esp + 0x4c]
push edi
push 0
push ebx
call fcn.100e4bc0
mov ecx, dword [esi + 4]
add esp, 0x40
mov eax, dword [ebp + 4]
mov edx, dword [esi + 8]
add eax, ecx
push eax
push edx
sub edx, dword [ebp + 8]
sub edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push dword [esp + 0x2c]
mov edx, dword [esp + 0x60]
push dword [esp + 0x44]
push 0
push edi
call fcn.100e4c90
mov edx, dword [esp + 0x78]
mov ecx, dword [esi]
mov esi, dword [esp + 0x44]
sub esi, dword [esp + 0x48]
mov eax, dword [edx + 0xc]
sub eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp]
add eax, ecx
push eax
mov eax, dword [ebp + 4]
add eax, dword [edx + 4]
mov edx, dword [esp + 0x74]
push eax
push ecx
mov ecx, dword [esp + 0x44]
push esi
push dword [esp + 0x54]
push dword [esp + 0x54]
push 0
call fcn.100e4bc0
mov edx, dword [esp + 0x98]
add esp, 0x40
mov eax, dword [edx + 0xc]
sub eax, dword [ebp + 0xc]
mov ecx, dword [edx + 8]
push eax
mov eax, dword [ebp + 4]
add eax, dword [edx + 4]
mov edx, dword [esp + 0x50]
push ecx
sub ecx, dword [ebp + 8]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x24]
push esi
push eax
push dword [esp + 0x34]
sub eax, dword [esp + 0x48]
push eax
call fcn.100e4bc0
mov eax, dword [esp + 0x78]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [ebp]
push edx
sub edx, dword [ebp + 0xc]
add eax, ecx
add eax, dword [esp + 0x3c]
push eax
push edx
mov edx, dword [esp + 0x78]
push ecx
push dword [esp + 0x54]
mov ecx, dword [esp + 0x48]
push ebx
push esi
push 0
call fcn.100e4c90
mov edx, dword [esp + 0x98]
add esp, 0x40
mov eax, dword [edx + 8]
sub eax, dword [ebp + 8]
mov ecx, dword [edx + 0xc]
sub eax, dword [esp + 0x18]
push ecx
sub ecx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp]
add eax, dword [esp + 0x20]
add eax, dword [edx]
mov edx, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x20]
push eax
push dword [esp + 0x34]
push edi
push esi
push ebx
call fcn.100e4bc0
mov edx, dword [esp + 0x78]
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 8]
mov edx, dword [esp + 0x6c]
push eax
sub eax, dword [ebp + 0xc]
push ecx
sub ecx, dword [ebp + 8]
sub ecx, dword [esp + 0x40]
push eax
push ecx
push dword [esp + 0x54]
mov ecx, dword [esp + 0x48]
push dword [esp + 0x64]
push esi
push edi
call fcn.100e4c90
mov ebx, dword [esp + 0x94]
add esp, 0x40
mov ecx, dword [ebx + 8]
mov edx, dword [ebx]
mov esi, dword [esp + 0x58]
mov eax, dword [esi + 0xc]
sub eax, dword [ebp + 0xc]
push eax
mov eax, dword [esi + 8]
sub eax, dword [esp + 0x1c]
sub eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 4]
add eax, dword [esi + 4]
push eax
mov eax, dword [ebp]
add eax, dword [esp + 0x24]
add eax, dword [esi]
push eax
push dword [ebx + 0xc]
mov eax, dword [ebx + 4]
push ecx
dec eax
push eax
lea eax, [edx - 1]
push eax
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x54]
call fcn.100e4bc0
add esp, 0x20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret