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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov dword [esi], 0
mov eax, dword [0x6bf220]
mov ecx, dword [eax + 0xc4]
mov edx, dword [eax + 0xc0]
mov eax, dword [ebp + 8]
push 1
push 1
push ecx
push edx
push edi
push eax
mov dword [esp + 0x24], 0
call fcn.00466b10
mov ecx, dword [ebp + 8]
push edi
lea ebx, [esi + 8]
push ecx
mov byte [esi + 4], al
call fcn.004aad40
mov ebx, dword [ebp + 8]
push edi
lea eax, [esi + 0x14]
push ebx
call fcn.004aadf0
mov ecx, dword [0x6bf220]
mov edx, dword [ecx + 0x2ec]
mov ecx, dword [ecx + 0x2e8]
push edx
push ecx
push edi
lea eax, [esi + 0x20]
push ebx
mov ecx, 6
call fcn.004aaea0
mov ecx, dword [0x6bf220]
mov edx, dword [ecx + 0x314]
mov ecx, dword [ecx + 0x310]
push edx
push ecx
push edi
lea eax, [esi + 0x38]
push ebx
mov ecx, 6
call fcn.004aaea0
mov ecx, dword [0x6bf220]
mov edx, dword [ecx + 0x31c]
mov ecx, dword [ecx + 0x318]
add esp, 0x48
push edx
push ecx
push edi
lea eax, [esi + 0x50]
push ebx
mov ecx, 6
call fcn.004aaea0
mov eax, dword [0x6bf220]
mov ecx, dword [eax + 0x244]
push 0xffffffffffffffff
lea edx, [esp + 0x3c]
push edx
mov edx, dword [eax + 0x240]
push ecx
push edx
push edi
push ebx
call fcn.00466930
add esp, 0x28
test eax, eax
je 0x4aefe0
mov eax, dword [esp + 0x28]
and eax, 0xffff0000
cmp eax, 0x90000
je 0x4aef93
call fcn.00485770
lea eax, [esi + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 0x10], 9
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00483810
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push eax
push ecx
push edx
call fcn.004d1130
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
add ecx, 4
add esp, 0x14
dec eax
mov dword [esp + 8], ecx
mov dword [esp + 0x10], eax
jne 0x4aefa2
jmp 0x4af00b
xor eax, eax
mov ecx, 0x3f800000
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], ecx
push 0xffffffffffffffff
lea eax, [esp + 0x34]
push eax
mov eax, dword [0x6bf220]
mov ecx, dword [eax + 0x24c]
mov edx, dword [eax + 0x248]
push ecx
push edx
push edi
push ebx
call fcn.00466930
add esp, 0x18
test eax, eax
je 0x4af0a0
mov eax, dword [esp + 0x30]
and eax, 0xffff0000
cmp eax, 0x90000
je 0x4af048
call fcn.00485770
lea eax, [esi + 0x8c]
mov dword [esp + 8], eax
mov dword [esp + 0x10], 9
lea ebx, [ebx]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.00483810
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
call fcn.004d1130
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
add ecx, 4
add esp, 0x14
dec eax
mov dword [esp + 8], ecx
mov dword [esp + 0x10], eax
jne 0x4af060
jmp 0x4af0dd
xor eax, eax
mov ecx, 0x3f800000
mov dword [esi + 0x8c], ecx
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], ecx
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa8], eax
mov dword [esi + 0xac], ecx
push 0xffffffffffffffff
lea eax, [esp + 0x34]
push eax
mov eax, dword [0x6bf220]
mov ecx, dword [eax + 0x254]
mov edx, dword [eax + 0x250]
push ecx
push edx
push edi
push ebx
call fcn.00466930
add esp, 0x18
test eax, eax
je 0x4af170
mov eax, dword [esp + 0x30]
and eax, 0xffff0000
cmp eax, 0x90000
je 0x4af11a
call fcn.00485770
lea eax, [esi + 0xb0]
mov dword [esp + 8], eax
mov dword [esp + 0x10], 9
lea esp, [esp]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.00483810
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
call fcn.004d1130
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
add ecx, 4
add esp, 0x14
dec eax
mov dword [esp + 8], ecx
mov dword [esp + 0x10], eax
jne 0x4af130
jmp 0x4af1ad
xor eax, eax
mov ecx, 0x3f800000
mov dword [esi + 0xb0], ecx
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], eax
mov dword [esi + 0xc0], ecx
mov dword [esi + 0xc4], eax
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], eax
mov dword [esi + 0xd0], ecx
mov edx, dword [0x6bf220]
mov edx, dword [edx + 0x17c]
push edx
mov edx, dword [0x6bf220]
mov edx, dword [edx + 0x178]
push edx
push edi
lea eax, [esi + 0xec]
lea ecx, [esi + 0xd4]
push ebx
mov edx, 3
call fcn.004aab30
push 3
lea eax, [esi + 0x104]
push eax
lea eax, [esi + 0xec]
push 0x6733bc
push eax
call fcn.004ac260
mov edx, dword [0x6bf220]
mov edx, dword [edx + 0x184]
push edx
mov edx, dword [0x6bf220]
mov edx, dword [edx + 0x180]
push edx
push edi
lea eax, [esi + 0xf8]
lea ecx, [esi + 0xe0]
push ebx
mov edx, 3
call fcn.004aab30
push 3
lea eax, [esi + 0x107]
push eax
lea eax, [esi + 0xf8]
push 0x6733bc
push eax
call fcn.004ac260
add esp, 0x40
lea ecx, [esi + 0x10c]
push ecx
push edi
lea eax, [esi + 0x118]
push ebx
call fcn.004aa860
push 3
lea edx, [esi + 0x124]
push edx
lea eax, [esi + 0x118]
push 0x6733b8
push eax
call fcn.004ac260
push 0xffffffffffffffff
lea eax, [esp + 0x40]
push eax
mov eax, dword [0x6bf220]
mov ecx, dword [eax + 0x334]
mov edx, dword [eax + 0x330]
push ecx
push edx
push edi
push ebx
call fcn.00466930
add esp, 0x34
test eax, eax
je 0x4af549
mov eax, dword [esp + 0x20]
shr eax, 0x10
cmp eax, 8
jb 0x4af2b3
cmp eax, 9
jbe 0x4af2b8
call fcn.00485770
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00483810
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
and al, 0xf0
add esp, 8
cmp al, 0x10
je 0x4af2dd
call fcn.004857b0
cmp edi, 2
mov dword [esi + 0x128], edi
jge 0x4af2ed
call fcn.00485770
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00483810
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
and al, 0xf0
add esp, 8
cmp al, 0x10
je 0x4af312
call fcn.004857b0
cmp edi, 2
mov dword [esi + 0x12c], edi
jge 0x4af322
call fcn.00485770
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00483810
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
and al, 0xf0
add esp, 8
cmp al, 0x10
je 0x4af347
call fcn.004857b0
cmp edi, 2
mov dword [esi + 0x130], edi
jge 0x4af357
call fcn.00485770
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00483810
mov ecx, dword [esp + 0x20]
mov eax, ecx
shr eax, 4
and eax, 0xf
add esp, 8
cmp eax, 9
je 0x4af388
cmp eax, 0xd
je 0x4af388
call fcn.004857b0
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0x128]
shr ecx, 0x10
cmp ecx, eax
je 0x4af39a
call fcn.00485770
mov ecx, dword [esi + 0x128]
mov eax, dword [0x6bf274]
mov edx, dword [eax]
shl ecx, 2
push ecx
push 1
push eax
call dword [edx + 4]
add esp, 0xc
test eax, eax
mov dword [esi + 0x134], eax
jne 0x4af3c3
call fcn.004856f0
mov eax, dword [esi + 0x128]
xor edi, edi
test eax, eax
jle 0x4af421
nop
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00483810
mov eax, dword [esp + 0x18]
mov ecx, eax
and ecx, 0xf0
add esp, 8
cmp cl, 0x50
je 0x4af3fc
call fcn.004857b0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
shr eax, 0x10
add edx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], edx
mov edx, dword [esi + 0x134]
mov dword [edx + edi*4], eax
mov eax, dword [esi + 0x128]
inc edi
cmp edi, eax
jl 0x4af3d0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00483810
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
and al, 0xf0
add esp, 8
cmp al, 0x10
je 0x4af446
call fcn.004857b0
cmp bl, 3
mov byte [esi + 0x138], bl
jb 0x4af474
cmp bl, 4
ja 0x4af474
movzx eax, bl
imul eax, dword [esi + 0x130]
imul eax, dword [esi + 0x128]
imul eax, dword [esi + 0x12c]
cmp dword [esp + 0xc], eax
je 0x4af48e
mov edx, dword [esi + 0x134]
mov eax, dword [0x6bf274]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 8]
add esp, 8
call fcn.00485770
mov al, byte [esi + 0x138]
xor ebx, ebx
test al, al
jbe 0x4af524
lea edi, [esi + 0x13c]
mov eax, dword [esp + 0x20]
shr eax, 4
and eax, 0xf
cmp eax, 9
je 0x4af4cb
cmp eax, 0xd
je 0x4af4bf
call fcn.004857b0
jmp 0x4af4e3
mov eax, dword [esp + 0x24]
mov dword [edi], 0x4aa9a0
jmp 0x4af4e0
mov ecx, dword [esp + 0x24]
mov dword [edi], 0x4aa950
mov ax, word [ecx + 2]
neg ax
sbb eax, eax
and eax, ecx
mov dword [edi + 0x10], eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00483810
mov ecx, dword [esp + 0x38]
mov eax, ecx
shr eax, 4
and eax, 0xf
add esp, 8
cmp eax, 9
je 0x4af50b
cmp eax, 0xd
jne 0x4af510
test cl, 1
jne 0x4af515
call fcn.004857b0
movzx eax, byte [esi + 0x138]
inc ebx
add edi, 4
cmp ebx, eax
jl 0x4af4a4
movzx ecx, byte [esi + 0x138]
push ecx
lea edx, [esi + 0x15c]
push edx
lea eax, [esi + 0x14c]
push 0x6733b4
push eax
call fcn.004ac260
add esp, 0x10
jmp 0x4af5b8
fld dword [esi + 0x20]
mov dword [esi + 0x134], 0
fcomp dword [0x66cb3c]
fnstsw ax
test ah, 5
jnp 0x4af5b3
fld dword [esi + 0x24]
fcomp dword [0x671614]
fnstsw ax
test ah, 0x41
je 0x4af5b3
fld dword [esi + 0x28]
fcomp dword [0x66cb3c]
fnstsw ax
test ah, 5
jnp 0x4af5b3
fld dword [esi + 0x2c]
fcomp dword [0x671614]
fnstsw ax
test ah, 0x41
je 0x4af5b3
fld dword [esi + 0x30]
fcomp dword [0x66cb3c]
fnstsw ax
test ah, 5
jnp 0x4af5b3
fld dword [esi + 0x34]
fcomp dword [0x671614]
fnstsw ax
test ah, 0x41
jne 0x4af5b8
call fcn.00485770
mov dword [esi + 0x160], 0x4b0400
call fcn.00466e30
pop edi
pop ebx
mov esp, ebp
pop ebp
ret