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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x1004b0c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov ecx, dword [edi]
add ecx, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x34], 0
mov eax, dword [ecx]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call eax
test eax, eax
je 0x10039f1a
mov ecx, dword [0x1005b360]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x78]
call edx
mov esi, eax
mov dword [ebp - 0x44], esi
test esi, esi
je 0x10039f1a
mov eax, dword [edi + 0x20]
test eax, eax
je 0x10039db7
mov ecx, dword [edi + 0x1c]
dec eax
add ecx, eax
mov eax, dword [edi + 0x18]
dec eax
and ecx, eax
mov eax, dword [edi + 0x14]
mov edx, dword [eax + ecx*4]
add edx, 0x70
jmp 0x10039dc4
mov eax, dword [0x1005b2f4]
mov ecx, dword [eax + 0x20]
mov eax, dword [edi]
mov edx, dword [ecx + eax]
mov dword [ebp - 0x38], edx
test edx, edx
je 0x10039f1a
mov eax, dword [esi + 0x9c]
xor edi, edi
test eax, eax
jle 0x10039f1a
xor ecx, ecx
lea ebx, [edx + 0x1c]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], ebx
cmp edi, eax
jg 0x10039efb
mov eax, dword [esi + 0xa0]
add eax, ecx
add eax, esi
je 0x10039efb
test dword [eax + 0xa0], 0x100
je 0x10039efb
mov ecx, dword [eax + 4]
cmp ecx, 0xffffffff
je 0x10039efb
cmp edi, 0x7f
ja 0x10039e47
lea eax, [ebx - 0x1c]
test eax, eax
je 0x10039e47
movss xmm0, dword [ebx - 0x10]
movss xmm1, dword [ebx]
movss xmm2, dword [ebx + 0x10]
movss dword [ebp - 0x10], xmm0
movss dword [ebp - 0xc], xmm1
movss dword [ebp - 8], xmm2
cmp ecx, 0x7f
ja 0x10039e74
lea eax, [ecx + ecx*2]
shl eax, 4
add eax, edx
je 0x10039e74
movss xmm0, dword [eax + 0xc]
movss xmm1, dword [eax + 0x1c]
movss xmm2, dword [eax + 0x2c]
movss dword [ebp - 0x1c], xmm0
movss dword [ebp - 0x18], xmm1
movss dword [ebp - 0x14], xmm2
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1003cd80
test al, al
je 0x10039ef8
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1003cd80
test al, al
je 0x10039ef8
mov eax, dword [0x1005b2f4]
mov ecx, dword [0x1005b350]
mov dh, byte [eax + 0x3d6]
mov bl, byte [eax + 0x3d7]
mov dl, byte [eax + 0x3d8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ecx]
movzx eax, al
push eax
movzx eax, dl
push eax
movzx eax, bl
push eax
movzx eax, dh
push eax
mov eax, dword [esi + 0x3c]
call eax
cvttss2si eax, dword [ebp - 0x24]
mov ecx, dword [0x1005b350]
mov edx, dword [ecx]
push eax
cvttss2si eax, dword [ebp - 0x28]
push eax
cvttss2si eax, dword [ebp - 0x30]
push eax
cvttss2si eax, dword [ebp - 0x34]
push eax
mov eax, dword [edx + 0x4c]
call eax
mov ebx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x38]
add dword [ebp - 0x3c], 0xd8
inc edi
mov eax, dword [esi + 0x9c]
add ebx, 0x30
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ebx
cmp edi, eax
jl 0x10039df2
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003d53a
mov esp, ebp
pop ebp
ret 8