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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x78
mov eax, 0x861110
push ebx
push esi
push 0x48
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
je 0x10051d9a
mov eax, dword [0x1054c9e8]
mov byte [eax + 0x29], 0
mov eax, dword [0x1054c9e8]
cmp byte [eax + 0x29], 0
jne 0x10051dad
xor al, al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x2b
mov ecx, 0x1019e5b0
call fcn.10039680
push eax
push dword [0x1054c9e8]
push 0x103297e8
call fcn.1000e060
add esp, 0xc
mov ecx, 0x1019e5b0
mov bh, al
push 0x21
call fcn.10039680
push 0x22
mov ecx, 0x1019e5b0
mov dword [esp + 0x5c], eax
call fcn.10039680
push 0x23
mov ecx, 0x1019e5b0
mov dword [esp + 0x60], eax
call fcn.10039680
push 0x24
mov ecx, 0x1019e5b0
mov dword [esp + 0x64], eax
call fcn.10039680
push 0x25
mov ecx, 0x1019e5b0
mov dword [esp + 0x68], eax
call fcn.10039680
push 0x26
mov ecx, 0x1019e5b0
mov dword [esp + 0x6c], eax
call fcn.10039680
push 0x27
mov ecx, 0x1019e5b0
mov dword [esp + 0x70], eax
call fcn.10039680
push 0x28
mov ecx, 0x1019e5b0
mov dword [esp + 0x74], eax
call fcn.10039680
push 0x29
mov ecx, 0x1019e5b0
mov dword [esp + 0x78], eax
call fcn.10039680
push 0x2a
mov ecx, 0x1019e5b0
mov dword [esp + 0x7c], eax
call fcn.10039680
mov dword [esp + 0x7c], eax
xor bl, bl
movsx ecx, bl
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea esi, [ecx*4]
push dword [esp + esi + 0x58]
sub esp, 8
movd xmm1, eax
mov eax, dword [0x1054c9e8]
cvtdq2pd xmm1, xmm1
movss xmm0, dword [eax + 4]
mulsd xmm1, qword [0x1017e5a8]
addss xmm0, dword [0x1017ea9c]
cvtps2pd xmm0, xmm0
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [esp + 4], xmm0
and ecx, 0x80000001
jns 0x10051ec9
dec ecx
or ecx, 0xfffffffe
inc ecx
movss xmm0, dword [eax]
addss xmm0, dword [0x1017e9a8]
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
cvtps2pd xmm0, xmm0
mulsd xmm1, qword [0x1017e6c0]
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [esp], xmm0
push dword [esi + 0x1054c9ec]
push 0x103297e8
call fcn.1000eac0
add esp, 0x14
test al, al
je 0x1005203d
test bl, bl
jne 0x10051f2d
mov dword [esp + 8], 0xd5f308c1
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
jmp 0x1005202a
cmp bl, 1
jne 0x10051f4b
mov dword [esp + 0x10], 0xd5f308c1
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 1
jmp 0x1005202a
cmp bl, 2
jne 0x10051f69
mov dword [esp + 0x18], 0xd5f308c1
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], 2
jmp 0x1005202a
cmp bl, 3
jne 0x10051f87
mov dword [esp + 0x20], 0xd5f308c1
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], 3
jmp 0x1005202a
cmp bl, 4
jne 0x10051fa5
mov dword [esp + 0x28], 0xd5f308c1
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], 4
jmp 0x1005202a
cmp bl, 5
jne 0x10051fc0
mov dword [esp + 0x30], 0xd5f308c1
lea ecx, [esp + 0x30]
mov dword [esp + 0x34], 5
jmp 0x1005202a
cmp bl, 6
jne 0x10051fdb
mov dword [esp + 0x38], 0xd5f308c1
lea ecx, [esp + 0x38]
mov dword [esp + 0x3c], 6
jmp 0x1005202a
cmp bl, 7
jne 0x10051ff6
mov dword [esp + 0x40], 0xd5f308c1
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], 7
jmp 0x1005202a
cmp bl, 8
jne 0x10052011
mov dword [esp + 0x48], 0xd5f308c1
lea ecx, [esp + 0x48]
mov dword [esp + 0x4c], 8
jmp 0x1005202a
cmp bl, 9
jne 0x10052034
mov dword [esp + 0x50], 0xd5f308c1
lea ecx, [esp + 0x50]
mov dword [esp + 0x54], 9
mov edx, 8
call fcn.100acac0
mov eax, dword [0x1054c9e8]
mov byte [eax + 0x29], 0
inc bl
cmp bl, 0xa
jl 0x10051e71
pop esi
mov al, bh
pop ebx
mov esp, ebp
pop ebp
ret