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

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x24]
test eax, eax
push edi
mov edi, dword [esp + 0x14]
mov ebp, dword [edi]
mov dword [esp + 0x14], ebp
jge 0x681920
push 0x568
push str..GameSpygpgpiTransfer.c
push str.transfer__currentFile___0
call fcn.006870ba
add esp, 0xc
mov eax, dword [esi + 4]
push eax
call fcn.00674e70
mov ecx, dword [esi + 0x24]
add esp, 4
cmp ecx, eax
jl 0x68194a
push 0x569
push str..GameSpygpgpiTransfer.c
push str.transfer__currentFile___ArrayLength_transfer__files_
call fcn.006870ba
add esp, 0xc
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 4]
push ecx
push edx
call fcn.00674e80
mov ebx, eax
mov al, byte [ebx + 0x18]
add esp, 8
test al, 8
je 0x68197a
push 0x56f
push str..GameSpygpgpiTransfer.c
push str.__file__flags__GPI_FILE_FAILED_
call fcn.006870ba
add esp, 0xc
mov eax, dword [ebx + 0x18]
test al, 4
je 0x6819ee
mov eax, dword [esi + 0x24]
push 2
push eax
push esi
push edi
call fcn.006805b0
mov eax, dword [esi + 0x24]
inc eax
push 0x14
mov dword [esi + 0x24], eax
call fcn.0068661b
add esp, 0x14
test eax, eax
je 0x681c5c
xor ecx, ecx
mov edx, eax
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov ecx, dword [esi + 0x14]
push 7
mov dword [eax], ecx
mov edx, dword [esi + 0x24]
push 0
push eax
mov dword [eax + 8], edx
mov dword [eax + 4], 0x80e
mov eax, dword [ebp + 0x1ec]
mov ecx, dword [ebp + 0x1e8]
push eax
push ecx
push edi
call fcn.00681ec0
add esp, 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
test al, 2
je 0x681a4c
push 0x14
call fcn.0068661b
add esp, 4
test eax, eax
je 0x681a40
xor edx, edx
mov ecx, eax
mov dword [ecx], edx
mov dword [ecx + 4], edx
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], edx
mov edx, dword [esi + 0x14]
push 7
mov dword [eax], edx
mov ecx, dword [esi + 0x24]
push 0
push eax
mov dword [eax + 8], ecx
mov dword [eax + 4], 0x80d
mov edx, dword [ebp + 0x1ec]
mov eax, dword [ebp + 0x1e8]
push edx
push eax
push edi
call fcn.00681ec0
add esp, 0x18
mov eax, ebx
call fcn.006813d0
jmp 0x681c55
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x681ad2
mov ecx, dword [ebx]
push 0x708724
push ecx
call fcn.006860d4
add esp, 8
test eax, eax
mov dword [ebx + 0x14], eax
je 0x681c63
call fcn.00681840
test eax, eax
jne 0x681c5e
lea edx, [ebx + 0x20]
push edx
call fcn.00675ad0
push 0x14
call fcn.0068661b
add esp, 8
test eax, eax
je 0x681ad2
xor ecx, ecx
mov edx, eax
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov ecx, dword [esi + 0x14]
push 7
mov dword [eax], ecx
mov edx, dword [esi + 0x24]
push 0
push eax
mov dword [eax + 8], edx
mov dword [eax + 4], 0x80a
mov eax, dword [ebp + 0x1ec]
mov ecx, dword [ebp + 0x1e8]
push eax
push ecx
push edi
call fcn.00681ec0
add esp, 0x18
mov ecx, dword [ebx + 8]
cmp ecx, dword [ebx + 0xc]
mov dword [esp + 0x18], 0
jge 0x681be8
mov edx, dword [esi + 0x20]
mov eax, dword [edx + 0x30]
test eax, eax
jne 0x681bd1
mov eax, dword [ebx + 0x14]
push eax
push 0x2000
push 1
push 0x799470
call fcn.006868c6
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x681bad
push ebp
lea ecx, [ebx + 0x20]
push 0x799470
push ecx
call fcn.00676410
push ebp
push 0x799470
call fcn.00681480
add esp, 0x14
test eax, eax
jne 0x681c5e
mov eax, dword [esi + 0x3c]
mov ecx, dword [esp + 0x18]
add eax, ebp
mov dword [esi + 0x3c], eax
mov edx, dword [ebx + 8]
add edx, ebp
add ecx, ebp
push 0x14
mov dword [ebx + 8], edx
mov dword [esp + 0x1c], ecx
call fcn.0068661b
add esp, 4
test eax, eax
je 0x681bad
xor edx, edx
mov ecx, eax
mov dword [ecx], edx
mov dword [ecx + 4], edx
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], edx
mov edx, dword [esi + 0x14]
mov dword [eax], edx
mov ecx, dword [esi + 0x24]
push 7
mov dword [eax + 8], ecx
mov dword [eax + 4], 0x80b
mov edx, dword [ebx + 8]
push 0
push eax
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x1ec]
mov edx, dword [eax + 0x1e8]
push ecx
push edx
push edi
call fcn.00681ec0
add esp, 0x18
cmp ebp, 0x2000
jae 0x681bc1
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jne 0x681cb8
mov ecx, dword [ebx + 8]
cmp ecx, dword [ebx + 0xc]
mov ebp, dword [esp + 0x14]
jl 0x681ae6
mov eax, dword [esp + 0x18]
test eax, eax
je 0x681be8
push eax
push str.SENTTOTL_PT_:__d_n
push edi
call fcn.00442050
add esp, 0xc
mov edx, dword [ebx + 8]
cmp edx, dword [ebx + 0xc]
jne 0x681c5c
mov eax, dword [ebx + 0x14]
push eax
call fcn.00686286
mov eax, ebx
mov dword [ebx + 0x14], 0
call fcn.006813d0
push 0x14
call fcn.0068661b
add esp, 8
test eax, eax
je 0x681c55
xor ecx, ecx
mov edx, eax
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov ecx, dword [esi + 0x14]
push 7
mov dword [eax], ecx
mov edx, dword [esi + 0x24]
push 0
push eax
mov dword [eax + 8], edx
mov dword [eax + 4], 0x80c
mov eax, dword [ebp + 0x1ec]
mov ecx, dword [ebp + 0x1e8]
push eax
push ecx
push edi
call fcn.00681ec0
add esp, 0x18
or dword [ebx + 0x18], 0x10
inc dword [esi + 0x24]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
push 0x14
call fcn.0068661b
add esp, 4
test eax, eax
je 0x681cb8
xor edx, edx
mov ecx, eax
mov dword [ecx], edx
mov dword [ecx + 4], edx
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], edx
mov edx, dword [esi + 0x14]
push 7
mov dword [eax], edx
mov ecx, dword [esi + 0x24]
push 0
push eax
mov dword [eax + 8], ecx
mov dword [eax + 4], 0x80f
mov dword [eax + 0xc], 0x900
mov edx, dword [ebp + 0x1ec]
mov eax, dword [ebp + 0x1e8]
push edx
push eax
push edi
call fcn.00681ec0
add esp, 0x18
push 0
push esi
push edi
call fcn.00680620
mov eax, dword [ebx + 0x18]
add esp, 0xc
pop edi
pop esi
or eax, 8
mov dword [ebx + 0x18], eax
pop ebp
mov dword [ebx + 0x78], 0x900
xor eax, eax
pop ebx
ret