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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push esi
push edi
test dl, dl
je 0x6126d9
add esp, 0xfffffff0
call fcn.0040440c
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp - 8]
mov dword [ebx + 0x2c], esi
fld dword [esi]
fadd dword [esi + 4]
call fcn.00402c6c
mov edx, dword [0x624eb8]
mov dword [edx], eax
mov dword [ebx + 0x74], 0xbf800000
xor eax, eax
mov dword [ebx + 4], eax
mov esi, dword [ebx + 0x2c]
push dword [esi]
push dword [esi + 4]
mov eax, dword [0x624838]
mov eax, dword [eax]
mov eax, dword [eax + 4]
call fcn.00611374
fstp dword [ebx + 0x6c]
wait
mov eax, dword [ebx + 0x2c]
fld dword [eax + 0x18]
fsub dword [ebx + 0x6c]
fld dword [0x612ce0]
fmul dword [eax + 0x14]
call fcn.00403254
fstp dword [ebx + 0x40]
wait
fld xword [0x612ce4]
mov eax, dword [ebx + 0x2c]
fld dword [eax + 0x14]
call fcn.0040324c
fstp dword [ebx + 0x44]
wait
mov eax, dword [ebx + 0x2c]
fld dword [eax + 0x14]
fld dword [0x612cf0]
call fcn.00403254
fstp dword [ebx + 0x48]
wait
fld dword [ebx + 0x44]
fmul st(0)
fld xword [0x612cf4]
fmulp st(1)
fld dword [ebx + 0x40]
fadd dword [ebx + 0x44]
fmul dword [0x612ce0]
mov eax, dword [ebx + 0x2c]
fmul dword [eax + 0x14]
fadd dword [ebx + 0x6c]
fsubrp st(1)
fstp dword [ebx + 0x50]
wait
mov eax, dword [0x624c18]
imul eax, dword [eax + 0x698], 0x5a
add eax, 0x78
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x38]
fstp dword [ebx + 0x3c]
wait
call fcn.00403490
fsub dword [0x612ce0]
mov eax, dword [0x624c18]
fild dword [eax + 0x69c]
fld xword [0x612d00]
fmulp st(1)
fmulp st(1)
fadd dword [0x612d0c]
fmul dword [ebx + 0x3c]
fstp dword [ebx + 0x3c]
wait
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax + 8]
mov dword [ebx + 0x98], eax
fld dword [0x612d10]
mov eax, dword [ebx + 0x2c]
fmul dword [eax + 0x14]
mov eax, dword [0x624838]
mov eax, dword [eax]
mov eax, dword [eax + 0x14]
fld dword [eax + 0x34]
call fcn.00403254
fstp dword [ebx + 0x4c]
wait
fld dword [0x612ce0]
fmul dword [ebx + 0x40]
fadd dword [ebx + 0x44]
fadd dword [ebx + 0x4c]
fld dword [0x612d14]
fmul dword [ebx + 0x44]
faddp st(1)
fstp dword [ebx + 0x68]
wait
call fcn.00403490
fmul dword [0x612d0c]
fadd dword [0x612d18]
fstp dword [ebx + 0x58]
wait
push 5
push 0x459c4000
mov ecx, 0xf
mov dl, 1
mov eax, dword [0x60c408]
call fcn.0060c470
mov dword [ebx + 0x1c], eax
push 5
push 0x459c4000
mov ecx, 0xf
mov dl, 1
mov eax, dword [0x60c408]
call fcn.0060c470
mov dword [ebx + 0x20], eax
mov byte [ebx + 8], 0
mov dword [ebx + 0x10], 0xbf800000
xor eax, eax
mov dword [ebp - 0xc], eax
push 1
lea eax, [ebx + 0xc]
mov ecx, 1
mov edx, dword [0x612504]
call fcn.00406574
add esp, 4
push 0
push 0
push dword [ebx + 0x6c]
lea eax, [ebp - 0x44]
call fcn.00473288
mov eax, dword [ebx + 0xc]
mov edx, dword [ebp - 0x44]
mov dword [eax], edx
mov edx, dword [ebp - 0x40]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 8], edx
mov eax, dword [ebx + 0xc]
call fcn.004063b8
mov esi, eax
mov edi, dword [ebx + 0x2c]
fld dword [edi]
lea eax, [esi + esi*2]
mov edx, dword [ebx + 0xc]
fadd dword [edx + eax*4 - 0xc]
add esp, 0xfffffffc
fstp dword [esp]
wait
fld dword [edi + 4]
lea eax, [esi + esi*2]
mov edx, dword [ebx + 0xc]
fadd dword [edx + eax*4 - 8]
add esp, 0xfffffffc
fstp dword [esp]
wait
lea edx, [ebp - 0x1c]
mov eax, dword [0x624838]
mov eax, dword [eax]
mov eax, dword [eax + 4]
call fcn.006115d4
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push 0
lea eax, [ebp - 0x28]
call fcn.00473288
push 0x41200000
lea edx, [ebp - 0x50]
lea eax, [ebp - 0x28]
call fcn.0047b774
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x44]
mov edx, dword [0x624838]
mov edx, dword [edx]
mov edx, dword [edx + 0x1c]
add edx, 0x44
call fcn.0047b734
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
call fcn.0047b880
fld xword [0x612d1c]
fcompp
fnstsw ax
sahf
jbe 0x612964
cmp esi, 1
je 0x612b28
push 0x42c80000
lea edx, [ebp - 0x50]
lea eax, [ebp - 0x28]
call fcn.004723b4
lea eax, [ebp - 0x50]
lea edx, [ebp - 0x44]
call fcn.0047b774
lea edx, [ebp - 0x44]
lea edi, [esi + esi*2]
mov eax, dword [ebx + 0xc]
lea eax, [eax + edi*4 - 0xc]
lea ecx, [ebp - 0x34]
call fcn.0047b734
mov eax, dword [ebx + 0x2c]
fld dword [eax]
fadd dword [ebp - 0x34]
add esp, 0xfffffffc
fstp dword [esp]
wait
mov eax, dword [ebx + 0x2c]
fld dword [eax + 4]
fadd dword [ebp - 0x30]
add esp, 0xfffffffc
fstp dword [esp]
wait
mov eax, dword [0x624838]
mov eax, dword [eax]
mov eax, dword [eax + 4]
call fcn.00611374
fadd dword [0x612d28]
fstp dword [ebp - 0x2c]
wait
mov eax, dword [ebx + 0xc]
fld dword [eax + edi*4 - 4]
fadd dword [0x612d2c]
fcomp dword [ebp - 0x2c]
fnstsw ax
sahf
jae 0x612a1b
lea eax, [esi + 1]
push eax
lea eax, [ebx + 0xc]
mov ecx, 1
mov edx, dword [0x612504]
call fcn.00406574
add esp, 4
mov eax, dword [ebx + 0xc]
mov edx, dword [ebp - 0x34]
mov dword [eax + edi*4], edx
mov edx, dword [ebp - 0x30]
mov dword [eax + edi*4 + 4], edx
mov edx, dword [ebp - 0x2c]
mov dword [eax + edi*4 + 8], edx
mov dword [ebp - 0xc], esi
mov byte [ebx + 8], 1
jmp 0x612a37
mov eax, dword [0x624838]
mov eax, dword [eax]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax + 0x44]
mov dword [ebp - 0x28], edx
mov edx, dword [eax + 0x48]
mov dword [ebp - 0x24], edx
mov edx, dword [eax + 0x4c]
mov dword [ebp - 0x20], edx
mov eax, dword [0x624838]
mov eax, dword [eax]
mov eax, dword [eax + 0x14]
fld dword [eax + 0x30]
fadd dword [0x612d30]
mov eax, dword [ebx + 0xc]
fcomp dword [eax + edi*4 - 4]
fnstsw ax
sahf
jbe 0x612b28
cmp esi, dword [ebp - 0xc]
je 0x6128b5
lea eax, [esi + 1]
push eax
lea eax, [ebx + 0xc]
mov ecx, 1
mov edx, dword [0x612504]
call fcn.00406574
add esp, 4
push 0x42c80000
lea edx, [ebp - 0x50]
lea eax, [ebp - 0x28]
call fcn.004723b4
lea eax, [ebp - 0x50]
lea edx, [ebp - 0x44]
call fcn.0047b774
lea edx, [ebp - 0x44]
mov eax, dword [ebx + 0xc]
lea eax, [eax + edi*4 - 0xc]
lea ecx, [ebp - 0x34]
call fcn.0047b734
lea eax, [ebp - 0x28]
call fcn.0047b880
mov eax, dword [ebx + 0x2c]
fld dword [eax + 0x14]
call fcn.0040324c
fmul dword [0x612d28]
mov eax, dword [ebx + 0xc]
fadd dword [eax + edi*4 - 4]
fstp dword [ebp - 0x2c]
wait
mov eax, dword [ebx + 0xc]
mov edx, dword [ebp - 0x34]
mov dword [eax + edi*4], edx
mov edx, dword [ebp - 0x30]
mov dword [eax + edi*4 + 4], edx
mov edx, dword [ebp - 0x2c]
mov dword [eax + edi*4 + 8], edx
fld dword [ebx + 0x10]
fcomp dword [0x612d34]
fnstsw ax
sahf
jae 0x6128b5
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*2]
mov edx, dword [ebx + 0xc]
lea edx, [edx + eax*4]
lea eax, [ebp - 0x34]
call fcn.0047b9b0
fld dword [0x612d38]
mov eax, dword [ebx + 0x2c]
fmul dword [eax + 0x14]
fcompp
fnstsw ax
sahf
jae 0x6128b5
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x10], eax
cmp byte [ebx + 8], 0
je 0x612b6c
cmp dword [ebp - 0xc], 3
jle 0x612b6c
mov eax, dword [ebp - 0xc]
inc eax
push eax
lea eax, [ebx + 0xc]
mov ecx, 1
mov edx, dword [0x612504]
call fcn.00406574
add esp, 4
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*2]
mov edx, dword [ebx + 0xc]
fld dword [edx + eax*4 - 4]
fadd dword [0x612d3c]
mov edx, dword [ebx + 0xc]
fstp dword [edx + eax*4 + 8]
wait
jmp 0x612b7e
mov byte [ebx + 8], 0
lea eax, [ebx + 0xc]
mov edx, dword [0x612504]
call fcn.00406694
mov eax, dword [ebp - 8]
fld dword [eax + 8]
fcomp dword [0x612d40]
fnstsw ax
sahf
jne 0x612b93
mov byte [ebx + 0x28], 1
cmp byte [ebx + 0x28], 0
je 0x612bbc
mov eax, 4
call fcn.00403474
push eax
lea eax, [ebx + 0x24]
mov ecx, 1
mov edx, dword [0x612528]
call fcn.00406574
add esp, 4
jmp 0x612be0
mov eax, 4
call fcn.00403474
add eax, 3
push eax
lea eax, [ebx + 0x24]
mov ecx, 1
mov edx, dword [0x612528]
call fcn.00406574
add esp, 4
mov eax, dword [ebx + 0x24]
call fcn.004063c0
test eax, eax
jl 0x612cbd
inc eax
mov dword [ebp - 0x10], eax
xor esi, esi
mov eax, esi
shl eax, 3
sub eax, esi
mov edx, dword [ebx + 0x24]
lea edi, [edx + eax*4]
mov eax, 0x7d0
call fcn.00403474
sub eax, 0x3e8
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x38]
fstp dword [edi]
wait
mov eax, 0x7d0
call fcn.00403474
sub eax, 0x3e8
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x38]
fstp dword [edi + 4]
wait
call fcn.00403490
mov eax, dword [ebx + 0x2c]
fld dword [eax + 0x18]
fsub dword [ebx + 0x6c]
fmulp st(1)
fadd dword [ebx + 0x6c]
fstp dword [edi + 8]
wait
call fcn.00403490
fld xword [0x612d00]
fmulp st(1)
fld xword [0x612d44]
faddp st(1)
fstp dword [edi + 0xc]
wait
call fcn.00403490
fld xword [0x612d50]
fmulp st(1)
fld xword [0x612d5c]
faddp st(1)
fstp dword [edi + 0x10]
wait
push 5
push 0x459c4000
mov ecx, 0xf
mov dl, 1
mov eax, dword [0x60c408]
call fcn.0060c470
mov dword [edi + 0x14], eax
push 5
push 0x459c4000
mov ecx, 0xf
mov dl, 1
mov eax, dword [0x60c408]
call fcn.0060c470
mov dword [edi + 0x18], eax
inc esi
dec dword [ebp - 0x10]
jne 0x612bf6
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x612cd4
call fcn.00404464
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret