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

Disassembly:
sub esp, 0x4c
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x50]
mov edx, dword [edx + 8]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x74]
push ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x64]
push esi
mov esi, dword [esp + 0x78]
add ecx, 3
push edi
xor edi, edi
sar ecx, 2
cmp eax, edi
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], edi
jbe 0x10022a88
fld dword [esp + 0x64]
add eax, eax
fld dword [esp + 0x60]
add eax, eax
fldz
push ebp
mov ebp, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], ebp
jmp 0x100224ba
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
cmp ecx, 8
jl 0x100224c9
mov dword [esp + 0x20], 8
jmp 0x100224db
mov eax, ecx
and eax, 0x80000007
jns 0x100224d7
dec eax
or eax, 0xfffffff8
inc eax
mov dword [esp + 0x20], eax
mov edi, dword [esp + 0x20]
sub ecx, edi
test edi, edi
mov dword [esp + 0x4c], ecx
je 0x10022a81
cmp edi, 1
jle 0x100224fc
mov dword [esp + 0x14], 4
jmp 0x10022508
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x6c], 0
mov dword [esp + 0x10], 0
jle 0x10022679
mov eax, dword [esp + 0x38]
sub eax, edx
lea edi, [edx + ebp]
mov dword [esp + 0x1c], eax
jmp 0x1002252e
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + edi]
mov edx, dword [edi]
shr eax, 0x1c
shr edx, 0x1c
xor ecx, ecx
cmp dword [esp + 0x14], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x2c], edx
jle 0x10022649
jmp 0x10022557
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x48]
cmp byte [ecx + eax*4 + 0x1009bb48], 0
je 0x1002263c
cmp byte [ecx + edx*4 + 0x1009bb48], 0
jne 0x10022578
mov edx, 0x80000000
shr edx, cl
or dword [edi], edx
mov eax, dword [esp + 0x3c]
mov edx, 0x80000000
shr edx, cl
or dword [eax + ebp], edx
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jne 0x1002259a
cmp byte [esi + 0xd], 8
jne 0x100225b8
mov byte [esp + 0x60], 1
jmp 0x100225da
cmp byte [esi + 0xd], 8
jne 0x100225b8
cmp byte [esi + 0xc], 0xff
sete dl
add dword [esi + 8], 1
mov byte [esi + 0xd], dl
mov dl, byte [eax]
add eax, 1
mov byte [esi + 0xc], dl
mov dword [esi], eax
mov al, byte [esi + 0xd]
movzx edx, al
mov dl, byte [edx + 0x1008a060]
and dl, byte [esi + 0xc]
add al, 1
test dl, dl
mov byte [esi + 0xd], al
mov byte [esp + 0x60], 1
jne 0x100225da
mov byte [esp + 0x60], 0
mov eax, dword [esp + 0x18]
lea edx, [eax + ecx]
imul edx, dword [esp + 0x7c]
add edx, dword [esp + 0x10]
add edx, edx
add edx, edx
fcom dword [edx + ebx]
fnstsw ax
test ah, 0x41
movzx eax, byte [esp + 0x60]
jp 0x10022619
mov dword [esp + 0x60], eax
fild dword [esp + 0x60]
fmul st(2)
fadd dword [edx + ebx]
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
fst dword [edx + ebx]
fadd st(3)
jmp 0x10022635
fld dword [edx + ebx]
mov dword [esp + 0x60], eax
fild dword [esp + 0x60]
fmul st(3)
fsubp st(1)
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
fst dword [edx + ebx]
fsub st(3)
mov eax, dword [esp + 0x78]
fstp dword [edx + eax]
add ecx, 1
cmp ecx, dword [esp + 0x14]
jl 0x1002254f
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x10]
add eax, eax
add eax, eax
add ecx, 1
add ebp, eax
add edi, eax
cmp ecx, dword [esp + 0x6c]
mov dword [esp + 0x10], ecx
jl 0x1002252a
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
lea eax, [edi - 1]
cmp eax, 1
mov dword [esp + 0x14], 4
jle 0x10022847
add eax, 0xffffffff
mov dword [esp + 0x40], eax
cmp dword [esp + 0x6c], 0
mov dword [esp + 0x10], 0
jle 0x10022837
mov edi, dword [esp + 0x38]
mov ecx, 0x1c
sub ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], ebp
add ebp, edx
sub edi, edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x1c], edi
mov eax, dword [edi + ebp]
shr eax, cl
and eax, 0xf
je 0x10022803
mov ebp, dword [ebp]
mov edi, dword [esp + 0x14]
shr ebp, cl
lea eax, [eax*4 + 0x1009bb48]
mov dword [esp + 0x44], eax
and ebp, 0xf
xor ecx, ecx
mov dword [esp + 0x60], ecx
cmp byte [eax], 0
je 0x100227d5
mov edx, dword [esp + 0x18]
add edx, edi
imul edx, dword [esp + 0x7c]
add edx, dword [esp + 0x10]
cmp byte [ecx + ebp*4 + 0x1009bb48], 0
jne 0x10022724
mov eax, dword [esp + 0x34]
mov ebx, 0x80000000
mov ecx, edi
shr ebx, cl
or dword [eax], ebx
mov eax, dword [esp + 0x2c]
mov ecx, edi
mov ebx, 0x80000000
shr ebx, cl
mov ecx, dword [esp + 0x3c]
or dword [eax + ecx], ebx
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jne 0x10022749
cmp byte [esi + 0xd], 8
jne 0x10022767
mov cl, 1
jmp 0x10022785
cmp byte [esi + 0xd], 8
jne 0x10022767
cmp byte [esi + 0xc], 0xff
sete cl
add dword [esi + 8], 1
mov byte [esi + 0xd], cl
mov cl, byte [eax]
add eax, 1
mov byte [esi + 0xc], cl
mov dword [esi], eax
mov al, byte [esi + 0xd]
movzx ecx, al
mov cl, byte [ecx + 0x1008a060]
and cl, byte [esi + 0xc]
add al, 1
test cl, cl
mov byte [esi + 0xd], al
je 0x10022783
mov cl, 1
jmp 0x10022785
xor cl, cl
mov ebx, dword [esp + 0x74]
fcom dword [ebx + edx*4]
fnstsw ax
test ah, 0x41
movzx eax, cl
mov ecx, dword [esp + 0x78]
jp 0x100227b6
mov dword [esp + 0x48], eax
fild dword [esp + 0x48]
fmul st(2)
fadd dword [ebx + edx*4]
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fst dword [ebx + edx*4]
fadd st(3)
jmp 0x100227d2
fld dword [ebx + edx*4]
mov dword [esp + 0x48], eax
fild dword [esp + 0x48]
fmul st(3)
fsubp st(1)
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fst dword [ebx + edx*4]
fsub st(3)
fstp dword [ecx + edx*4]
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x44]
add ecx, 1
add eax, 1
add edi, 1
cmp ecx, 4
mov dword [esp + 0x60], ecx
mov dword [esp + 0x44], eax
jl 0x100226f3
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x84]
add dword [esp + 0x10], 1
mov edx, dword [esp + 0x10]
add eax, eax
add eax, eax
add dword [esp + 0x2c], eax
add ebp, eax
cmp edx, dword [esp + 0x6c]
mov dword [esp + 0x34], ebp
jl 0x100226c8
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
add dword [esp + 0x14], 4
sub dword [esp + 0x40], 1
jne 0x10022694
cmp edi, 1
jle 0x10022a5f
mov ecx, dword [esp + 0x70]
lea eax, [edi*4 - 4]
sub ecx, eax
sub ecx, dword [esp + 0x18]
cmp ecx, 4
jb 0x10022870
mov dword [esp + 0x14], 4
jmp 0x1002288f
mov eax, dword [esp + 0x30]
lea ecx, [eax*8]
mov eax, 1
sub eax, ecx
mov ecx, dword [esp + 0x70]
sub eax, edi
lea eax, [ecx + eax*4]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x6c], 0
mov dword [esp + 0x10], 0
jle 0x10022a5f
mov eax, dword [esp + 0x38]
add edx, ebp
sub eax, dword [esp + 0x28]
lea edi, [edi*4 - 4]
mov dword [esp + 0x58], edi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], edx
mov dword [esp + 0x1c], eax
jmp 0x100228c9
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + edx]
mov ebp, dword [edx]
mov ecx, 0x1c
sub ecx, edi
shr eax, cl
shr ebp, cl
mov dword [esp + 0x60], 0
and eax, 0xf
and ebp, 0xf
cmp dword [esp + 0x14], 0
mov dword [esp + 0x2c], ebp
jle 0x10022a35
lea ecx, [eax*4 + 0x1009bb48]
mov eax, dword [esp + 0x7c]
lea edx, [eax*4]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x20]
lea ecx, [ecx + edx*8]
lea edx, [ecx*4 - 4]
imul edx, eax
add edx, dword [esp + 0x10]
mov eax, dword [esp + 0x78]
sub eax, ebx
lea edx, [ebx + edx*4]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x34]
cmp byte [eax], 0
je 0x10022a0c
mov ecx, dword [esp + 0x60]
cmp byte [ecx + ebp*4 + 0x1009bb48], 0
jne 0x10022960
mov eax, dword [esp + 0x44]
mov ebp, 0x80000000
mov ecx, edi
shr ebp, cl
or dword [eax], ebp
mov eax, dword [esp + 0x3c]
mov ecx, edi
mov ebp, 0x80000000
shr ebp, cl
mov ecx, dword [esp + 0x40]
or dword [ecx + eax], ebp
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jne 0x10022985
cmp byte [esi + 0xd], 8
jne 0x100229a3
mov cl, 1
jmp 0x100229c1
cmp byte [esi + 0xd], 8
jne 0x100229a3
cmp byte [esi + 0xc], 0xff
sete cl
add dword [esi + 8], 1
mov byte [esi + 0xd], cl
mov cl, byte [eax]
add eax, 1
mov byte [esi + 0xc], cl
mov dword [esi], eax
mov al, byte [esi + 0xd]
movzx ecx, al
mov cl, byte [ecx + 0x1008a060]
and cl, byte [esi + 0xc]
add al, 1
test cl, cl
mov byte [esi + 0xd], al
je 0x100229bf
mov cl, 1
jmp 0x100229c1
xor cl, cl
fcom dword [edx]
mov ebp, dword [esp + 0x2c]
fnstsw ax
test ah, 0x41
movzx eax, cl
mov ecx, dword [esp + 0x48]
jp 0x100229ef
mov dword [esp + 0x50], eax
fild dword [esp + 0x50]
fmul st(2)
fadd dword [edx]
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fst dword [edx]
fadd st(3)
jmp 0x10022a09
fld dword [edx]
mov dword [esp + 0x50], eax
fild dword [esp + 0x50]
fmul st(3)
fsubp st(1)
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fst dword [edx]
fsub st(3)
fstp dword [ecx + edx]
add edx, dword [esp + 0x54]
mov eax, 1
add dword [esp + 0x60], eax
add dword [esp + 0x34], eax
add edi, eax
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x60], eax
jl 0x10022936
mov edi, dword [esp + 0x58]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x10]
add eax, eax
add eax, eax
add dword [esp + 0x40], eax
add ecx, 1
add edx, eax
cmp ecx, dword [esp + 0x6c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x44], edx
jl 0x100228c5
mov eax, dword [esp + 0x30]
add dword [esp + 0x18], 0x20
add dword [esp + 0x24], 4
add eax, 1
cmp eax, dword [esp + 0x84]
mov dword [esp + 0x30], eax
jb 0x100224ae
fstp st(2)
pop ebp
fstp st(0)
fstp st(0)
pop edi
pop esi
pop ebx
add esp, 0x4c
ret