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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x50
mov ecx, dword [esp + 0x6c]
test byte [ecx + 0x30], 1
je 0x100d415d
cmp dword [ecx + 0x34], 0
mov eax, dword [esp + 0x68]
setne byte [eax + 0x69]
cmp dword [ecx + 0x18], 1
jne 0x100d4260
mov eax, dword [esp + 0x6c]
mov edi, dword [esp + 0x68]
xor ebx, ebx
mov ebp, dword [esp + 0x74]
mov edx, 0xff
mov eax, dword [eax + 0x1c]
mov ecx, dword [edi + 0x64]
mov esi, eax
mov dword [edi + 0x64], eax
sub esi, ecx
setne bl
cmovae edx, ebx
cmp dl, 0xff
je 0x100d420b
movzx eax, dl
cmp eax, 1
jne 0x100d4260
mov edi, dword [ebp + 0x28]
test edi, edi
je 0x100d4260
xor ebx, ebx
nop dword [eax + eax]
cmp dword [ebp + 0x18], ebx
jbe 0x100d43d6
mov eax, dword [ebp + 0x14]
lea ecx, [ebx + ebx*2]
movsd xmm0, qword [eax + ecx*4 + 4]
mov dword [esp + 4], ebp
shufps xmm0, xmm0, 0xe1
movlps qword [esp + 8], xmm0
push dword [esp + 0x7c]
push dword [esp + 0x7c]
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x7c]
push esi
push dword [esp + 0x7c]
call fcn.100d4400
add esp, 0x18
test eax, eax
jne 0x100d438b
mov eax, dword [ebp + 0x28]
cmp eax, edi
sbb ebx, 0xffffffff
cmp eax, edi
sbb edi, 0
cmp ebx, edi
jb 0x100d41b0
jmp 0x100d4260
sub ecx, eax
mov eax, dword [0x1027132c]
mov dword [esp], ecx
mov eax, dword [eax]
test eax, eax
je 0x100d42ae
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x1c], 0
lea edx, [esp + 4]
push eax
push ecx
push ebp
push edx
call fcn.10073780
add esp, 0x10
movzx ecx, byte [esp + 4]
cmp cl, 3
jne 0x100d4285
mov eax, dword [esp + 0x68]
add eax, 8
push dword [esp + 0x78]
push ebp
push dword [esp + 0x24]
push eax
call fcn.10086ae0
add esp, 0x10
mov eax, dword [esp + 0x6c]
test byte [eax + 8], 1
je 0x100d4276
cmp dword [eax + 0xc], 0
mov ecx, dword [esp + 0x68]
setne byte [ecx + 0x68]
mov eax, dword [esp + 0x64]
mov byte [eax], 3
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
movsd xmm0, qword [esp + 0x14]
mov eax, dword [esp + 0x64]
movsd xmm2, qword [esp + 5]
movsd xmm1, qword [esp + 0xd]
movsd qword [eax + 0x10], xmm0
movsd qword [eax + 9], xmm1
movsd qword [eax + 1], xmm2
mov byte [eax], cl
jmp 0x100d427d
mov esi, dword [0x1027127c]
movzx eax, byte [esi + 8]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x100d43b8
movzx eax, al
push eax
push dword [esi]
call fcn.10149b60
add esp, 8
test al, al
je 0x100d421f
mov eax, dword [esi]
cmp dword [eax + 0x20], 0
je 0x100d43e0
lea ecx, [eax + 0x1c]
mov edx, dword [ecx]
test edx, edx
je 0x100d43e0
lea esi, [eax + 0x20]
mov dword [esp + 0x1c], edx
lea edi, [esp + 0x30]
movsd xmm0, qword [esi]
movsd qword [esp + 0x20], xmm0
mov edx, dword [esi + 8]
mov esi, esp
mov dword [esp + 4], 0x101e0038
mov dword [esp + 8], 1
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], edi
lea edi, [esp + 4]
mov dword [esp + 0x10], 1
mov dword [esp + 0x30], esi
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], fcn.101bfa60
mov dword [esp + 0x38], esi
lea esi, [esp + 0x38]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], 0x101df9b4
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], 1
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], 0
push ecx
push eax
call fcn.1014a450
add esp, 8
jmp 0x100d421f
mov eax, dword [esp + 0x64]
mov dword [eax + 4], edx
mov dword [eax + 8], 0x101d99b4
mov dword [eax + 0xc], 1
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov word [eax], 0x101
jmp 0x100d427d
test ecx, ecx
je 0x100d421f
push esi
call fcn.101c9ee0
add esp, 4
test al, al
jne 0x100d42c7
jmp 0x100d421f
push 0x101d9ca0
call fcn.101cc810
push 0x101e0008
push 0x22
push 0x101df908
call fcn.101cc830
int3