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

Disassembly:
sub esp, 0x50
mov eax, dword [0x1024b600]
xor eax, esp
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x58]
xor ecx, ecx
push ebx
mov ebx, dword [esp + 0x64]
mov edx, 0x1c
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
cmp byte [ebx + 0xe], cl
mov eax, dword [esp + 0x68]
cmovne ecx, edx
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x14], ebx
cmp byte [ebx + 0xd], al
push ebp
movzx ebp, byte [ebx + 0x19]
cmove eax, edx
push esi
movzx esi, byte [ebx + 0x1b]
inc ebp
push edi
lea edx, [eax + 0x10156068]
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x64]
add edx, ecx
mov dword [esp + 0x1c], edx
test byte [eax + 1], 8
je 0x10037531
movzx eax, word [ebx + 8]
mov cl, byte [eax + 0x101560bc]
mov al, cl
shr al, 2
and cl, 3
mov byte [esp + 0x10], al
mov byte [esp + 0x11], al
mov byte [esp + 0x12], cl
mov byte [esp + 0x13], cl
jmp 0x100375d9
test byte [eax + 3], 0x10
je 0x1003754d
cmp dword [esp + 0x78], 0
je 0x1003754d
mov dword [esp + 0x18], 0xc
mov ecx, 1
jmp 0x10037555
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x18], eax
movzx ebp, word [ebx + 8]
mov ebx, dword [esp + 0x18]
shr ebp, cl
lea esi, [ebx + 0x101560cd]
mov dword [esp + 0x18], esi
nop dword [eax]
movzx ecx, byte [esi + 2]
mov eax, ebp
cdq
add ebx, 4
idiv ecx
movzx esi, byte [esi + 1]
mov byte [esp + 0x13], dl
cdq
idiv esi
mov eax, dword [esp + 0x18]
imul esi, ecx
mov byte [esp + 0x12], dl
movzx edi, byte [eax]
mov eax, ebp
cdq
idiv esi
cdq
idiv edi
imul edi, esi
mov eax, ebp
mov byte [esp + 0x11], dl
cdq
mov esi, dword [esp + 0x18]
idiv edi
movzx ecx, byte [esi - 1]
add esi, 4
cdq
idiv ecx
imul ecx, edi
mov byte [esp + 0x10], dl
mov dword [esp + 0x18], esi
sub ebp, ecx
jns 0x10037570
mov edx, dword [esp + 0x1c]
mov esi, 0xfffffff0
mov ebp, dword [esp + 0x24]
add edx, ebx
mov ebx, dword [esp + 0x20]
push esi
push dword [esp + 0x2c]
lea eax, [esp + 0x18]
push edx
push eax
push dword [esp + 0x3c]
lea eax, [esp + 0x48]
push eax
call fcn.10038dc0
mov al, byte [ebx + 0xe]
add esp, 0x18
test al, al
je 0x10037663
mov ecx, 3
movzx edi, al
sub ecx, ebp
test al, al
je 0x10037697
mov dl, byte [ebx + 0x15]
lea esi, [esp + 0x35]
movzx eax, byte [ebx + 0xd]
shl dl, cl
add esi, eax
mov byte [esp + 0x15], dl
mov eax, 0xaaaaaaab
mov dl, byte [ebx + 0x16]
shl dl, cl
mov byte [esp + 0x16], dl
mov dl, byte [ebx + 0x17]
shl dl, cl
lea ecx, [edi - 1]
mov byte [esp + 0x17], dl
mul ecx
mov al, byte [esp + 0x15]
mov cl, byte [esp + 0x16]
mov ah, byte [esp + 0x17]
shr edx, 1
inc edx
nop dword [eax]
add byte [esi - 1], al
lea esi, [esi + 3]
add byte [esi - 3], cl
add byte [esi - 2], ah
sub edx, 1
jne 0x10037650
jmp 0x10037697
cmp byte [ebx + 0x18], 0
je 0x10037697
inc byte [esp + 0x3f]
inc byte [esp + 0x40]
inc byte [esp + 0x41]
inc byte [esp + 0x42]
add byte [esp + 0x43], 2
add byte [esp + 0x44], 2
add byte [esp + 0x45], 3
add byte [esp + 0x46], 3
add byte [esp + 0x47], 3
add byte [esp + 0x48], 2
mov eax, dword [esp + 0x64]
xor esi, esi
movss xmm2, dword [0x101578a4]
mov ecx, 2
mov al, byte [eax + 3]
and al, 0xe0
cmp al, 0x60
movzx eax, byte [ebx + 0xa]
cmove esi, ecx
sub esi, eax
add esi, 0x102
mov edx, 0x78
mov eax, 0x40000000
cmp esi, edx
cmovl edx, esi
mov ecx, edx
sub esi, edx
sar ecx, 2
sar eax, cl
movd xmm0, eax
mov eax, edx
cvtdq2ps xmm0, xmm0
and eax, 3
mulss xmm0, dword [eax*4 + 0x10156058]
mulss xmm2, xmm0
test esi, esi
jg 0x100376c0
movzx ecx, byte [ebx + 0xe]
xor edi, edi
movzx eax, byte [ebx + 0xd]
add ecx, eax
je 0x1003775d
movzx esi, byte [esp + edi + 0x34]
mov ecx, ebp
shl esi, cl
movaps xmm1, xmm2
nop
mov edx, 0x78
mov eax, 0x40000000
cmp esi, edx
cmovl edx, esi
mov ecx, edx
sub esi, edx
sar ecx, 2
sar eax, cl
movd xmm0, eax
mov eax, edx
cvtdq2ps xmm0, xmm0
and eax, 3
mulss xmm0, dword [eax*4 + 0x10156058]
mulss xmm1, xmm0
test esi, esi
jg 0x10037710
mov eax, dword [esp + 0x30]
movss dword [eax + edi*4], xmm1
inc edi
movzx ecx, byte [ebx + 0xe]
movzx eax, byte [ebx + 0xd]
add ecx, eax
cmp edi, ecx
jl 0x10037703
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1006d7ba
add esp, 0x50
ret