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

Disassembly:
mov al, byte [esp + 4]
sub esp, 0x60
test al, al
push ebx
push ebp
push esi
push edi
mov ebx, ecx
jne 0x698a83
mov esi, dword [0xaa60a8]
test esi, esi
je 0x698a83
dec esi
test esi, esi
mov dword [esp + 0x10], esi
jl 0x698a83
lea ebp, [esi + esi*4]
shl ebp, 2
mov eax, dword [0xaa609c]
lea ecx, [eax + ebp]
mov edx, ecx
mov eax, dword [edx]
mov dword [esp + 0x30], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x34], ecx
mov edi, dword [edx + 8]
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x78]
mov edx, dword [edx + 0xc]
add eax, edi
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x7c]
add ecx, edx
mov dword [esp + 0x30], eax
mov eax, dword [0x821954]
mov dword [esp + 0x34], ecx
mov ecx, dword [0x821950]
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
mov eax, dword [0x82195c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [0x821958]
push eax
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x30]
push edx
push eax
lea ecx, [esp + 0x30]
call fcn.0047cc40
push eax
lea ecx, [esp + 0x5c]
call fcn.00453ab0
mov ecx, dword [eax]
push 0
mov dword [esp + 0x44], ecx
push 0
mov edx, dword [eax + 4]
mov dword [esp + 0x4c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x68]
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x38]
mov dword [esp + 0x54], edx
push eax
lea edx, [esp + 0x4c]
call fcn.0041fdf0
mov ecx, eax
mov eax, dword [ecx]
mov dword [esp + 0x30], eax
mov edx, dword [ecx + 4]
mov dword [esp + 0x34], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x38], edx
mov edx, dword [0xaa609c]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x3c], ecx
lea ecx, [edx + ebp]
mov dword [edx + ebp], eax
mov edx, dword [esp + 0x34]
mov dword [ecx + 4], edx
mov eax, dword [esp + 0x38]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x3c]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x38]
test eax, eax
jle 0x698a13
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jg 0x698a50
mov eax, dword [0xaa60a8]
cmp esi, eax
jge 0x698a73
dec eax
mov edx, esi
cmp esi, eax
mov dword [0xaa60a8], eax
jge 0x698a73
mov eax, ebp
mov ecx, dword [0xaa609c]
inc edx
lea esi, [eax + ecx + 0x14]
lea edi, [eax + ecx]
mov ecx, 5
add eax, 0x14
rep movsd dword es:[edi], dword [esi]
cmp edx, dword [0xaa60a8]
jl 0x698a2a
mov esi, dword [esp + 0x10]
jmp 0x698a73
mov edi, dword [esp + 0x30]
sub esp, 0x10
mov edx, esp
mov dword [edx], edi
mov edi, dword [esp + 0x44]
mov dword [edx + 4], edi
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, dword [0x821f8c]
call fcn.00761760
dec esi
sub ebp, 0x14
test esi, esi
mov dword [esp + 0x10], esi
jge 0x698916
mov eax, dword [ebx + 0xe0]
test eax, eax
jle 0x698b48
mov cl, byte [esp + 0x74]
test cl, cl
jne 0x698b48
xor ebp, ebp
test eax, eax
jle 0x698b48
lea edi, [ebx + 0xe4]
mov ecx, dword [edi]
lea eax, [esp + 0x30]
push eax
call fcn.00475960
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x2c]
mov eax, dword [eax + 8]
push edx
mov dword [esp + 0x24], eax
mov ecx, ebx
mov dword [esp + 0x24], 0
call fcn.00697c90
mov edx, dword [ebx + 0xb0]
mov esi, dword [ebx + 0xb4]
mov ecx, eax
mov eax, dword [ecx]
sub eax, edx
mov edx, dword [0x821950]
mov ecx, dword [ecx + 4]
sub ecx, esi
mov esi, dword [0x821954]
lea eax, [eax + edx - 0x1e]
mov dword [esp + 0x20], eax
mov eax, dword [0xb0de30]
lea ecx, [esi + ecx - 0xf]
test eax, eax
mov dword [esp + 0x24], ecx
je 0x698b36
mov edx, dword [esp + 0x80]
mov ecx, dword [edi]
lea eax, [esp + 0x20]
push edx
push eax
call fcn.004750b0
mov eax, dword [ebx + 0xe0]
inc ebp
add edi, 4
cmp ebp, eax
jl 0x698aad
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x10