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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
push ebx
push ebp
mov ebp, dword [0xa28890]
push esi
push edi
xor ebx, ebx
xor edi, edi
cmp ebp, ebx
jle 0x6a1974
mov eax, dword [0xa28884]
mov esi, dword [eax + edi*4]
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x84]
test eax, eax
je 0x6a196f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x84]
cmp byte [eax + 0x208], bl
je 0x6a196f
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x128]
inc edi
cmp edi, ebp
jl 0x6a193b
cmp byte [0xa28752], bl
je 0x6a1c95
mov edi, dword [0x81b9a0]
cmp edi, ebx
mov dword [esp + 0x18], edi
je 0x6a1c95
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp eax, 6
jne 0x6a1c95
mov ecx, edi
call fcn.00451610
test eax, eax
jle 0x6a1c95
mov ecx, dword [0x81b970]
lea edx, [esp + 0x30]
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ecx
push edx
push eax
mov ecx, 0x81a800
call fcn.005453b0
mov ecx, eax
call fcn.00475960
mov esi, dword [eax]
mov ebp, dword [eax + 4]
mov ecx, dword [eax + 8]
mov al, byte [0xaa60b1]
test al, 1
mov dword [esp + 0x38], ecx
jne 0x6a1a15
mov dl, al
push 0x6a1ca0
or dl, 1
mov byte [0xaa6034], bl
mov byte [0xaa60b1], dl
mov byte [0xaa6035], bl
mov byte [0xaa6036], bl
call fcn.0076df1a
add esp, 4
mov eax, dword [0x7e01f4]
lea edx, [eax + eax*4]
mov eax, dword [0xaa7860]
lea eax, [eax + edx*2]
cmp eax, 0x64
mov dword [0xaa7860], eax
jl 0x6a1a3b
mov dword [0x7e01f4], 0xffffffff
jmp 0x6a1a49
cmp eax, ebx
jg 0x6a1a49
mov dword [0x7e01f4], 1
mov ecx, dword [edi + 0x1b4]
push 0xaa6034
add ecx, 0x55e9
push eax
mov dx, word [ecx]
mov word [esp + 0x1c], dx
mov cl, byte [ecx + 2]
mov byte [esp + 0x1e], cl
lea ecx, [esp + 0x1c]
call fcn.006341c0
mov ecx, edi
call fcn.00451610
mov edi, eax
push ebx
mov bx, word [esp + 0x18]
mov ecx, edi
push 1
push ecx
mov eax, esp
sub esp, 0xc
xor dl, dl
mov word [eax], bx
mov bl, byte [esp + 0x2e]
mov byte [eax + 2], bl
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x50]
mov dword [eax + 4], ebp
mov dword [eax + 8], esi
call fcn.004518d0
mov ecx, dword [0xa1e0c4]
xor ebx, ebx
mov ebp, SysReAllocString
mov eax, dword [ecx + 0x78]
test eax, eax
mov dword [esp + 0x1c], eax
jle 0x6a1ba7
mov edx, dword [0xa1e0c4]
mov eax, dword [edx + 0x6c]
mov ecx, dword [eax + ebx*4]
test ecx, ecx
je 0x6a1b9a
mov al, byte [ecx + 0x7d]
test al, al
je 0x6a1b9a
mov eax, dword [esp + 0x18]
cmp ecx, eax
je 0x6a1b9a
mov edx, dword [ecx + 0x418]
mov esi, dword [eax + 0x418]
cmp edx, esi
jne 0x6a1b9a
mov esi, dword [0x81b970]
mov eax, dword [ecx]
lea edx, [esp + 0x3c]
mov dword [esp + 0x30], esi
push edx
call dword [eax + 0x48]
mov ecx, eax
sub esp, 8
mov eax, dword [ecx]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov word [esp + 0x30], ax
mov eax, dword [ecx + 4]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov word [esp + 0x32], ax
mov eax, dword [esp + 0x3a]
mov ecx, dword [esp + 0x32]
mov edx, dword [esp + 0x30]
sub eax, ecx
sub esi, edx
movsx eax, ax
movsx ecx, si
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
mov dword [esp + 0x2c], ecx
fild dword [esp + 0x2c]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp qword [esp]
fstp st(0)
fstp st(0)
call fcn.004b9f30
add esp, 8
call fcn.0076a6b0
movsx eax, ax
lea edx, [edi + edi]
cmp eax, edx
jg 0x6a1b9a
cmp eax, ebp
jge 0x6a1b9a
mov ebp, eax
mov eax, dword [esp + 0x1c]
inc ebx
cmp ebx, eax
jl 0x6a1ac7
xor ebx, ebx
test eax, eax
jle 0x6a1c95
mov eax, dword [0xa1e0c4]
mov ecx, dword [eax + 0x6c]
mov esi, dword [ecx + ebx*4]
test esi, esi
je 0x6a1c88
mov al, byte [esi + 0x7d]
test al, al
je 0x6a1c88
mov eax, dword [esp + 0x18]
cmp esi, eax
je 0x6a1c88
mov edx, dword [esi + 0x418]
mov ecx, dword [eax + 0x418]
cmp edx, ecx
jne 0x6a1c88
mov edi, dword [0x81b970]
mov eax, dword [esi]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x30], edi
push ecx
mov ecx, esi
call dword [eax + 0x48]
mov ecx, eax
sub esp, 8
mov eax, dword [ecx]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov word [esp + 0x30], ax
mov eax, dword [ecx + 4]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov word [esp + 0x32], ax
mov eax, dword [esp + 0x3a]
mov ecx, dword [esp + 0x32]
mov edx, dword [esp + 0x30]
sub eax, ecx
sub edi, edx
movsx edx, ax
movsx eax, di
mov dword [esp + 0x2c], edx
fild dword [esp + 0x2c]
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp qword [esp]
fstp st(0)
fstp st(0)
call fcn.004b9f30
add esp, 8
call fcn.0076a6b0
movsx ecx, ax
cmp ecx, ebp
jne 0x6a1c88
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x128]
mov eax, dword [esp + 0x1c]
inc ebx
cmp ebx, eax
jl 0x6a1bb1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret