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

Disassembly:
sub esp, 0x40
push ebx
push ebp
mov ebp, edx
movq xmm1, qword [esp + 0x70]
mov edx, dword [esp + 0x70]
mov ebx, edx
sub ebx, dword [esp + 0x50]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x74]
mov eax, ecx
sbb eax, dword [esp + 0x54]
mov dword [esp + 0x24], eax
mov eax, edx
sub eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
mov eax, ecx
sbb eax, dword [esp + 0x64]
push esi
mov esi, dword [esp + 0x7c]
neg esi
mov dword [esp + 0x18], eax
mov eax, esi
mov dword [esp + 0x34], ebx
push edi
xor edi, edi
mov dword [esp + 0x30], esi
bts edi, eax
movd xmm0, esi
xor ebx, ebx
cmp eax, 0x20
psrlq xmm1, xmm0
cmovae ebx, edi
xor edi, ebx
cmp eax, 0x40
mov dword [esp + 0x34], edi
mov eax, ebx
mov ebx, dword [esp + 0x34]
cmovae eax, edi
add ebx, 0xffffffff
mov dword [esp + 0x24], eax
mov esi, eax
movd edi, xmm1
adc esi, 0xffffffff
mov dword [esp + 0x40], ebx
mov eax, ebx
mov dword [esp + 0x44], esi
and eax, edx
mov edx, esi
and edx, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
cmp edi, 0x3b9aca00
jb 0x10099d5d
mov ecx, 0x3b9aca00
mov esi, 0xa
jmp 0x10099dfd
cmp edi, 0x5f5e100
jb 0x10099d74
mov ecx, 0x5f5e100
mov esi, 9
jmp 0x10099dfd
cmp edi, 0x989680
jb 0x10099d88
mov ecx, 0x989680
mov esi, 8
jmp 0x10099dfd
cmp edi, 0xf4240
jb 0x10099d9c
mov ecx, 0xf4240
mov esi, 7
jmp 0x10099dfd
cmp edi, 0x186a0
jb 0x10099db0
mov ecx, 0x186a0
mov esi, 6
jmp 0x10099dfd
cmp edi, 0x2710
jb 0x10099dc4
mov ecx, 0x2710
mov esi, 5
jmp 0x10099dfd
cmp edi, 0x3e8
jb 0x10099dd8
mov ecx, 0x3e8
mov esi, 4
jmp 0x10099dfd
cmp edi, 0x64
jb 0x10099de7
mov ecx, 0x64
lea esi, [ecx - 0x61]
jmp 0x10099dfd
cmp edi, 0xa
jb 0x10099df6
mov ecx, 0xa
lea esi, [ecx - 8]
jmp 0x10099dfd
mov ecx, 1
mov esi, ecx
mov dword [esp + 0x14], ecx
xor edx, edx
mov ebx, dword [esp + 0x20]
mov eax, edi
movd xmm0, dword [esp + 0x30]
div ecx
dec esi
mov edi, edx
add al, 0x30
mov edx, dword [ebp]
mov byte [ebx + edx], al
inc dword [ebp]
mov eax, dword [ebp]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x58], edi
movd xmm1, dword [esp + 0x58]
psllq xmm1, xmm0
movq xmm0, qword [esp + 0x48]
paddq xmm1, xmm0
mov dword [esp + 0x78], eax
movq qword [esp + 0x58], xmm1
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
cmp eax, dword [esp + 0x2c]
jb 0x10099f41
ja 0x10099e64
cmp edx, ebx
jbe 0x10099f41
mov eax, 0xcccccccd
mul ecx
mov ecx, edx
shr ecx, 3
mov dword [esp + 0x14], ecx
test esi, esi
jg 0x10099e01
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x14], 0
nop dword [eax]
mov eax, esi
mov ecx, edx
shld ecx, eax, 2
shl eax, 2
add esi, eax
adc edx, ecx
mov ecx, dword [esp + 0x30]
shld edx, esi, 1
add esi, esi
mov dword [esp + 0x28], edx
mov eax, esi
call fcn.10125300
mov edx, dword [esp + 0x78]
add al, 0x30
mov ecx, dword [esp + 0x20]
and esi, dword [esp + 0x40]
inc dword [esp + 0x14]
mov byte [edx + ecx], al
mov ecx, edi
inc dword [ebp]
mov eax, dword [ebp]
mov edx, dword [esp + 0x28]
and edx, dword [esp + 0x44]
mov dword [esp + 0x78], eax
mov eax, ebx
shld ecx, eax, 2
shl eax, 2
add ebx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
adc edi, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
shld ecx, eax, 2
shld edi, ebx, 1
shl eax, 2
add ebx, ebx
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
adc eax, ecx
mov ecx, dword [esp + 0x18]
shld eax, ecx, 1
add ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
cmp edx, edi
ja 0x10099e90
jb 0x10099f35
cmp esi, ebx
ja 0x10099e90
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x14]
sub dword [eax], ecx
jmp 0x10099f87
mov eax, dword [esp + 0x54]
movd xmm1, dword [esp + 0x14]
movd xmm0, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
add dword [eax], esi
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
psllq xmm1, xmm0
mov dword [esp + 0x20], eax
movq qword [esp + 0x78], xmm1
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x1c], esi
mov esi, edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x34], eax
push dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
push dword [esp + 0x38]
mov eax, dword [esp + 0x28]
push edx
mov edx, dword [ebp]
push esi
push edi
push ebx
push dword [esp + 0x34]
push ecx
mov ecx, eax
call fcn.10099be0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 0x34