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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1a
push 0
push 0
dec ecx
jne 0x4a244c
push ecx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a2d15
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, dword [eax + 0x24]
mov eax, dword [0x4adb1c]
mov eax, dword [eax]
call fcn.004a0830
lea ecx, [ebp - 0xa4]
mov eax, dword [ebp - 4]
lea edx, [eax + 4]
lea eax, [ebp - 0x64]
call fcn.00489824
lea esi, [ebp - 0xa4]
lea edi, [ebp - 0x64]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
push 0
lea eax, [ebp - 0x18]
mov ecx, 1
mov edx, dword [0x4a2264]
call fcn.004065d0
add esp, 4
fld qword [ebp - 0x5c]
fsub qword [ebp - 0x4c]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [0x4adc64]
mov eax, dword [eax]
mov eax, dword [eax + 0x14]
call fcn.004a7a30
mov dword [ebp - 8], eax
fld qword [ebp - 0x5c]
fsub qword [ebp - 0x4c]
fstp qword [ebp - 0x28]
wait
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 8], 0
je 0x4a2a06
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
call fcn.004a7948
sub eax, 1
jno 0x4a250f
call fcn.00403fb4
test eax, eax
jl 0x4a2a06
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
call fcn.004a7a00
mov eax, dword [eax + 0x18]
test eax, eax
jle 0x4a29fa
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x18]
call fcn.004063f4
add eax, 1
jno 0x4a2557
call fcn.00403fb4
push eax
lea eax, [ebp - 0x18]
mov ecx, 1
mov edx, dword [0x4a2264]
call fcn.004065d0
add esp, 4
mov eax, dword [0x4adc64]
mov eax, dword [eax]
mov eax, dword [eax + 0x78]
call fcn.00488ffc
test al, al
jne 0x4a25ab
mov eax, dword [ebp - 0x18]
call fcn.004063fc
imul eax, eax, 9
jno 0x4a2593
call fcn.00403fb4
mov edx, dword [ebp - 0x18]
lea eax, [edx + eax*8]
mov edx, dword [0x4adc64]
mov edx, dword [edx]
mov edx, dword [edx + 0x78]
call fcn.00405714
jmp 0x4a25db
mov eax, dword [ebp - 0x18]
call fcn.004063fc
imul eax, eax, 9
jno 0x4a25bd
call fcn.00403fb4
mov edx, dword [ebp - 0x18]
lea eax, [edx + eax*8]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
call fcn.004a7a00
mov edx, dword [eax + 0x1c]
pop eax
call fcn.00405714
mov eax, dword [ebp - 0x18]
call fcn.004063fc
imul eax, eax, 9
jno 0x4a25ed
call fcn.00403fb4
mov edx, dword [ebp - 0x18]
lea eax, [edx + eax*8 + 8]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
call fcn.004a7a00
pop edx
mov ecx, dword [eax + 0x38]
mov dword [edx], ecx
mov ecx, dword [eax + 0x3c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x18]
call fcn.004063fc
imul eax, eax, 9
jno 0x4a2621
call fcn.00403fb4
mov edx, dword [ebp - 0x18]
lea eax, [edx + eax*8 + 0x10]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
call fcn.004a7a00
pop edx
mov ecx, dword [eax + 0x40]
mov dword [edx], ecx
mov ecx, dword [eax + 0x44]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x18]
call fcn.004063fc
imul eax, eax, 9
jno 0x4a2655
call fcn.00403fb4
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x30]
mov dword [edx + eax*8 + 0x18], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [edx + eax*8 + 0x1c], ecx
mov eax, dword [ebp - 0x18]
call fcn.004063fc
imul eax, eax, 9
jno 0x4a2678
call fcn.00403fb4
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + eax*8]
mov eax, dword [0x4adb1c]
mov eax, dword [eax]
call fcn.0049d0f4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4a29ee
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
call fcn.004a7a00
push dword [eax + 0x44]
push dword [eax + 0x40]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x3c]
call fcn.00406e4c
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xac]
call fcn.00406d3c
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00406e4c
mov eax, dword [ebp - 0xac]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call fcn.00406e4c
cmp dword [ebp - 0xa8], 0
jle 0x4a27d8
lea eax, [ebp - 0x20]
call fcn.00406d3c
push eax
push 0
lea eax, [ebp - 0xb0]
call fcn.00406d3c
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00406e4c
mov eax, dword [ebp - 0xb0]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
call fcn.00406e4c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
call fcn.004a7a00
push dword [eax + 0x3c]
push dword [eax + 0x38]
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x3c]
call fcn.00406e4c
lea eax, [ebp - 0x84]
push eax
mov eax, dword [0x4adb1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
xor ecx, ecx
mov edx, dword [ebp - 0x20]
call fcn.0049ce48
mov eax, dword [ebp - 0x18]
call fcn.004063fc
imul eax, eax, 9
jno 0x4a2786
call fcn.00403fb4
mov edx, dword [ebp - 0x18]
lea eax, [edx + eax*8 + 0x20]
push eax
lea eax, [ebp - 0xb8]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.00406e4c
fld qword [ebp - 0xb8]
pop eax
fstp qword [eax]
wait
mov eax, dword [ebp - 0x18]
call fcn.004063fc
imul eax, eax, 9
jno 0x4a27bf
call fcn.00403fb4
mov edx, dword [ebp - 0x18]
lea edi, [edx + eax*8 + 0x28]
lea esi, [ebp - 0x84]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
jmp 0x4a29e1
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xbc]
call fcn.00406d3c
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x144]
call fcn.00406e4c
mov eax, dword [ebp - 0xbc]
push eax
mov eax, dword [eax]
call dword [eax + 0x84]
call fcn.00406e4c
mov eax, dword [ebp - 0xa8]
sub eax, 1
jno 0x4a2823
call fcn.00403fb4
test eax, eax
jl 0x4a29e1
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xc0]
call fcn.00406d3c
push eax
lea eax, [ebp - 0xc4]
call fcn.00406d3c
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0xc8]
call fcn.00406d3c
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x144]
call fcn.00406e4c
mov eax, dword [ebp - 0xc8]
push eax
mov eax, dword [eax]
call dword [eax + 0x88]
call fcn.00406e4c
mov eax, dword [ebp - 0xc4]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00406e4c
mov eax, dword [ebp - 0xc0]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call fcn.00406e4c
cmp dword [ebp - 0xa8], 0
jle 0x4a29d5
lea eax, [ebp - 0x20]
call fcn.00406d3c
push eax
push 0
lea eax, [ebp - 0xcc]
call fcn.00406d3c
push eax
lea eax, [ebp - 0xd0]
call fcn.00406d3c
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0xd4]
call fcn.00406d3c
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x144]
call fcn.00406e4c
mov eax, dword [ebp - 0xd4]
push eax
mov eax, dword [eax]
call dword [eax + 0x88]
call fcn.00406e4c
mov eax, dword [ebp - 0xd0]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00406e4c
mov eax, dword [ebp - 0xcc]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
call fcn.00406e4c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
call fcn.004a7a00
push dword [eax + 0x3c]
push dword [eax + 0x38]
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x3c]
call fcn.00406e4c
lea eax, [ebp - 0x84]
push eax
mov eax, dword [0x4adb1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
xor ecx, ecx
mov edx, dword [ebp - 0x20]
call fcn.0049ce48
mov eax, dword [ebp - 0x18]
call fcn.004063fc
imul eax, eax, 9
jno 0x4a2988
call fcn.00403fb4
mov edx, dword [ebp - 0x18]
lea eax, [edx + eax*8 + 0x20]
push eax
lea eax, [ebp - 0xb8]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.00406e4c
fld qword [ebp - 0xb8]
pop eax
fstp qword [eax]
wait
mov eax, dword [ebp - 0x18]
call fcn.004063fc
imul eax, eax, 9
jno 0x4a29c1
call fcn.00403fb4
mov edx, dword [ebp - 0x18]
lea edi, [edx + eax*8 + 0x28]
lea esi, [ebp - 0x84]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
inc dword [ebp - 0xc]
dec dword [ebp - 0x44]
jne 0x4a2836
fld qword [ebp - 0x30]
fadd dword [0x4a2d28]
fstp qword [ebp - 0x30]
wait
inc dword [ebp - 0x14]
dec dword [ebp - 0x40]
jne 0x4a2545
inc dword [ebp - 0x10]
dec dword [ebp - 0x3c]
jne 0x4a2522
mov eax, dword [ebp - 0x18]
call fcn.004063fc
test eax, eax
jl 0x4a2c2c
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0
jne 0x4a2a91
mov eax, dword [ebp - 0x18]
call fcn.004063f4
dec eax
jle 0x4a2a91
fld qword [ebp - 0x4c]
mov eax, dword [0x4adc64]
mov eax, dword [eax]
fadd qword [eax + 0x18]
mov eax, dword [ebp - 0xc]
imul eax, eax, 9
jno 0x4a2a4c
call fcn.00403fb4
mov edx, dword [ebp - 0x18]
fsub qword [edx + eax*8 + 0x40]
mov eax, dword [ebp - 0xc]
imul eax, eax, 9
jno 0x4a2a60
call fcn.00403fb4
mov edx, dword [ebp - 0x18]
fstp qword [edx + eax*8 + 0x18]
wait
push 0x4a2d34
mov eax, dword [ebp - 0xc]
push eax
push 0x4a2d54
mov eax, dword [0x4ad828]
mov eax, dword [eax]
mov ecx, 0x4a2d6c
mov edx, 0x4a2d80
call fcn.0048bcb4
jmp 0x4a2c20
mov eax, dword [ebp - 0x18]
call fcn.004063fc
cmp eax, dword [ebp - 0xc]
jne 0x4a2b08
mov eax, dword [ebp - 0x18]
call fcn.004063f4
dec eax
jle 0x4a2b08
fld qword [ebp - 0x5c]
mov eax, dword [0x4adc64]
mov eax, dword [eax]
fsub qword [eax + 0x18]
mov eax, dword [ebp - 0xc]
imul eax, eax, 9
jno 0x4a2ac3
call fcn.00403fb4
mov edx, dword [ebp - 0x18]
fsub qword [edx + eax*8 + 0x30]
mov eax, dword [ebp - 0xc]
imul eax, eax, 9
jno 0x4a2ad7
call fcn.00403fb4
mov edx, dword [ebp - 0x18]
fstp qword [edx + eax*8 + 0x18]
wait
push 0x4a2d34
mov eax, dword [ebp - 0xc]
push eax
push 0x4a2d90
mov eax, dword [0x4ad828]
mov eax, dword [eax]
mov ecx, 0x4a2d6c
mov edx, 0x4a2d80
call fcn.0048bcb4
jmp 0x4a2c20
push 0x4a2d34
mov eax, dword [ebp - 0xc]
push eax
push 0x4a2d9c
mov eax, dword [0x4ad828]
mov eax, dword [eax]
mov ecx, 0x4a2d6c
mov edx, 0x4a2d80
call fcn.0048bcb4
mov eax, dword [ebp - 0x18]
call fcn.004063f4
dec eax
jne 0x4a2b8f
mov eax, dword [ebp - 0xc]
imul eax, eax, 9
jno 0x4a2b44
call fcn.00403fb4
mov edx, dword [ebp - 0x18]
fld qword [edx + eax*8 + 0x40]
fabs
mov eax, dword [ebp - 0xc]
imul eax, eax, 9
jno 0x4a2b5a
call fcn.00403fb4
mov edx, dword [ebp - 0x18]
fsubr qword [edx + eax*8 + 0x30]
fdiv dword [0x4a2dac]
fld qword [ebp - 0x28]
fdiv dword [0x4a2dac]
fadd qword [ebp - 0x4c]
fsubrp st(1)
mov eax, dword [ebp - 0xc]
imul eax, eax, 9
jno 0x4a2b82
call fcn.00403fb4
mov edx, dword [ebp - 0x18]
fstp qword [edx + eax*8 + 0x18]
wait
jmp 0x4a2c20
mov eax, dword [ebp - 0x18]
call fcn.004063f4
sub eax, 1
jno 0x4a2ba1
call fcn.00403fb4
mov dword [ebp - 0xa8], eax
fild dword [ebp - 0xa8]
fld dword [0x4a2dac]
mov eax, dword [0x4adc64]
mov eax, dword [eax]
fmul qword [eax + 0x18]
fsubr qword [ebp - 0x28]
fdivrp st(1)
mov eax, dword [ebp - 0xc]
imul eax, eax, 9
jno 0x4a2bcf
call fcn.00403fb4
mov edx, dword [ebp - 0x18]
fld qword [edx + eax*8 + 0x30]
mov eax, dword [ebp - 0xc]
imul eax, eax, 9
jno 0x4a2be3
call fcn.00403fb4
mov edx, dword [ebp - 0x18]
fadd qword [edx + eax*8 + 0x40]
fdiv dword [0x4a2dac]
fsubp st(1)
fstp qword [ebp - 0x38]
wait
fld qword [ebp - 0x4c]
mov eax, dword [0x4adc64]
mov eax, dword [eax]
fadd qword [eax + 0x18]
fild dword [ebp - 0xc]
fmul qword [ebp - 0x38]
faddp st(1)
mov eax, dword [ebp - 0xc]
imul eax, eax, 9
jno 0x4a2c18
call fcn.00403fb4
mov edx, dword [ebp - 0x18]
fstp qword [edx + eax*8 + 0x18]
wait
inc dword [ebp - 0xc]
dec dword [ebp - 0x3c]
jne 0x4a2a21
mov eax, dword [0x4adb4c]
mov eax, dword [eax]
call fcn.004a5708
sub eax, 1
jno 0x4a2c42
call fcn.00403fb4
test eax, eax
jl 0x4a2c8e
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0xc], 0
mov eax, dword [0x4adb4c]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call fcn.004a5a94
mov edx, dword [ebp - 4]
call fcn.004a4fdc
test al, al
je 0x4a2c86
mov eax, dword [0x4adb4c]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call fcn.004a5a94
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
call fcn.004a513c
inc dword [ebp - 0xc]
dec dword [ebp - 0x3c]
jne 0x4a2c51
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a2d1f
lea eax, [ebp - 0xd4]
call fcn.00406d3c
lea eax, [ebp - 0xd0]
call fcn.00406d3c
lea eax, [ebp - 0xcc]
mov edx, dword [0x4753d8]
mov ecx, 2
call fcn.00405e0c
lea eax, [ebp - 0xc4]
call fcn.00406d3c
lea eax, [ebp - 0xc0]
mov edx, dword [0x4753d8]
mov ecx, 2
call fcn.00405e0c
lea eax, [ebp - 0xb0]
mov edx, dword [0x4753d8]
mov ecx, 2
call fcn.00405e0c
lea eax, [ebp - 0x20]
call fcn.00406d3c
lea eax, [ebp - 0x18]
mov edx, dword [0x4a2264]
call fcn.004065dc
ret