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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x65bba7
push eax
mov dword fs:[0], esp
sub esp, 0x134
push ebx
push ebp
push esi
mov esi, dword [esp + 0x15c]
test esi, esi
push edi
jne 0x4aa391
xor eax, eax
jmp 0x4aa8d4
mov ebp, dword [esp + 0x164]
lea ecx, [esp + 0x28]
mov dword [esp + 0x30], str.Alpha
mov dword [esp + 0x34], 5
mov eax, dword [ebp + 8]
mov edi, dword [ebp]
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp + 4]
sub eax, edi
mov edi, 1
mov dword [esp + 0x40], eax
lea eax, [esp + 0x38]
push eax
push ecx
mov ecx, esi
sub ebx, edx
mov dword [esp + 0x40], 0x6e0b2c
mov dword [esp + 0x44], edi
call fcn.00497790
lea edx, [esp + 0x30]
mov ecx, eax
push edx
mov dword [esp + 0x150], 0
call fcn.00498cb0
test al, al
sete al
and eax, 0xff
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14c], 0xffffffff
call fcn.00498970
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0x6ece38
push ecx
mov ecx, esi
mov dword [esp + 0x40], edi
call fcn.004979e0
test eax, eax
mov dword [esp + 0x10], eax
je 0x4aa8d4
lea edx, [esp + 0x28]
mov ecx, esi
push edx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0x6ece34
mov dword [esp + 0x30], 2
call fcn.00497750
test eax, eax
je 0x4aa47d
mov ecx, dword [eax + 4]
cmp ecx, 6
je 0x4aa470
cmp ecx, 7
jne 0x4aa47d
push eax
call fcn.004f11e0
add esp, 4
mov dword [esp + 0x24], eax
mov esi, dword [esp + 0x168]
mov eax, dword [ebp + 4]
mov ecx, 6
lea edi, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp]
neg eax
neg ecx
push eax
push ecx
lea ecx, [esp + 0x78]
call fcn.004aaed0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x158]
mov ecx, dword [esp + 0x154]
push edx
push eax
push ecx
lea ecx, [esp + 0x94]
call fcn.004aecd0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x98]
mov dword [esp + 0x15c], 1
call fcn.004aed70
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x40]
mov edx, edi
lea ecx, [esp + 0xb8]
neg edx
sbb edx, edx
and dl, 0x10
add edx, 0x108
push edx
push ebx
push eax
call fcn.004d17e0
mov ecx, dword [esp + 0xbc]
mov byte [esp + 0x14c], 2
mov esi, ecx
test edi, edi
mov dword [esp + 0x28], esi
je 0x4aa661
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], 0x6ece30
push ecx
mov ecx, dword [esp + 0x164]
mov dword [esp + 0x5c], 2
call fcn.004979c0
mov ebp, eax
mov dword [esp + 0x18], 0xff000000
test ebp, ebp
je 0x4aa658
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x50], 0x6eca78
mov ecx, dword [edx + 0xc]
lea edx, [esp + 0x48]
push edx
mov dword [esp + 0x58], 2
mov dword [esp + 0x4c], str.Group
mov dword [esp + 0x50], 5
call fcn.00497990
mov ecx, eax
call fcn.00497750
test eax, eax
je 0x4aa658
mov ecx, dword [esp + 0x154]
push eax
call fcn.004b6680
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x30], eax
cmp edx, 8
mov dword [esp + 0x14], 8
ja 0x4aa5c4
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x14]
xor esi, esi
test ecx, ecx
jle 0x4aa5ef
lea edi, [esp + 0xec]
push esi
mov ecx, ebp
call fcn.004972e0
fstp dword [edi]
mov eax, dword [esp + 0x14]
inc esi
add edi, 4
cmp esi, eax
jl 0x4aa5d5
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x1c]
mov edx, dword [eax]
push ecx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0xf8]
push ecx
mov ecx, eax
call dword [edx + 4]
fld dword [esp + 0x10]
fmul dword [0x680e94]
call fcn.0046664c
fld dword [esp + 0x18]
fmul dword [0x680e94]
mov esi, eax
or esi, 0xffffff00
shl esi, 8
call fcn.0046664c
fld dword [esp + 0x1c]
fmul dword [0x680e94]
or esi, eax
shl esi, 8
call fcn.0046664c
mov edi, dword [esp + 0x20]
or esi, eax
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov ecx, esi
push edx
jmp 0x4aa663
push 0
call fcn.004c4900
lea ecx, [esp + 0x5c]
call fcn.0049cfe0
mov ecx, dword [esp + 0x158]
mov edx, dword [esp + 0x15c]
neg edi
sbb edi, edi
lea eax, [esp + 0x5c]
and edi, 0xfffffffd
push eax
mov eax, dword [esp + 0x158]
push ecx
add edi, 3
push edx
push eax
lea ecx, [esp + 0x11c]
mov dword [esp + 0x6c], edi
call fcn.0049ee80
lea ecx, [esp + 0x70]
lea edx, [esp + 0x88]
push ecx
lea eax, [esp + 0xbc]
push edx
push eax
lea ecx, [esp + 0x118]
mov byte [esp + 0x158], 3
call fcn.0049f2b0
push 0x24
call fcn.00492990
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
mov byte [esp + 0x14c], 4
je 0x4aa6fa
mov ecx, eax
call fcn.004c4430
mov edi, eax
mov dword [esp + 0x14], edi
jmp 0x4aa706
mov dword [esp + 0x14], 0
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
push 0
push 0
push 0x108
push ebx
push ecx
mov ecx, edi
mov byte [esp + 0x160], 3
call fcn.004c4470
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov edx, dword [esi]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x14]
mov ecx, esi
mov dword [esp + 0x1c], eax
call dword [edx + 4]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x14]
push 0x100
mov dword [esp + 0x3c], eax
call fcn.00492910
mov ecx, dword [esp + 0x28]
add esp, 4
test ecx, ecx
mov ebp, eax
je 0x4aa7b9
xor esi, esi
mov dword [esp + 0x30], esi
fild dword [esp + 0x30]
lea edx, [esp + 0x54]
lea eax, [esp + 0x4c]
push edx
push eax
fmul dword [0x67d190]
lea edx, [esp + 0x4c]
push 1
push edx
fstp dword [esp + 0x54]
call fcn.004f1620
fld dword [esp + 0x4c]
fmul dword [0x680e94]
push ecx
fstp dword [esp]
call fcn.004ab180
mov ecx, dword [esp + 0x28]
add esp, 4
mov byte [esi + ebp], al
inc esi
cmp esi, 0x100
mov dword [esp + 0x30], esi
jl 0x4aa765
mov esi, dword [esp + 0x28]
jmp 0x4aa7c6
xor eax, eax
mov byte [eax + ebp], al
inc eax
cmp eax, 0x100
jl 0x4aa7bb
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4aa8ed
mov eax, dword [esi + 0xc]
cdq
and edx, 7
add eax, edx
sar eax, 3
test ebx, ebx
mov dword [esp + 0x20], eax
jle 0x4aa880
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x40]
test ebx, ebx
jle 0x4aa851
xor eax, eax
mov al, byte [esi + 1]
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
lea ecx, [eax + edx*2]
xor eax, eax
mov al, byte [esi + 2]
imul eax, eax, 0x1e
add ecx, eax
xor eax, eax
mov al, byte [esi]
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
add ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, dword [esp + 0x20]
inc edi
add esi, ecx
mov dl, byte [edx + ebp]
dec ebx
mov byte [edi - 1], dl
jne 0x4aa806
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
add edi, edx
add esi, ecx
dec eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x10], eax
jne 0x4aa7fe
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4aa88a
mov edx, dword [ecx]
push 1
call dword [edx]
push ebp
call fcn.00492960
add esp, 4
lea ecx, [esp + 0x10c]
mov byte [esp + 0x14c], 2
call fcn.0049ef20
lea ecx, [esp + 0xb8]
mov byte [esp + 0x14c], 1
call fcn.004d18b0
lea ecx, [esp + 0x88]
mov dword [esp + 0x14c], 0xffffffff
call fcn.004aed60
mov eax, edi
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x140
ret
test ecx, ecx
je 0x4aa91a
mov esi, dword [esp + 0x1c]
imul esi, ebx
test esi, esi
jle 0x4aa880
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
sub edx, eax
xor ebx, ebx
mov bl, byte [edx + eax]
inc eax
dec esi
mov bl, byte [ebx + ebp]
mov byte [eax - 1], bl
jne 0x4aa906
jmp 0x4aa880
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
imul ecx, ebx
mov edi, dword [esp + 0x10]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x14]
jmp 0x4aa88a