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

Disassembly:
sub esp, 0x34
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov eax, ecx
push ebx
mov ebx, edx
movq xmm1, qword [esp + 0x68]
sub ebx, dword [esp + 0x48]
push ebp
sbb eax, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
mov eax, edx
sub eax, dword [esp + 0x5c]
mov dword [esp + 0xc], eax
mov eax, ecx
sbb eax, dword [esp + 0x60]
xor ebp, ebp
push esi
mov esi, dword [esp + 0x78]
neg esi
mov dword [esp + 0x14], eax
mov eax, esi
mov dword [esp + 0x24], esi
push edi
xor edi, edi
bts edi, eax
movd xmm0, esi
cmp eax, 0x20
psrlq xmm1, xmm0
cmovae ebp, edi
xor edi, ebp
cmp eax, 0x40
mov dword [esp + 0x2c], edi
mov eax, ebp
mov ebp, dword [esp + 0x2c]
cmovae eax, edi
add ebp, 0xffffffff
mov dword [esp + 0x1c], eax
mov esi, eax
movd edi, xmm1
adc esi, 0xffffffff
mov dword [esp + 0x34], ebp
mov eax, ebp
mov dword [esp + 0x38], esi
and eax, edx
mov edx, esi
and edx, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
cmp edi, 0x3b9aca00
jb 0x1002a1e3
mov ecx, 0x3b9aca00
mov esi, 0xa
jmp 0x1002a283
cmp edi, 0x5f5e100
jb 0x1002a1fa
mov ecx, 0x5f5e100
mov esi, 9
jmp 0x1002a283
cmp edi, 0x989680
jb 0x1002a20e
mov ecx, 0x989680
mov esi, 8
jmp 0x1002a283
cmp edi, 0xf4240
jb 0x1002a222
mov ecx, 0xf4240
mov esi, 7
jmp 0x1002a283
cmp edi, 0x186a0
jb 0x1002a236
mov ecx, 0x186a0
mov esi, 6
jmp 0x1002a283
cmp edi, 0x2710
jb 0x1002a24a
mov ecx, 0x2710
mov esi, 5
jmp 0x1002a283
cmp edi, 0x3e8
jb 0x1002a25e
mov ecx, 0x3e8
mov esi, 4
jmp 0x1002a283
cmp edi, 0x64
jb 0x1002a26d
mov ecx, 0x64
lea esi, [ecx - 0x61]
jmp 0x1002a283
cmp edi, 0xa
jb 0x1002a27c
mov ecx, 0xa
lea esi, [ecx - 8]
jmp 0x1002a283
mov ecx, 1
mov esi, ecx
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x10], ecx
nop dword [eax + eax]
xor edx, edx
movd xmm0, dword [esp + 0x28]
mov eax, edi
dec esi
div ecx
mov edi, edx
add al, 0x30
mov edx, dword [ebp]
mov ebp, dword [esp + 0x48]
mov byte [edx + ebp], al
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x54], edi
movd xmm1, dword [esp + 0x54]
psllq xmm1, xmm0
movq xmm0, qword [esp + 0x3c]
inc dword [ebp]
paddq xmm1, xmm0
mov eax, dword [ebp]
movq qword [esp + 0x54], xmm1
mov edx, dword [esp + 0x54]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x58]
cmp eax, dword [esp + 0x24]
jb 0x1002a3d5
ja 0x1002a2f3
cmp edx, ebx
jbe 0x1002a3d5
mov eax, 0xcccccccd
mul ecx
mov ecx, edx
shr ecx, 3
mov dword [esp + 0x10], ecx
test esi, esi
jg 0x1002a290
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x10], 0
nop dword [eax + eax]
mov eax, esi
mov ecx, edx
shld ecx, eax, 2
shl eax, 2
add esi, eax
adc edx, ecx
mov ecx, dword [esp + 0x28]
shld edx, esi, 1
add esi, esi
mov dword [esp + 0x20], edx
mov eax, esi
call fcn.10045460
mov edx, dword [esp + 0x74]
add al, 0x30
mov ecx, dword [esp + 0x48]
and esi, dword [esp + 0x34]
inc dword [esp + 0x10]
mov byte [edx + ecx], al
mov ecx, edi
inc dword [ebp]
mov eax, dword [ebp]
mov edx, dword [esp + 0x20]
and edx, dword [esp + 0x38]
mov dword [esp + 0x74], eax
mov eax, ebx
shld ecx, eax, 2
shl eax, 2
add ebx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
adc edi, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
shld ecx, eax, 2
shld edi, ebx, 1
shl eax, 2
add ebx, ebx
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
adc eax, ecx
mov ecx, dword [esp + 0x14]
shld eax, ecx, 1
add ecx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
cmp edx, edi
ja 0x1002a320
jb 0x1002a3c5
cmp esi, ebx
ja 0x1002a320
mov eax, dword [esp + 0x50]
mov ebp, dword [esp + 0x10]
sub dword [eax], ebp
mov ebp, dword [esp + 0x4c]
jmp 0x1002a41f
mov eax, dword [esp + 0x50]
movd xmm1, dword [esp + 0x10]
movd xmm0, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
add dword [eax], esi
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
psllq xmm1, xmm0
mov dword [esp + 0x48], eax
movq qword [esp + 0x74], xmm1
mov eax, dword [esp + 0x78]
mov dword [esp + 0x18], esi
mov esi, edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x2c], eax
push dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
push dword [esp + 0x30]
push edx
push esi
push edi
push ebx
push dword [esp + 0x30]
push ecx
push dword [ebp]
push eax
call fcn.1002a450
add esp, 0x28
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret