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

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x20
mov edx, dword [0x6f6044]
mov eax, dword [ebp + 8]
imul eax, eax, 0xb0
add eax, edx
mov dword [0xaa16f8], eax
mov eax, dword [0xaa16f8]
movzx eax, word [eax + 0x20]
movzx eax, ax
mov dword [0xaa16fc], eax
mov eax, dword [0xaa16f8]
mov byte [eax + 0x18], 1
mov eax, dword [0xaa16f8]
mov dword [eax + 0x30], 0x10
mov eax, dword [0xaa16f8]
mov dword [eax + 0x24], 0xf
mov eax, dword [0xaa16f8]
mov byte [eax + 0x52], 3
mov eax, dword [0xaa16f8]
mov dword [eax + 0x28], 0
mov eax, dword [0xaa16f8]
fldz
fstp qword [eax + 0x98]
mov eax, dword [0xaa16f8]
fld1
fstp qword [eax + 0xa0]
mov eax, dword [0xaa16fc]
cmp eax, 9
je 0x4a1e6c
cmp eax, 9
jg 0x4a1d5e
cmp eax, 2
je 0x4a1e12
cmp eax, 2
jg 0x4a1d47
test eax, eax
je 0x4a1da5
cmp eax, 1
je 0x4a1dec
jmp 0x4a1f18
cmp eax, 7
je 0x4a1e38
cmp eax, 8
je 0x4a1e52
jmp 0x4a1f18
cmp eax, 0xc
je 0x4a1ec0
cmp eax, 0xc
jg 0x4a1d83
cmp eax, 0xa
je 0x4a1e86
cmp eax, 0xb
je 0x4a1ea9
jmp 0x4a1f18
cmp eax, 0x20
je 0x4a1eed
cmp eax, 0x100
je 0x4a1ee2
cmp eax, 0xd
je 0x4a1ecb
jmp 0x4a1f18
mov eax, dword [0xaa16f8]
mov byte [eax + 0x19], 0x10
mov eax, dword [0xaa16f8]
mov byte [eax + 0x18], 2
mov eax, dword [0xaa16f8]
mov dword [eax + 0x24], 7
mov eax, dword [0xaa16f8]
mov byte [eax + 0x11], 1
mov eax, dword [0xaa16f8]
mov byte [eax + 0x3c], 0
mov eax, dword [0xaa16f8]
mov byte [eax + 0x3d], 4
mov eax, dword [0xaa16f8]
mov byte [eax + 0x3e], 4
jmp 0x4a1f18
mov eax, dword [0xaa16f8]
mov byte [eax + 0x19], 2
mov eax, dword [0xaa16f8]
mov dword [eax + 0x30], 8
mov eax, dword [0xaa16f8]
mov dword [eax + 0x24], 3
jmp 0x4a1f18
mov eax, dword [0xaa16f8]
mov byte [eax + 0x19], 1
mov eax, dword [0xaa16f8]
mov dword [eax + 0x30], 8
mov eax, dword [0xaa16f8]
mov dword [eax + 0x24], 1
jmp 0x4a1f18
mov eax, dword [0xaa16f8]
mov byte [eax + 0x19], 4
mov eax, dword [0xaa16f8]
mov dword [eax + 0x30], 8
jmp 0x4a1f18
mov eax, dword [0xaa16f8]
mov byte [eax + 0x19], 4
mov eax, dword [0xaa16f8]
mov dword [eax + 0x30], 8
jmp 0x4a1f18
mov eax, dword [0xaa16f8]
mov byte [eax + 0x19], 4
mov eax, dword [0xaa16f8]
mov dword [eax + 0x30], 0xe
jmp 0x4a1f18
mov eax, dword [0xaa16f8]
mov byte [eax + 0x19], 2
mov eax, dword [0xaa16f8]
mov dword [eax + 0x30], 0xe
mov eax, dword [0xaa16f8]
mov dword [eax + 0x24], 3
jmp 0x4a1f18
mov eax, dword [0xaa16f8]
mov byte [eax + 0x19], 1
mov eax, dword [0xaa16f8]
mov dword [eax + 0x24], 1
jmp 0x4a1f18
mov eax, dword [0xaa16f8]
mov byte [eax + 0x19], 4
jmp 0x4a1f18
mov eax, dword [0xaa16f8]
mov byte [eax + 0x19], 8
mov eax, dword [0xaa16f8]
mov dword [eax + 0x30], 8
jmp 0x4a1f18
mov eax, dword [0xaa16f8]
mov byte [eax + 0x19], 8
jmp 0x4a1f18
mov eax, dword [0xaa16f8]
mov byte [eax + 0x19], 0x20
mov eax, dword [0xaa16f8]
mov byte [eax + 0x18], 4
mov eax, dword [0xaa16f8]
mov dword [eax + 0x24], 0xffffffff
mov eax, dword [0xaa16f8]
mov dword [eax + 0x28], 0xff000000
nop
mov eax, dword [0xaa16f8]
mov edx, dword [0xaa16f8]
mov edx, dword [edx + 0x24]
mov dword [eax + 0x2c], edx
mov eax, dword [0xaa16fc]
cmp eax, 0x20
je 0x4a1f4c
mov eax, dword [0xaa16f8]
mov dword [esp], eax
call fcn.004a14d7
mov eax, dword [0xaa16f8]
mov dword [eax + 0x4c], 0xffffffff
mov eax, dword [0xaa16f8]
movzx eax, byte [eax + 0x19]
cmp al, 0x1f
ja 0x4a1f80
mov eax, dword [0xaa16f8]
mov edx, dword [0xaa16f8]
movzx edx, byte [edx + 0x19]
movzx edx, dl
mov ebx, 1
mov esi, ebx
mov ecx, edx
shl esi, cl
mov edx, esi
sub edx, 1
mov dword [eax + 0x1c], edx
jmp 0x4a1f8c
mov eax, dword [0xaa16f8]
mov dword [eax + 0x1c], 0xffffffff
mov eax, dword [0xaa16f8]
mov word [eax + 0x38], 1
mov eax, dword [0xaa16f8]
mov word [eax + 0x3a], 1
mov eax, dword [0xaa16f8]
mov word [eax + 0x34], 1
mov eax, dword [0xaa16fc]
test eax, eax
je 0x4a1fe2
mov ecx, dword [0xaa16f8]
mov eax, dword [0xaa16f8]
movzx eax, word [eax + 0x16]
movzx eax, ax
mov edx, dword [0xaa16f8]
mov edx, dword [edx + 0x30]
mov dword [ebp - 0x14], edx
mov edx, 0
div dword [ebp - 0x14]
mov word [ecx + 0x36], ax
jmp 0x4a1ff5
mov eax, dword [0xaa16f8]
mov edx, dword [0xaa16f8]
movzx edx, word [edx + 0x16]
mov word [eax + 0x36], dx
mov eax, dword [0xaa16f8]
movzx edx, word [eax + 0x36]
sub edx, 1
mov word [eax + 0x36], dx
mov eax, dword [0xaa16f8]
movzx eax, word [eax + 0x36]
test ax, ax
jg 0x4a201e
mov eax, dword [0xaa16f8]
mov word [eax + 0x36], 1
mov eax, dword [0xaa16fc]
test eax, eax
je 0x4a21be
mov eax, dword [0xaa16f8]
mov edx, dword [0xaa16f8]
movzx edx, word [edx + 0x14]
movzx edx, dx
mov dword [ebp - 0x10], edx
fild dword [ebp - 0x10]
fld qword [0x5b3250]
fdivp st(1)
fstp dword [ebp - 0xc]
fld dword [ebp - 0xc]
fstp dword [eax + 0x6c]
mov eax, dword [0xaa16f8]
mov edx, dword [0xaa16f8]
movzx edx, word [edx + 0x16]
movzx edx, dx
mov dword [ebp - 0x10], edx
fild dword [ebp - 0x10]
fld qword [0x5b3250]
fdivp st(1)
fstp dword [ebp - 0xc]
fld dword [ebp - 0xc]
fstp dword [eax + 0x70]
mov eax, dword [0xaa16f8]
mov edx, dword [0xaa16f8]
movzx edx, word [edx + 0x14]
movzx edx, dx
sub edx, 1
mov dword [eax + 0x5c], edx
mov eax, dword [0xaa16f8]
mov edx, dword [0xaa16f8]
movzx edx, word [edx + 0x16]
movzx edx, dx
sub edx, 1
mov dword [eax + 0x60], edx
mov edx, dword [0xaa16f8]
mov eax, dword [0x5b3240]
mov dword [edx + 0x78], eax
mov edx, dword [0xaa16f8]
mov eax, dword [0x5b3240]
mov dword [edx + 0x7c], eax
mov eax, dword [0xaa16f8]
mov edx, dword [0xaa16f8]
mov edx, dword [edx + 0x5c]
mov dword [ebp - 0x10], edx
fild dword [ebp - 0x10]
fstp dword [eax + 0x90]
mov eax, dword [0xaa16f8]
mov edx, dword [0xaa16f8]
mov edx, dword [edx + 0x60]
mov dword [ebp - 0x10], edx
fild dword [ebp - 0x10]
fstp dword [eax + 0x94]
mov eax, dword [0xaa16fc]
test eax, eax
je 0x4a2150
mov eax, dword [0xaa16f8]
movzx eax, word [eax + 0x14]
movzx edx, ax
mov eax, dword [0xaa16f8]
movzx eax, word [eax + 0x16]
movzx eax, ax
imul edx, eax
mov eax, dword [0xaa16f8]
movzx eax, byte [eax + 0x18]
movzx eax, al
imul eax, edx
mov edx, eax
mov eax, dword [0xaa16f8]
mov eax, dword [eax + 0x40]
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msvcrt.dll_memset
jmp 0x4a21bf
mov eax, dword [0xaa16f8]
movzx eax, word [eax + 0x14]
movzx edx, ax
mov eax, dword [0xaa16f8]
movzx eax, word [eax + 0x16]
movzx eax, ax
imul eax, edx
mov dword [0xaa1700], eax
mov eax, dword [0xaa16f8]
mov eax, dword [eax + 0x40]
mov dword [0xaa1704], eax
mov dword [0xaa1708], 0
jmp 0x4a21a8
mov eax, dword [0xaa1704]
mov word [eax], 0x720
add eax, 2
mov dword [0xaa1704], eax
mov eax, dword [0xaa1708]
add eax, 1
mov dword [0xaa1708], eax
mov edx, dword [0xaa1708]
mov eax, dword [0xaa1700]
cmp edx, eax
setl al
test al, al
jne 0x4a2189
jmp 0x4a21bf
nop
add esp, 0x20
pop ebx
pop esi
pop ebp
ret