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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x3b4
mov eax, dword [0x102a0600]
xor eax, esp
mov dword [esp + 0x3b0], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x40], eax
mov eax, dword [edx]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
cmp dword [eax + 0x1c], 0x10
mov esi, dword [0x10207734]
cmova esi, dword [0x10207738]
mov eax, dword [edx + 4]
mov dword [esp + 0x40], esi
xor esi, esi
push edi
mov edi, dword [ebp + 0x20]
mov dword [esp + 0x14], edx
lea edx, [esi + 0x20]
mov dword [esp + 0x1c], ebx
mov ebx, dword [ebx]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x24], esi
cmp dword [eax + 0x276c], esi
je 0x100bae08
cmp ebx, 4
jb 0x100bae08
mov edi, dword [ebp + 0x18]
or ebx, 0xffffffff
jmp 0x100bae40
mov ecx, dword [edi]
mov edi, dword [ebp + 0x18]
cmp edx, edi
sbb eax, eax
imul ebx, edi
mov dword [ecx], 1
neg eax
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 8], eax
add ebx, dword [ecx + 0x1a8]
mov ecx, eax
add ebx, dword [0x10207760]
add ebx, dword [0x1020775c]
add ebx, dword [0x10207758]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
mov dword [eax], ebx
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
cmp edx, 4
jbe 0x100bb508
add edx, 0xfffffffc
cmp edi, 0x1c
jae 0x100bae9e
mov esi, dword [esp + 0x14]
mov eax, edx
shl eax, 4
add ecx, 0x10
add eax, edx
bsr eax, eax
mov esi, dword [esi + 4]
add eax, edi
cmp eax, 0x20
lea eax, [esp + 0x2a4]
push eax
push edx
push ecx
jae 0x100bae94
mov eax, dword [esi + 0x272c]
call eax
jmp 0x100baed7
mov eax, dword [esi + 0x2730]
call eax
jmp 0x100baed7
cmp edi, 0x20
ja 0x100baec5
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
lea eax, [esp + 0x2a4]
push eax
mov eax, dword [esp + 0x1c]
add eax, 0x10
push edx
push eax
mov eax, dword [ecx + 0x2734]
call eax
jmp 0x100baed7
lea eax, [esp + 0x2a4]
push eax
push edx
lea eax, [ecx + 0x20]
push eax
call fcn.100bfc10
mov edx, dword [esp + 0x20]
add esp, 0xc
mov esi, eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x20], ecx
cmp dword [ecx + 0x2764], 0
jne 0x100baffd
movss xmm0, dword [esp + 0x2a8]
ucomiss xmm0, dword [0x1028a2a0]
lahf
test ah, 0x44
jp 0x100baffd
mov ecx, dword [esp + 0x1c]
mov eax, 1
mov ecx, dword [ecx]
cmp edi, 0x20
ja 0x100baf4a
cmp ecx, eax
jbe 0x100bafce
mov edx, dword [esp + 0x18]
mov edx, dword [edx]
nop dword [eax]
mov edi, dword [esp + 0x18]
cmp edx, dword [edi + eax*4]
mov edi, dword [ebp + 0x18]
jne 0x100baff5
inc eax
cmp eax, ecx
jb 0x100baf30
jmp 0x100bafd3
cmp ecx, 1
jbe 0x100bafce
mov edi, dword [esp + 0x18]
mov edx, dword [edi]
mov edi, dword [esp + 0x18]
cmp edx, dword [edi + eax*8]
mov edi, dword [ebp + 0x18]
jne 0x100baff5
mov ebx, dword [esp + 0x18]
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + eax*8 + 4]
mov ebx, dword [esp + 0x2c]
mov edi, dword [ebp + 0x18]
jne 0x100baff5
inc eax
cmp eax, ecx
jb 0x100baf55
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
mov edx, dword [eax + 4]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edx + 8], eax
mov eax, dword [edx + 0x1a8]
mov dword [edx], 0
mov dword [edx + 0xc], ecx
add eax, dword [0x10207760]
add eax, dword [0x1020775c]
add eax, dword [0x10207758]
add eax, edi
cmp eax, ebx
cmovb ebx, eax
cmp eax, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
sbb esi, esi
mov dword [esp + 0x2c], ebx
neg esi
jmp 0x100bb508
cmp edi, 0x20
ja 0x100baf7e
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
cdq
mov dword [ecx + 8], eax
mov eax, dword [ecx + 0x1a8]
mov dword [ecx], 0
mov dword [ecx + 0xc], edx
jmp 0x100bafa0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
cmp dword [ecx + 0x2768], 0
je 0x100bb01e
mov eax, dword [edx]
cmp dword [eax + 0x22c], 0
jne 0x100bb27d
cmp ebx, 0xffffffff
jne 0x100bb27d
mov eax, dword [edx]
cmp dword [eax + 0x238], 0
je 0x100bb030
xor esi, esi
lea ecx, [esi + 4]
jmp 0x100bb032
mov ecx, esi
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
cmp ecx, eax
lea edx, [eax - 1]
cmovb edx, ecx
mov dword [esp + 0x40], edx
cmp esi, edx
ja 0x100bb27d
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2a4]
movd xmm0, edi
mov eax, edi
shr eax, 0x1f
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x1016a520]
mov eax, esi
imul eax, edi
sub edx, ecx
mov dword [esp + 0x5c], edx
cvtpd2ps xmm1, xmm0
mov dword [esp + 0x28], eax
lea eax, [ecx + esi*8]
mov dword [esp + 0x34], eax
lea eax, [ecx + esi*4]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x30], eax
movss dword [esp + 0x38], xmm1
nop dword [eax]
mov edi, dword [esp + 0x5c]
movss xmm0, dword [edi + eax]
comiss xmm0, xmm1
mov edi, dword [ebp + 0x18]
jae 0x100bb25e
mov edi, dword [esp + 0x14]
xor ecx, ecx
cmp dword [esp + 0x24], ecx
mov eax, 4
cmove ecx, eax
mov eax, dword [ebp + 0x24]
mov eax, dword [ecx + eax]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x3c]
mov eax, dword [ecx + eax]
mov dword [esp + 0x20], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x248]
mov eax, dword [eax + 0x23c]
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0x25bc]
mov eax, dword [eax + 0x25b8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x70], edx
mov edx, dword [ebp + 0x18]
mov ecx, dword [ecx + eax]
mov eax, dword [esp + 0x1c]
push ecx
push esi
mov dword [esp + 0x6c], ecx
mov edi, dword [eax]
lea eax, [esi + edx]
sub edi, esi
push edi
cmp eax, 0x20
ja 0x100bb135
push dword [esp + 0x3c]
call fcn.100c0950
jmp 0x100bb14e
cmp edx, 0x20
ja 0x100bb145
push dword [esp + 0x3c]
call fcn.100c0950
jmp 0x100bb14e
push dword [esp + 0x40]
call fcn.100c0d40
mov edx, dword [esp + 0x30]
add esp, 0x10
mov ecx, dword [esp + 0x60]
lea eax, [edx + 8]
mov dword [eax], 0
push eax
push dword [esp + 0x6c]
mov eax, dword [esp + 0x1c]
push dword [esp + 0x74]
mov dword [edx + 0x10], ecx
push dword [ebp + 0x18]
mov ecx, dword [esp + 0x74]
push dword [ebp + 0x10]
mov dword [edx], 2
push dword [ebp + 0xc]
mov dword [edx + 0x38], ecx
push dword [esp + 0x5c]
push esi
push edi
push dword [esp + 0x94]
push dword [esp + 0x78]
push ecx
push dword [eax + 4]
call fcn.100b9270
mov edi, dword [ebp + 0x18]
add esp, 0x34
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x20]
mov dword [eax + 0x14], esi
cmp edi, 0x20
ja 0x100bb1d9
xor edi, edi
test esi, esi
je 0x100bb203
mov ebx, dword [esp + 0x18]
lea ecx, [eax + 0x18]
mov eax, dword [ebx + edi*4]
lea ecx, [ecx + 8]
cdq
inc edi
mov dword [ecx - 8], eax
mov dword [ecx - 4], edx
cmp edi, esi
jb 0x100bb1c5
jmp 0x100bb1fb
xor edx, edx
test esi, esi
je 0x100bb206
mov ebx, dword [esp + 0x18]
lea edi, [eax + 0x18]
mov eax, dword [ebx + edx*8]
lea edi, [edi + 8]
mov ecx, dword [ebx + edx*8 + 4]
inc edx
mov dword [edi - 8], eax
mov dword [edi - 4], ecx
cmp edx, esi
jb 0x100bb1e6
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x2c]
mov edi, dword [ebp + 0x18]
mov ecx, dword [eax + 0x1a8]
add ecx, dword [esp + 0x28]
add ecx, dword [0x10207760]
add ecx, dword [0x1020775c]
add ecx, dword [0x10207758]
mov edx, dword [esp + 0x50]
mov eax, ecx
not eax
cmp edx, eax
jae 0x100bb232
add ecx, edx
jmp 0x100bb235
or ecx, 0xffffffff
movss xmm1, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
cmp ecx, ebx
jae 0x100bb256
xor eax, eax
mov ebx, ecx
cmp dword [esp + 0x24], eax
mov dword [esp + 0x2c], ebx
sete al
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
inc esi
add eax, 4
add edx, 8
mov dword [esp + 0x30], eax
add ecx, edi
mov dword [esp + 0x34], edx
mov dword [esp + 0x28], ecx
cmp esi, dword [esp + 0x40]
jbe 0x100bb0a0
mov esi, dword [esp + 0x14]
mov edx, dword [esi]
mov ecx, dword [edx + 0x22c]
test ecx, ecx
je 0x100bb4fc
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx]
cmp ecx, eax
lea esi, [eax - 1]
mov eax, esi
mov esi, dword [esp + 0x14]
cmovb eax, ecx
mov dword [esp + 0x30], eax
test eax, eax
je 0x100bb502
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 1
mov dword [esp + 0x88], 0
cmp dword [edx + 0x28], 0
jbe 0x100bb502
nop dword [eax]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x1c]
lea eax, [esp + 0x30]
push edi
push eax
lea eax, [esp + 0x2c8]
push eax
push dword [ebx]
lea eax, [esp + 0x98]
push eax
push esi
call fcn.100b8b50
add esp, 0x20
test eax, eax
je 0x100bb4e6
mov eax, dword [esi]
cmp dword [eax + 0x238], 0
je 0x100bb32c
mov eax, dword [esp + 0x28]
mov ebx, 1
jmp 0x100bb336
mov ebx, dword [esp + 0x40]
mov eax, ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ebx
cmp ebx, eax
ja 0x100bb4e2
movd xmm0, edi
lea ecx, [esp + ebx*8 + 0x2b0]
cvtdq2pd xmm0, xmm0
mov eax, edi
mov dword [esp + 0x38], ecx
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1016a520]
mov eax, ebx
shl eax, 7
mov dword [esp + 0x34], eax
movsd qword [esp + 0x70], xmm0
mov eax, dword [esp + 0x1c]
movsd xmm0, qword [ecx]
mov eax, dword [eax]
sub eax, ebx
push eax
sub esp, 8
movsd qword [esp], xmm0
call fcn.100c2610
fstp qword [esp + 0x5c]
movsd xmm0, qword [esp + 0x5c]
add esp, 0xc
comisd xmm0, xmmword [esp + 0x70]
jae 0x100bb4bc
mov eax, dword [esp + 0x14]
mov edi, dword [eax]
cmp dword [edi + 0x234], 0
je 0x100bb411
mov edx, dword [ebp + 0x18]
mov ecx, 5
cmp edx, 0x11
ja 0x100bb3f9
bsr eax, ebx
mov esi, 0x20
mov ecx, esi
sub ecx, eax
sub ecx, edx
cmp ecx, 0xf
jae 0x100bb3df
bsr eax, ebx
mov ecx, esi
sub ecx, eax
sub ecx, edx
jmp 0x100bb3e4
mov ecx, 0xf
mov eax, dword [esp + 0x14]
mov edi, 5
cmp ecx, edi
cmova edi, ecx
mov ecx, 5
jmp 0x100bb3fe
mov edi, 0xf
mov esi, 5
cmp ecx, edi
ja 0x100bb4bc
mov ecx, dword [esp + 0x24]
jmp 0x100bb424
mov edi, dword [edi + 0x230]
mov esi, edi
mov ecx, dword [esp + 0x24]
jmp 0x100bb424
mov eax, dword [esp + 0x14]
mov edx, dword [ebp + 0x24]
xor ebx, ebx
mov eax, dword [eax]
test ecx, ecx
mov ecx, dword [esp + 0x14]
sete bl
mov ecx, dword [ecx + 4]
push dword [edx + ebx*4]
mov edx, dword [esp + 0x40]
push dword [edx + ebx*4]
mov edx, dword [ebp + 0x18]
push dword [eax + 0x248]
push dword [eax + 0x23c]
mov eax, dword [esp + 0x2c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x5c]
push esi
push dword [esp + 0x40]
push edx
push dword [eax]
mov eax, dword [esp + 0x60]
add eax, 0x2860
add eax, ecx
push eax
push dword [ecx + 0x25bc]
mov eax, dword [esp + 0x7c]
push dword [ecx + 0x25b8]
push dword [eax + ebx*4]
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.100b8dd0
add esp, 0x44
test eax, eax
je 0x100bb4ab
cmp eax, dword [esp + 0x2c]
jae 0x100bb4ab
mov ecx, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ecx
jmp 0x100bb4af
mov ecx, dword [esp + 0x24]
inc esi
cmp esi, edi
jbe 0x100bb420
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
inc ebx
sub dword [esp + 0x34], 0xffffff80
add ecx, 8
mov dword [esp + 0x20], ebx
mov dword [esp + 0x38], ecx
cmp ebx, dword [esp + 0x28]
jbe 0x100bb372
mov edi, dword [ebp + 0x18]
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esi]
mov eax, dword [esp + 0x80]
cmp eax, dword [ecx + 0x28]
mov eax, dword [esp + 0x30]
jb 0x100bb2e0
mov eax, dword [esp + 0x1c]
jmp 0x100bb504
mov eax, ebx
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
cmp edx, 0xffffffff
jne 0x100bb550
mov edx, dword [eax]
mov eax, 0x20
mov ecx, dword [esp + 0x3c]
cmp eax, edi
sbb eax, eax
imul edx, edi
neg eax
mov ecx, dword [ecx + esi*4]
mov dword [ecx], 1
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 8], eax
add edx, dword [ecx + 0x1a8]
add edx, dword [0x10207760]
add edx, dword [0x1020775c]
add edx, dword [0x10207758]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x3bc]
pop edi
mov dword [eax], esi
mov eax, dword [esp + 0x48]
pop esi
pop ebx
xor ecx, esp
mov dword [eax], edx
mov eax, 1
call fcn.10084465
mov esp, ebp
pop ebp
ret