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

Disassembly:
push ebp
mov ecx, 0
push edi
push esi
push ebx
sub esp, 0xa4
mov eax, dword [esp + 0xb8]
mov esi, dword [esp + 0xbc]
mov edx, dword [eax + 8]
test edx, edx
cmovns ecx, dword [eax + 8]
mov dword [esp + 0x80], ecx
mov ecx, dword [eax]
test ecx, ecx
jle 0x42489b
mov edi, dword [esp + 0xc0]
mov dword [esp + 8], ecx
mov ebx, dword [eax + 0x2c]
xor eax, eax
mov dword [esp + 4], edi
mov ecx, edi
lea esi, [esi]
movsx edx, word [ebx + eax*2]
mov edi, dword [esi + eax*8]
mov ebp, dword [esi + eax*8 + 4]
add eax, 1
cmp eax, dword [esp + 8]
mov dword [ecx + edx*8], edi
mov dword [ecx + edx*8 + 4], ebp
jne 0x424880
mov eax, dword [esp + 0xb8]
mov edx, 1
xor ebx, ebx
mov dword [esp + 0x84], 1
jmp 0x4248c2
mov ebx, ecx
movsx edi, word [eax + 0xc]
lea ecx, [ebx + 1]
movzx esi, word [eax + 0xe]
add eax, 4
imul edx, edi
cmp si, 1
mov dword [esp + ecx*4 + 0x84], edx
jne 0x4248c0
mov esi, dword [esp + 0xb8]
lea edi, [ebx + ebx]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], edi
movsx ecx, word [esi + ecx*4 + 0xa]
mov dword [esp + 0x3c], ecx
jmp 0x42495d
mov ebx, dword [esp + 0xb8]
mov dword [esp + 0x64], 1
mov edx, dword [esp + 0x60]
movzx eax, word [ebx + edx*2 + 0xc]
cmp ax, 3
je 0x42498a
jg 0x424af0
cmp ax, 2
jne 0x424940
lea esi, [esi]
jmp 0x425021
fstp st(0)
mov esi, esi
lea edi, [edi]
sub dword [esp + 0x5c], 1
sub dword [esp + 0x60], 2
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x5c], 0xffffffff
mov dword [esp + 0x3c], eax
je 0x4250ef
mov ebp, dword [esp + 0x5c]
test ebp, ebp
je 0x424900
mov eax, dword [esp + 0xb8]
mov ebp, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov ebx, eax
movsx ebp, word [eax + ebp*4 + 0xa]
movzx eax, word [ebx + edx*2 + 0xc]
mov dword [esp + 0x64], ebp
cmp ax, 3
jne 0x42491e
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x3c]
movzx ecx, byte [esp + 0x80]
mov ebx, dword [ebx + 0x30]
mov eax, dword [esp + eax*4 + 0x84]
shl esi, 3
mov edx, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
shl eax, cl
imul edx, eax
fld dword [ebx + edx + 4]
mov edx, dword [esp + 0x1c]
test edx, edx
jle 0x424935
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x14], 0
lea ebp, [eax*8]
shl eax, 4
mov edx, dword [esp + 0xc0]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x64]
fchs
shl edi, 4
mov dword [esp + 0x24], edi
shl eax, 3
mov dword [esp + 0xc], edx
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x3c]
add eax, edx
add ecx, edx
mov ebx, esi
lea esi, [esi]
fld dword [eax]
fld dword [ebx]
fld dword [eax + 4]
fld dword [ebx + 4]
add ebx, ebp
fld st(1)
fmul st(1)
fld st(4)
fmul st(4)
faddp st(1)
fxch st(3)
fmulp st(2)
fmulp st(3)
fsubrp st(2)
fld dword [ecx]
fld dword [esi]
fld dword [ecx + 4]
fld dword [esi + 4]
fmul st(1)
fld st(3)
fmul st(3)
faddp st(1)
fxch st(2)
fmulp st(1)
fld dword [esi + 4]
fmulp st(3)
add esi, dword [esp + 8]
fsubrp st(2)
fld st(0)
fadd st(3)
fld st(2)
fadd st(5)
fld dword [0x4556a0]
fmul st(2)
fsubr dword [edx]
fstp dword [eax]
fld dword [0x4556a0]
fmul st(1)
fsubr dword [edx + 4]
fstp dword [eax + 4]
fxch st(2)
fsubp st(4)
fxch st(3)
fmul st(5)
fxch st(2)
fsubp st(4)
fxch st(3)
fmul st(4)
fxch st(2)
fadd dword [edx]
fstp dword [edx]
fxch st(2)
fadd dword [edx + 4]
fstp dword [edx + 4]
add edx, 8
fld dword [eax]
fadd st(1)
fstp dword [ecx]
fld dword [eax + 4]
fsub st(2)
fstp dword [ecx + 4]
add ecx, 8
fsubr dword [eax]
fstp dword [eax]
fadd dword [eax + 4]
fstp dword [eax + 4]
add eax, 8
sub edi, 1
jne 0x424a20
add dword [esp + 0x14], 1
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
add dword [esp + 0xc], eax
cmp dword [esp + 0x14], edx
jne 0x424a03
fstp st(0)
jmp 0x424940
cmp ax, 4
je 0x424e3f
cmp ax, 5
jne 0x424940
mov ebx, dword [esp + 0x5c]
movzx ecx, byte [esp + 0x80]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + ebx*4 + 0x84]
mov dword [esp + 0x68], ebx
mov eax, ebx
mov ebx, dword [esp + 0xb8]
shl eax, cl
mov ebp, dword [esp + 0x68]
imul edx, eax
mov ebx, dword [ebx + 0x30]
lea ecx, [ebx + edx*8]
shl edx, 4
mov dword [esp + 0x54], ebx
fld dword [ecx]
add edx, ebx
test ebp, ebp
fstp dword [esp + 0x1c]
fld dword [ecx + 4]
fstp dword [esp + 0x20]
fld dword [edx]
fstp dword [esp + 0x24]
fld dword [edx + 4]
fstp dword [esp + 0x28]
jle 0x424940
mov edx, dword [esp + 0x3c]
lea ecx, [eax*8]
mov dword [esp + 0x58], 0
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x40], ecx
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x64]
shl edx, 3
mov dword [esp + 0x70], edx
lea edx, [esi + esi*2]
shl esi, 5
shl edx, 3
shl ebx, 4
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0xc0]
shl edi, 3
mov dword [esp + 0x74], ebx
mov ebx, eax
shl ebx, 4
mov dword [esp + 0x6c], edi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x50], edx
lea edx, [eax + eax*2]
shl eax, 5
shl edx, 3
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x78]
mov edi, dword [esp + 0x3c]
add eax, esi
add edx, esi
add ecx, esi
add ebx, esi
test edi, edi
jle 0x424e1f
mov edi, dword [esp + 0x54]
mov dword [esp + 0x34], 0
mov dword [esp], esi
mov dword [esp + 0x14], edi
mov ebp, edi
mov dword [esp + 4], edi
mov dword [esp + 0x18], edi
mov esi, dword [esp]
fld dword [esi]
fstp dword [esp + 0x2c]
fld dword [esi + 4]
mov esi, dword [esp + 0x18]
fstp dword [esp + 0x30]
fld dword [eax]
fld dword [esi]
fld dword [eax + 4]
fld dword [esi + 4]
fld st(0)
mov esi, dword [esp + 0x14]
fmul st(2)
fstp dword [esp + 4]
fld st(2)
fmul st(4)
fadd dword [esp + 4]
fstp dword [esp + 4]
fxch st(1)
fmulp st(2)
fmulp st(2)
fsubrp st(1)
fld dword [edx]
fld dword [esi]
fld dword [edx + 4]
fld dword [esi + 4]
fld st(0)
fmul st(2)
fstp dword [esp + 8]
fld st(2)
fmul st(4)
fadd dword [esp + 8]
fstp dword [esp + 8]
fxch st(2)
fmulp st(1)
fxch st(2)
fmulp st(1)
fsubp st(1)
fld dword [ecx]
fld dword [edi]
fld dword [ecx + 4]
fld dword [edi + 4]
fld st(0)
fmul st(2)
fstp dword [esp + 0xc]
fld st(2)
fmul st(4)
fadd dword [esp + 0xc]
fstp dword [esp + 0xc]
fxch st(1)
fmulp st(2)
fmulp st(2)
fsubrp st(1)
fld dword [ebp]
fld dword [ebx + 4]
fld dword [ebp + 4]
fld st(0)
fmul st(2)
fld dword [ebx]
fmul st(4)
faddp st(1)
fxch st(2)
fmulp st(3)
fld dword [ebx]
fmulp st(1)
fsubp st(2)
fld dword [esp + 4]
fadd st(1)
fld st(2)
fadd st(6)
fstp dword [esp + 0x10]
fxch st(1)
mov esi, dword [esp]
fsubr dword [esp + 4]
fstp dword [esp + 4]
fxch st(4)
fsubrp st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0xc]
fadd dword [esp + 8]
fld st(1)
fadd st(3)
fld dword [esp + 8]
fsub dword [esp + 0xc]
fstp dword [esp + 8]
fxch st(3)
fsubrp st(2)
fxch st(1)
fst dword [esp + 0xc]
fld st(3)
fadd st(2)
fadd dword [esp + 0x2c]
fstp dword [esi]
fld dword [esp + 0x10]
fadd st(3)
fadd dword [esp + 0x30]
fstp dword [esi + 4]
add esi, 8
fld dword [esp + 0x1c]
fmul st(4)
fld dword [esp + 0x24]
fmul st(3)
faddp st(1)
fadd dword [esp + 0x2c]
fld dword [esp + 0x10]
fmul dword [esp + 0x1c]
fld dword [esp + 0x24]
fmul st(5)
faddp st(1)
fadd dword [esp + 0x30]
fld dword [esp + 0x28]
fmulp st(3)
fld dword [esp + 0x38]
fmul dword [esp + 0x20]
faddp st(3)
fld dword [esp + 8]
fmul dword [esp + 0x28]
fld dword [esp + 4]
fmul dword [esp + 0x20]
faddp st(1)
fld st(2)
fadd st(4)
fstp dword [eax]
fld st(1)
fsub st(1)
fstp dword [eax + 4]
fxch st(2)
add eax, 8
fsubrp st(3)
fxch st(2)
fstp dword [ebx]
faddp st(1)
fstp dword [ebx + 4]
fxch st(2)
add ebx, 8
fmul dword [esp + 0x24]
fxch st(2)
fmul dword [esp + 0x1c]
faddp st(2)
fxch st(1)
fadd dword [esp + 0x2c]
fld dword [esp + 0x10]
fmul dword [esp + 0x24]
fxch st(2)
fmul dword [esp + 0x1c]
faddp st(2)
fxch st(1)
fadd dword [esp + 0x30]
fld dword [esp + 0x38]
fmul dword [esp + 0x28]
fld dword [esp + 0xc]
fmul dword [esp + 0x20]
fsubp st(1)
fld dword [esp + 8]
fmul dword [esp + 0x20]
fld dword [esp + 4]
fmul dword [esp + 0x28]
fsubp st(1)
fld st(3)
fadd st(2)
fstp dword [edx]
add edi, dword [esp + 0x4c]
mov dword [esp], esi
mov esi, dword [esp + 0x40]
fld st(2)
add ebp, dword [esp + 0x48]
add dword [esp + 0x34], 1
fadd st(1)
add dword [esp + 0x18], esi
fstp dword [edx + 4]
fxch st(3)
mov esi, dword [esp + 0x44]
add edx, 8
fsubrp st(1)
add dword [esp + 0x14], esi
fstp dword [ecx]
mov esi, dword [esp + 0x3c]
fsubrp st(1)
fstp dword [ecx + 4]
add ecx, 8
cmp dword [esp + 0x34], esi
jne 0x424c15
add dword [esp + 0x58], 1
mov edi, dword [esp + 0x6c]
mov ebp, dword [esp + 0x68]
add dword [esp + 0x50], edi
cmp dword [esp + 0x58], ebp
jne 0x424bd0
jmp 0x424940
mov edx, dword [esp + 0x5c]
movzx ecx, byte [esp + 0x80]
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + edx*4 + 0x84]
mov dword [esp + 0x2c], edx
mov eax, edx
mov esi, dword [esp + 0x2c]
lea edx, [ebx + ebx*2]
shl eax, cl
test esi, esi
jle 0x424940
mov esi, dword [esp + 0xb8]
mov edi, ebx
shl ebx, 4
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x64]
shl edx, 3
lea ebp, [eax*8]
mov dword [esp + 0x34], edx
mov edx, eax
lea eax, [eax + eax*2]
shl edi, 3
mov dword [esp + 0x14], ebp
mov esi, dword [esi + 0x30]
shl edx, 4
shl eax, 3
shl ebx, 3
mov dword [esp + 0x38], edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0xc0]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], esi
nop
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x20]
test ecx, ecx
jle 0x425001
mov ebp, dword [esp + 0x28]
mov dword [esp + 0xc], 0
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
mov edi, ebp
mov dword [esp + 0x40], ebp
add ebx, eax
add ecx, eax
add edx, eax
mov esi, dword [esp + 0x40]
fld dword [ebx]
fld dword [esi]
fld dword [ebx + 4]
fld dword [esi + 4]
fld st(1)
mov esi, dword [esp + 0x14]
fmul st(1)
add dword [esp + 0x40], esi
fstp dword [esp + 4]
fld st(3)
fmul st(3)
fadd dword [esp + 4]
fstp dword [esp + 4]
fxch st(1)
fmulp st(2)
fmulp st(2)
fsubrp st(1)
fstp dword [esp + 8]
fld dword [ecx]
fld dword [edi]
fld dword [ecx + 4]
fld dword [edi + 4]
fld st(1)
add edi, dword [esp + 0x18]
fmul st(1)
fld st(4)
fmul st(4)
faddp st(1)
fxch st(3)
fmulp st(2)
fmulp st(3)
fsubrp st(2)
fld dword [edx]
fld dword [ebp]
fld dword [edx + 4]
fld dword [ebp + 4]
fld st(1)
add ebp, dword [esp + 0x1c]
fmul st(1)
fld st(4)
fmul st(4)
faddp st(1)
fxch st(3)
fmulp st(2)
fmulp st(3)
fsubrp st(2)
fld dword [eax]
fld st(0)
fsub st(4)
fld dword [eax + 4]
fld st(0)
fsub st(7)
fxch st(6)
faddp st(3)
fxch st(2)
fst dword [eax]
fxch st(6)
faddp st(2)
fxch st(1)
fst dword [eax + 4]
fld dword [esp + 4]
fadd st(3)
fld dword [esp + 8]
fadd st(5)
fxch st(4)
fsubr dword [esp + 4]
fxch st(5)
fsubr dword [esp + 8]
fxch st(7)
fsub st(1)
fstp dword [ecx]
fxch st(1)
fsub st(3)
fstp dword [ecx + 4]
add ecx, 8
fadd dword [eax]
fstp dword [eax]
fxch st(1)
mov esi, dword [esp + 0x3c]
fadd dword [eax + 4]
add dword [esp + 0xc], 1
fstp dword [eax + 4]
add eax, 8
fld st(0)
fsub st(4)
fstp dword [ebx]
fld st(1)
fadd st(3)
fstp dword [ebx + 4]
add ebx, 8
faddp st(3)
fxch st(2)
fstp dword [edx]
fsubrp st(1)
fstp dword [edx + 4]
add edx, 8
cmp dword [esp + 0xc], esi
jne 0x424f04
add dword [esp + 0x24], 1
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
add dword [esp + 0x20], edi
cmp dword [esp + 0x24], ebp
jne 0x424ed0
jmp 0x424940
mov esi, dword [esp + 0x5c]
movzx ecx, byte [esp + 0x80]
mov esi, dword [esp + esi*4 + 0x84]
mov dword [esp + 8], esi
shl esi, cl
mov edi, dword [esp + 8]
test edi, edi
jle 0x424940
mov edi, dword [esp + 0x3c]
shl esi, 3
mov ebp, dword [esp + 0x64]
mov ebx, dword [esp + 0xb8]
shl edi, 3
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0xc0]
shl ebp, 3
mov ebx, dword [ebx + 0x30]
mov dword [esp + 0x14], ebp
xor ebp, ebp
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x3c]
add edi, dword [esp + 0xc]
mov dword [esp + 0x18], ebx
mov eax, edi
mov edx, edi
sub eax, dword [esp + 0xc]
test ebp, ebp
jle 0x4250d7
mov ecx, dword [esp + 0x18]
xor ebx, ebx
fld dword [edx]
add ebx, 1
fld dword [ecx]
fld dword [edx + 4]
fld dword [ecx + 4]
add ecx, esi
fld st(0)
fmul st(2)
fld st(3)
fmul st(5)
faddp st(1)
fxch st(3)
fmulp st(2)
fmulp st(3)
fsubrp st(2)
fld dword [eax]
fsub st(1)
fstp dword [edx]
fld dword [eax + 4]
fsub st(2)
fstp dword [edx + 4]
add edx, 8
fadd dword [eax]
fstp dword [eax]
fadd dword [eax + 4]
fstp dword [eax + 4]
add eax, 8
cmp ebx, ebp
jne 0x425094
add dword [esp + 4], 1
mov eax, dword [esp + 8]
add edi, dword [esp + 0x14]
cmp dword [esp + 4], eax
jne 0x425082
jmp 0x424940
add esp, 0xa4
pop ebx
pop esi
pop edi
pop ebp
ret