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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x6c
mov ebp, eax
test eax, eax
jne 0x689c4b
mov dword [esp], 0x69fca4
call fcn.0077e2fe
mov dword [esp + 0x1c], 0x69fcb5
mov dword [esp + 0x18], 0x6a2064
mov dword [esp + 0x14], 0x21e
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x69fcbc
mov dword [esp + 8], 0x6a204a
mov dword [esp + 4], 0x1000
mov dword [esp], 3
call fcn.0077d2e6
mov dword [esp], 0x69fca4
call fcn.0077e2fe
mov dword [esp + 0x14], 0x69fcb5
mov dword [esp + 0x10], 0x6a2064
mov dword [esp + 0xc], 0x21e
mov dword [esp + 8], eax
mov dword [esp + 4], 0x69fce8
mov eax, dword [0x79e604]
add eax, 0x40
mov dword [esp], eax
call 0x911fa0
call 0x911fa8
mov eax, dword [eax + 4]
cmp eax, 4
je 0x689c60
test eax, eax
je 0x689c60
cmp eax, 5
jne 0x689cf1
mov dword [esp], 0x69fca4
call fcn.0077e2fe
mov dword [esp + 0x1c], 0x69fd14
mov dword [esp + 0x18], 0x6a2064
mov dword [esp + 0x14], 0x223
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x69fcbc
mov dword [esp + 8], 0x6a204a
mov dword [esp + 4], 0x1000
mov dword [esp], 3
call fcn.0077d2e6
mov dword [esp], 0x69fca4
call fcn.0077e2fe
mov dword [esp + 0x14], 0x69fd14
mov dword [esp + 0x10], 0x6a2064
mov dword [esp + 0xc], 0x223
mov dword [esp + 8], eax
mov dword [esp + 4], 0x69fce8
mov eax, dword [0x79e604]
add eax, 0x40
mov dword [esp], eax
call 0x911fa0
call 0x911fa8
lea eax, [ebp + 0x5c]
mov dword [esp + 0x3c], eax
mov dword [esp], eax
call fcn.00781f48
test eax, eax
je 0x689d99
mov dword [esp], 0x69fca4
call fcn.0077e2fe
mov dword [esp + 0x1c], 0x69fd8c
mov dword [esp + 0x18], 0x6a2064
mov dword [esp + 0x14], 0x226
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x69fcbc
mov dword [esp + 8], 0x6a204a
mov dword [esp + 4], 0x1000
mov dword [esp], 3
call fcn.0077d2e6
mov dword [esp], 0x69fca4
call fcn.0077e2fe
mov dword [esp + 0x14], 0x69fd8c
mov dword [esp + 0x10], 0x6a2064
mov dword [esp + 0xc], 0x226
mov dword [esp + 8], eax
mov dword [esp + 4], 0x69fce8
mov eax, dword [0x79e604]
add eax, 0x40
mov dword [esp], eax
call 0x911fa0
call 0x911fa8
lea edi, [esp + 0x48]
lea esi, [ebp + 0x5c]
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x4c]
xor eax, dword [esp + 0x48]
xor eax, dword [esp + 0x50]
xor eax, dword [esp + 0x54]
xor eax, dword [esp + 0x58]
mov dword [esp + 0x44], eax
mov ecx, dword [0x690004]
test ecx, ecx
je 0x689e12
mov edx, 0
div dword [0x690008]
lea esi, [ecx + edx*4]
mov eax, dword [esi]
test eax, eax
je 0x689e04
lea edi, [esp + 0x48]
mov dword [esp + 8], 0x14
mov dword [esp + 4], edi
add eax, 8
mov dword [esp], eax
call fcn.0078e9b4
test eax, eax
jne 0x689e04
mov esi, dword [esi]
mov eax, dword [esi]
test eax, eax
jne 0x689de1
test esi, esi
je 0x689e12
mov ebx, dword [esi]
test ebx, ebx
jne 0x689e99
mov dword [esp], 0x20
call fcn.00780dd5
mov ebx, eax
lea eax, [eax + 8]
mov ecx, 5
mov edi, eax
mov esi, dword [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x1c], 0
cmp dword [0x690004], 0
je 0x689e4d
mov eax, dword [0x690010]
cmp dword [0x69000c], eax
jb 0x689e63
mov eax, dword [0x69000c]
inc eax
mov dword [esp + 4], eax
mov dword [esp], 0x690004
call fcn.006896e8
inc dword [0x69000c]
mov eax, dword [ebx + 0xc]
xor eax, dword [ebx + 8]
xor eax, dword [ebx + 0x10]
xor eax, dword [ebx + 0x14]
xor eax, dword [ebx + 0x18]
mov dword [ebx + 4], eax
mov edx, 0
div dword [0x690008]
lea eax, [edx*4]
add eax, dword [0x690004]
mov edx, dword [eax]
mov dword [ebx], edx
mov dword [eax], ebx
mov eax, dword [ebx + 0x1c]
mov dword [ebp + 0x74], eax
test eax, eax
je 0x689eac
mov eax, dword [ebx + 0x1c]
lea edx, [ebp + 0x74]
mov dword [eax + 0x78], edx
mov dword [ebx + 0x1c], ebp
add ebx, 0x1c
mov dword [ebp + 0x78], ebx
cmp dword [0x693ae0], 7
jne 0x689f21
mov dword [esp + 4], 0x14
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.0078245a
mov esi, eax
mov ebx, dword [ebp + 4]
mov dword [esp], ebx
call fcn.00689b6f
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], 0x69fdb8
mov dword [esp + 8], 0x6a204a
mov dword [esp + 4], 0x200000
mov dword [esp], 7
call fcn.0077d2e6
add esp, 0x6c
pop ebx
pop esi
pop edi
pop ebp
ret