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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x98
mov ebp, edx
mov ebx, eax
mov esi, dword [ebx + 0x33c]
or esi, 0x80000
mov dword [ebx + 0x33c], esi
lea esi, [ebp + 4]
mov ecx, ebx
push esi
call fcn.0068fa2c
mov dword [esp + 0x10], esi
mov byte [ebp], al
movsx edi, word [ebx + 0x334]
mov dword [esp + 0x14], edi
movzx edi, word [ebx + 0x336]
xor eax, eax
mov dword [esp + 0x18], edi
lea edx, [esp + 0x20]
mov dword [esp + 0xc], ebx
mov esi, edx
xor edi, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
lea ecx, [ebx + 0xdf8]
mov dword [esp + 0x34], edi
mov ebx, eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edi
mov dword [esp + 0x1c], ecx
xor edi, edi
mov dword [esp + 8], ebp
push edi
mov ecx, dword [esp + 0x20]
call fcn.0069792c
mov ebp, eax
test ebp, ebp
je 0x6aa5c6
push 1
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x54]
mov eax, esi
add esi, 4
mov dword [eax], ebp
add ebx, 1
add edi, 1
cmp edi, 0xd
jl 0x6aa5a2
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 8]
mov dword [esp + 8], ebp
mov eax, ebx
mov ebx, dword [esp + 0xc]
mov byte [ebp], al
lea eax, [esp + 0x20]
xor edi, edi
mov ebp, eax
mov edx, dword [ebp]
test edx, edx
je 0x6aa81c
push esi
push edx
call fcn.006a6b00
add esp, 8
add ebp, 4
add esi, 0x1c
add edi, 1
cmp edi, 0x1e
jl 0x6aa5eb
mov ebp, dword [esp + 8]
mov ecx, ebx
call fcn.00770bd8
mov byte [ebp + 1], al
mov ecx, ebx
call fcn.00770c4c
push ebx
mov byte [ebp + 2], al
movzx eax, byte [ebx + 0x384]
mov byte [ebp + 0xe7], al
movzx eax, byte [ebx + 0x385]
mov byte [ebp + 0x103], al
movzx eax, byte [ebx + 0x386]
mov byte [ebp + 0x11f], al
movzx eax, byte [ebx + 0x387]
mov byte [ebp + 0x13b], al
movzx eax, byte [ebx + 0x388]
mov byte [ebp + 0x157], al
call fcn.006ac458
pop ecx
push eax
lea esi, [ebp + 0x34c]
push esi
mov ecx, ebx
call fcn.006948dc
lea edi, [ebp + 0x370]
lea esi, [ebx + 0x930]
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x40], eax
mov eax, dword [esi + 0x44]
mov dword [edi + 0x44], eax
mov eax, dword [esi + 0x48]
mov dword [edi + 0x48], eax
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x4c], eax
mov eax, dword [esi + 0x50]
mov dword [edi + 0x50], eax
mov eax, dword [esi + 0x54]
mov dword [edi + 0x54], eax
mov eax, dword [esi + 0x58]
mov dword [edi + 0x58], eax
mov eax, dword [esi + 0x5c]
mov dword [edi + 0x5c], eax
mov eax, dword [esi + 0x60]
mov dword [edi + 0x60], eax
mov eax, dword [esi + 0x64]
mov dword [edi + 0x64], eax
mov eax, dword [esi + 0x68]
mov esi, dword [esi + 0x6c]
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], esi
lea edi, [ebp + 0x3e0]
lea esi, [ebx + 0x538]
mov ecx, 0xe8
push ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
pop ecx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 8], ebp
xor eax, eax
lea edi, [ebp + 6]
lea esi, [ebp + 0x4c8]
mov ebp, eax
push edi
push esi
movzx edx, byte [ebp + ebx + 0x4a8]
push edx
call fcn.006ad238
add esp, 0xc
add edi, 0x1c
add esi, 1
add ebp, 1
cmp ebp, 0x13
jl 0x6aa75d
mov ebp, dword [esp + 8]
mov edi, dword [esp + 0x1c]
xor esi, esi
push esi
mov ecx, edi
call fcn.0069792c
mov ecx, eax
test ecx, ecx
je 0x6aa79d
push 1
mov eax, dword [ecx]
call dword [eax + 0x50]
add esi, 1
cmp esi, 0xd
jl 0x6aa788
mov esi, dword [esp + 0x14]
push esi
mov ecx, ebx
call fcn.00770b58
mov esi, dword [esp + 0x18]
mov word [ebx + 0x336], si
mov ecx, ebx
call fcn.0068d3e0
mov byte [ebp + 3], al
call fcn.007c1638
test eax, eax
je 0x6aa7db
movzx eax, byte [ebp + 7]
or eax, 0xffffff40
mov byte [ebp + 7], al
mov eax, ebx
mov edx, ebp
call fcn.006aa830
mov eax, ebx
mov edx, ebp
call fcn.006aa8a8
mov eax, ebx
mov edx, ebp
call fcn.006aa8c0
mov eax, ebx
mov edx, ebp
call fcn.006aa8d8
mov edx, dword [ebx + 0x33c]
and edx, 0xfff7ffff
mov dword [ebx + 0x33c], edx
add esp, 0x98
pop ebx
pop ebp
pop esi
pop edi
ret
push esi
call fcn.006a439c
pop ecx
jmp 0x6aa603