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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x3b4
mov eax, dword [0x10259b00]
xor eax, esp
mov dword [esp + 0x3b0], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x28]
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 [ecx]
push ebx
mov ebx, dword [0x1021f824]
push esi
cmp dword [eax + 0x1c], 0x10
mov eax, dword [ecx + 4]
cmova ebx, dword [0x1021f828]
mov esi, dword [ebp + 0x20]
push edi
xor edi, edi
mov dword [esp + 0x44], ebx
cmp dword [eax + 0x276c], 0
mov ebx, dword [edx]
mov dword [esp + 0x20], edi
mov edi, 0x20
mov dword [esp + 0x3c], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], edx
je 0x100d44bf
cmp ebx, 4
jb 0x100d44bf
mov esi, dword [ebp + 0x18]
or ebx, 0xffffffff
mov eax, dword [esp + 0x18]
jmp 0x100d44f9
mov ecx, dword [esi]
mov esi, dword [ebp + 0x18]
cmp edi, esi
sbb eax, eax
imul ebx, esi
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]
add ebx, dword [0x1021f850]
add ebx, dword [0x1021f84c]
add ebx, dword [0x1021f848]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], ebx
mov dword [edi], ebx
mov edx, dword [edx]
mov edi, dword [esp + 0x20]
cmp edx, 4
jbe 0x100d4bc0
add edx, 0xfffffffc
cmp esi, 0x1c
jae 0x100d455b
mov ecx, dword [esp + 0x18]
mov eax, edx
mov edi, dword [esp + 0x14]
add ecx, 0x10
shl eax, 4
add eax, edx
bsr eax, eax
mov edi, dword [edi + 4]
add eax, esi
cmp eax, 0x20
lea eax, [esp + 0x2a4]
push eax
push edx
push ecx
jae 0x100d4551
mov eax, dword [edi + 0x272c]
call eax
jmp 0x100d458c
mov eax, dword [edi + 0x2730]
call eax
jmp 0x100d458c
cmp esi, 0x20
ja 0x100d457a
mov ecx, dword [ecx + 4]
lea edi, [esp + 0x2a4]
push edi
add eax, 0x10
push edx
push eax
mov eax, dword [ecx + 0x2734]
call eax
jmp 0x100d458c
lea ecx, [esp + 0x2a4]
add eax, 0x20
push ecx
push edx
push eax
call fcn.100d9ba0
mov edx, dword [esp + 0x20]
add esp, 0xc
mov edi, eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x1c], ecx
cmp dword [ecx + 0x2764], 0
jne 0x100d46aa
movss xmm0, dword [esp + 0x2a8]
ucomiss xmm0, dword [0x10178b34]
lahf
test ah, 0x44
jp 0x100d46aa
mov ecx, dword [esp + 0x2c]
mov eax, 1
mov ecx, dword [ecx]
cmp esi, 0x20
ja 0x100d45fb
cmp ecx, eax
jbe 0x100d467b
mov edx, dword [esp + 0x18]
mov edx, dword [edx]
mov esi, dword [esp + 0x18]
cmp edx, dword [esi + eax*4]
mov esi, dword [ebp + 0x18]
jne 0x100d46a2
inc eax
cmp eax, ecx
jb 0x100d45e1
jmp 0x100d4680
cmp ecx, 1
jbe 0x100d467b
mov esi, dword [esp + 0x18]
mov edx, dword [esi]
mov esi, dword [esp + 0x18]
cmp edx, dword [esi + eax*8]
mov esi, dword [ebp + 0x18]
jne 0x100d46a2
mov ebx, dword [esp + 0x18]
mov esi, dword [ebx + 4]
cmp esi, dword [ebx + eax*8 + 4]
mov ebx, dword [esp + 0x28]
mov esi, dword [ebp + 0x18]
jne 0x100d46a2
inc eax
cmp eax, ecx
jb 0x100d4606
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 [0x1021f850]
add eax, dword [0x1021f84c]
add eax, dword [0x1021f848]
add eax, esi
cmp eax, ebx
cmovb ebx, eax
cmp eax, dword [esp + 0x38]
mov dword [esp + 0x28], ebx
sbb edi, edi
neg edi
jmp 0x100d4bc0
cmp esi, 0x20
ja 0x100d462f
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 0x100d4651
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
cmp dword [ecx + 0x2768], 0
je 0x100d46cb
mov eax, dword [edx]
cmp dword [eax + 0x22c], 0
jne 0x100d4937
cmp ebx, 0xffffffff
jne 0x100d4937
mov eax, dword [edx]
cmp dword [eax + 0x238], 0
je 0x100d46dd
xor edi, edi
lea ecx, [edi + 4]
jmp 0x100d46df
mov ecx, edi
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
cmp ecx, eax
lea edx, [eax - 1]
cmovb edx, ecx
mov dword [esp + 0x40], edx
cmp edi, edx
ja 0x100d4937
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2a4]
movd xmm0, esi
mov eax, esi
shr eax, 0x1f
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x10174c90]
mov eax, edi
imul eax, esi
sub edx, ecx
mov dword [esp + 0x5c], edx
cvtpd2ps xmm1, xmm0
mov dword [esp + 0x24], eax
lea eax, [ecx + edi*8]
mov dword [esp + 0x34], eax
lea eax, [ecx + edi*4]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x30], eax
movss dword [esp + 0x38], xmm1
nop dword [eax]
mov esi, dword [esp + 0x5c]
movss xmm0, dword [esi + eax]
comiss xmm0, xmm1
mov esi, dword [ebp + 0x18]
jae 0x100d4918
mov esi, dword [esp + 0x14]
xor ecx, ecx
cmp dword [esp + 0x20], 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 + 0x1c], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x248]
mov eax, dword [eax + 0x23c]
mov dword [esp + 0x68], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x64], 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 esi, dword [ecx + eax]
mov eax, dword [esp + 0x2c]
push esi
push edi
mov ecx, dword [eax]
lea eax, [edi + edx]
sub ecx, edi
mov dword [esp + 0x74], ecx
push ecx
cmp eax, 0x20
ja 0x100d47e5
push dword [esp + 0x3c]
call fcn.100da8e0
jmp 0x100d47fe
cmp edx, 0x20
ja 0x100d47f5
push dword [esp + 0x3c]
call fcn.100dace0
jmp 0x100d47fe
push dword [esp + 0x40]
call fcn.100db0d0
mov ecx, dword [esp + 0x2c]
add esp, 0x10
lea eax, [ecx + 8]
mov edx, dword [esp + 0x60]
mov dword [eax], 0
push eax
push dword [esp + 0x68]
mov eax, dword [esp + 0x1c]
push dword [esp + 0x70]
mov dword [ecx], 2
push dword [ebp + 0x18]
mov dword [ecx + 0x10], edx
push dword [ebp + 0x10]
mov dword [ecx + 0x38], esi
push dword [ebp + 0xc]
push dword [esp + 0x5c]
push edi
push dword [esp + 0x8c]
push dword [esp + 0x94]
push dword [esp + 0x78]
push esi
push dword [eax + 4]
call fcn.100d2aa0
mov esi, dword [ebp + 0x18]
add esp, 0x34
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x14], edi
cmp esi, 0x20
ja 0x100d488b
xor esi, esi
test edi, edi
je 0x100d48bd
mov ebx, dword [esp + 0x18]
lea ecx, [eax + 0x18]
mov eax, dword [ebx + esi*4]
lea ecx, [ecx + 8]
cdq
inc esi
mov dword [ecx - 8], eax
mov dword [ecx - 4], edx
cmp esi, edi
jb 0x100d4877
jmp 0x100d48b5
xor edx, edx
test edi, edi
je 0x100d48c0
mov ebx, dword [esp + 0x18]
lea esi, [eax + 0x18]
nop dword [eax + eax]
mov eax, dword [ebx + edx*8]
lea esi, [esi + 8]
mov ecx, dword [ebx + edx*8 + 4]
inc edx
mov dword [esi - 8], eax
mov dword [esi - 4], ecx
cmp edx, edi
jb 0x100d48a0
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
mov esi, dword [ebp + 0x18]
mov ecx, dword [eax + 0x1a8]
add ecx, dword [esp + 0x24]
add ecx, dword [0x1021f850]
add ecx, dword [0x1021f84c]
add ecx, dword [0x1021f848]
mov edx, dword [esp + 0x50]
mov eax, ecx
not eax
cmp edx, eax
jae 0x100d48ec
add ecx, edx
jmp 0x100d48ef
or ecx, 0xffffffff
movss xmm1, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
cmp ecx, ebx
jae 0x100d4910
xor eax, eax
mov ebx, ecx
cmp dword [esp + 0x20], eax
mov dword [esp + 0x28], ebx
sete al
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
inc edi
add eax, 4
add edx, 8
mov dword [esp + 0x30], eax
add ecx, esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x24], ecx
cmp edi, dword [esp + 0x40]
jbe 0x100d4750
mov edi, dword [esp + 0x14]
mov edx, dword [edi]
mov ecx, dword [edx + 0x22c]
test ecx, ecx
je 0x100d4bbc
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebx]
cmp ecx, eax
lea edi, [eax - 1]
mov eax, edi
mov edi, dword [esp + 0x14]
cmovb eax, ecx
mov dword [esp + 0x30], eax
test eax, eax
je 0x100d4bbc
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 1
mov dword [esp + 0x88], 0
cmp dword [edx + 0x28], 0
jbe 0x100d4bbc
mov dword [esp + 0x24], eax
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x1c]
lea eax, [esp + 0x2c]
push esi
push eax
lea eax, [esp + 0x2c8]
push eax
push dword [ebx]
lea eax, [esp + 0x98]
push eax
push edi
call fcn.100d2500
add esp, 0x20
test eax, eax
je 0x100d4ba6
mov eax, dword [edi]
cmp dword [eax + 0x238], 0
je 0x100d49e2
mov eax, dword [esp + 0x24]
mov ebx, 1
jmp 0x100d49ec
mov ebx, dword [esp + 0x40]
mov eax, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ebx
cmp ebx, eax
ja 0x100d4ba2
movd xmm0, esi
lea ecx, [esp + ebx*8 + 0x2b0]
cvtdq2pd xmm0, xmm0
mov eax, esi
mov dword [esp + 0x38], ecx
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10174c90]
mov eax, ebx
shl eax, 7
mov dword [esp + 0x34], eax
movsd qword [esp + 0x70], xmm0
nop dword [eax + eax]
mov eax, dword [esp + 0x2c]
movsd xmm0, qword [ecx]
mov eax, dword [eax]
sub eax, ebx
push eax
sub esp, 8
movsd qword [esp], xmm0
call fcn.100dce90
fstp qword [esp + 0x5c]
movsd xmm0, qword [esp + 0x5c]
add esp, 0xc
comisd xmm0, xmmword [esp + 0x70]
jae 0x100d4b7c
mov eax, dword [esp + 0x14]
mov edi, dword [eax]
cmp dword [edi + 0x234], 0
je 0x100d4acf
mov edx, dword [ebp + 0x18]
mov ecx, 5
cmp edx, 0x11
ja 0x100d4ab7
bsr eax, ebx
mov esi, 0x20
mov ecx, esi
sub ecx, eax
sub ecx, edx
cmp ecx, 0xf
jae 0x100d4a9d
bsr eax, ebx
mov ecx, esi
sub ecx, eax
sub ecx, edx
jmp 0x100d4aa2
mov ecx, 0xf
mov eax, dword [esp + 0x14]
mov edi, 5
cmp ecx, edi
cmova edi, ecx
mov ecx, 5
jmp 0x100d4abc
mov edi, 0xf
mov esi, 5
cmp ecx, edi
ja 0x100d4b7c
mov ecx, dword [esp + 0x20]
jmp 0x100d4ae4
mov edi, dword [edi + 0x230]
mov esi, edi
mov ecx, dword [esp + 0x20]
jmp 0x100d4ae4
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 + 0x3c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x5c]
push esi
push dword [esp + 0x3c]
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.100d2780
add esp, 0x44
test eax, eax
je 0x100d4b6b
cmp eax, dword [esp + 0x28]
jae 0x100d4b6b
mov ecx, ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ecx
jmp 0x100d4b6f
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, edi
jbe 0x100d4ae0
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
inc ebx
sub dword [esp + 0x34], 0xffffff80
add ecx, 8
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x38], ecx
cmp ebx, dword [esp + 0x24]
jbe 0x100d4a30
mov esi, dword [ebp + 0x18]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [edi]
mov eax, dword [esp + 0x80]
cmp eax, dword [ecx + 0x28]
mov eax, dword [esp + 0x30]
jb 0x100d4996
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
cmp edx, 0xffffffff
jne 0x100d4c0c
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + edi*4]
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
mov eax, 0x20
cmp eax, esi
mov dword [ecx], 1
sbb eax, eax
imul edx, esi
neg eax
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 8], eax
add edx, dword [ecx + 0x1a8]
add edx, dword [0x1021f850]
add edx, dword [0x1021f84c]
add edx, dword [0x1021f848]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x3bc]
mov dword [eax], edi
mov eax, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
mov dword [eax], edx
xor ecx, esp
mov eax, 1
call fcn.1009fd88
mov esp, ebp
pop ebp
ret