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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0xa6c2eb
mov eax, dword fs:[0]
push eax
sub esp, 0x350
mov eax, dword [0xcdc190]
xor eax, esp
mov dword [esp + 0x348], eax
push ebx
push esi
push edi
mov eax, dword [0xcdc190]
xor eax, esp
push eax
lea eax, [esp + 0x360]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor edi, edi
lea ecx, [esp + 0x6c]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x54], eax
mov dword [esp + 0x34], edi
call fcn.0062bb80
lea ecx, [esp + 0x6c]
mov dword [esp + 0x368], edi
call fcn.00673fd0
push 0x80
push 0x80
push 0x80
lea ecx, [esp + 0x78]
call fcn.00645350
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx*4 + 0xd39dac]
push 0xa95984
mov dword [esp + 0x40], ecx
call fcn.00405e70
mov eax, dword [esi]
mov edi, dword [esi + 4]
mov ecx, dword [ebp + 0x1c]
lea edx, [edi + ecx + 1]
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esi + 0xc], edx
xor edx, edx
cmp dword [ebp + 0x18], eax
mov dword [esp + 0x50], eax
setg dl
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edx
jmp 0x8a7b70
cmp eax, 0xffffffff
je 0x8a7f04
mov ebx, dword [ebx]
imul eax, eax, 0x2bc
add ebx, eax
mov dword [esp + 0x60], eax
movzx eax, word [ebx + 0x200]
movsx edx, ax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], edx
test ax, ax
jne 0x8a7bbe
cmp dword [esp + 0x50], 0
je 0x8a7bbe
mov eax, dword [esi]
add edi, ecx
lea ecx, [edi + ecx + 1]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
mov dword [esi + 0xc], ecx
mov dword [esp + 0x50], edi
jmp 0x8a7bc6
mov dword [esp + 0x50], 1
mov ecx, dword [esp + 0x3c]
push ebx
call fcn.00405e70
mov ecx, dword [esi + 8]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
mov edx, ecx
sub ecx, dword [esi]
sub edx, eax
mov word [ebx + 0x200], ax
mov eax, dword [esp + 0x30]
dec edx
cmp eax, edx
mov word [ebx + 0x202], di
jle 0x8a7c0e
cdq
idiv ecx
mov esi, eax
xor eax, eax
test edx, edx
setg al
lea ecx, [eax + esi + 1]
mov dword [ebx + 0x224], ecx
push 0xffffffffffffffff
push 0xb4a0db
lea edx, [esp + 0xac]
push 0x200
mov byte [esp + 0xb0], 0
mov byte [esp + 0x2dc], 0
mov ecx, 0xab
mov esi, ebx
lea edi, [esp + 0xb0]
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.00a2ad40
xor eax, eax
add esp, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
cmp byte [ebx], al
je 0x8a7e7e
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x1c]
lea edx, [eax + ecx*8 - 4]
mov dword [esp + 0x58], edx
jmp 0x8a7c74
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x3c]
cmp dword [esi + 4], 0
lea edi, [eax + ebx]
mov dword [esp + 0x30], edi
je 0x8a7e7e
movzx ecx, byte [edi]
push ecx
call fcn.00a2a1f0
add esp, 4
test eax, eax
jle 0x8a7cbb
cmp byte [edi + 1], 0
je 0x8a7cbb
mov ecx, dword [esi + 4]
mov dword [esp + 0x28], 2
test ecx, ecx
jne 0x8a7cb6
xor eax, eax
jmp 0x8a7ce3
movzx edx, word [edi]
jmp 0x8a7cd1
mov ecx, dword [esi + 4]
mov dword [esp + 0x28], 1
test ecx, ecx
jne 0x8a7cce
xor eax, eax
jmp 0x8a7ce3
movzx edx, byte [edi]
mov esi, dword [esi + 0xc]
lea eax, [esi + 7]
shr eax, 3
imul eax, esi
inc eax
imul eax, edx
add eax, ecx
mov ecx, eax
mov dword [esp + 0x48], eax
test ecx, ecx
je 0x8a7e7e
mov edx, dword [esp + 0x2c]
mov ebx, dword [edx + 0xc]
mov eax, dword [esp + 0x28]
mov edx, dword [edx + 8]
add dword [esp + 0x24], eax
sub edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
movzx ecx, byte [ecx]
sub ebx, eax
dec edx
dec ebx
cmp ecx, edx
jle 0x8a7e0e
mov esi, dword [esp + 0x20]
lea edx, [esp + 0xa4]
push edx
mov eax, edx
push eax
mov dword [esp + 0x2d4], esi
call dword [0xa8b1b0]
lea ecx, [esp + 0xa4]
push ecx
call fcn.00592410
mov eax, dword [esp + 0x38]
mov dword [esp + 0x24], eax
add esp, 4
inc eax
lea edx, [esp + 0x20]
mov dword [esp + 0x34], eax
push edx
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0xa4]
push ecx
lea ecx, [esp + 0x78]
call fcn.008a7960
push 0xffffffffffffffff
inc esi
push 0xb4a0db
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x40]
lea edx, [esp + 0xac]
push 0x200
mov ecx, 0xab
lea edi, [esp + 0xb0]
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.00a2ad40
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 0x1c]
mov esi, dword [esp + 0x3c]
mov edx, dword [esi]
add eax, ecx
add esp, 0x10
cmp ecx, ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov word [esp + 0x2a4], dx
mov word [esp + 0x2a6], ax
jl 0x8a7dd6
lea eax, [eax + ecx + 1]
mov dword [esi + 0xc], eax
mov ecx, dword [ebp + 0x18]
cmp ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x30]
jle 0x8a7e16
mov edx, dword [esp + 0x24]
sub edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x58]
add edx, dword [esp + 0x44]
mov eax, dword [esp + 0x38]
inc dword [esp + 0x1c]
add eax, edx
mov dword [ecx + 8], eax
sub eax, dword [ecx]
add ecx, 8
mov dword [ecx - 0xc], eax
mov dword [esp + 0x58], ecx
jmp 0x8a7e16
mov word [esp + 0x2a6], ax
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x50]
push edi
push edx
mov dword [esp + 0x58], 0
call fcn.00a2b930
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0xb4]
push 0x200
push ecx
call fcn.00a2cf04
mov edx, dword [esp + 0x60]
movzx eax, byte [edx]
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx + 0x10]
add edx, eax
mov eax, dword [esp + 0x2c]
add eax, edx
add esp, 0x18
cmp dword [esp + 0x40], eax
mov dword [esp + 0x14], eax
jge 0x8a7e6c
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
cmp byte [eax + ecx], 0
jne 0x8a7c70
mov edx, dword [esp + 0x20]
lea eax, [esp + 0xa4]
push eax
mov ecx, eax
inc edx
push ecx
mov dword [esp + 0x2d4], edx
call dword [0xa8b1b0]
lea edx, [esp + 0xa4]
push edx
call fcn.00592410
mov eax, dword [esp + 0x38]
mov dword [esp + 0x48], eax
inc eax
add esp, 4
mov dword [esp + 0x34], eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x78]
call fcn.008a7960
lea ecx, [esp + 0xa4]
call fcn.008a7320
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
mov edx, dword [esp + 0x60]
mov eax, dword [edx + ecx + 0x2b4]
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x5c]
mov edi, dword [esp + 0x18]
mov ecx, dword [ebp + 0x1c]
jmp 0x8a7b70
mov eax, dword [esp + 0x40]
inc eax
mov ecx, ebx
mov dword [esi + 8], eax
call fcn.00644dd0
mov esi, dword [esp + 0x90]
mov eax, dword [esp + 0x6c]
mov edi, edi
cmp esi, 0xffffffff
je 0x8a7f4e
imul esi, esi, 0x2bc
add eax, esi
lea ecx, [eax + 0x2ac]
push ecx
push eax
lea edx, [esp + 0x6c]
push edx
mov ecx, ebx
call fcn.008a7960
mov eax, dword [esp + 0x6c]
mov esi, dword [esi + eax + 0x2b4]
jmp 0x8a7f20
mov esi, dword [esp + 0x1c]
test esi, esi
jle 0x8a7f6e
mov edx, dword [esp + 0x54]
mov eax, dword [edx + esi*8 - 4]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x8a7f61
sub eax, edi
mov dword [edx + esi*8 - 8], eax
lea ecx, [esp + 0x6c]
call fcn.006fcad0
mov eax, esi
mov ecx, dword [esp + 0x360]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x348]
xor ecx, esp
call fcn.00a2a4ac
mov esp, ebp
pop ebp
ret