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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
xor ebx, ebx
cmp dword [0x100ac4c], 0xffffffff
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
je 0x1007aca
lea ecx, [ebp - 0x10]
xor edx, edx
cmp edx, 0x18
jae 0x1007aca
mov eax, dword [edx + 0x100ac4c]
add eax, edi
cmp dword [eax], ebx
je 0x1007ab9
mov eax, dword [eax]
lea esi, [eax + 2]
mov dword [ebp + 0xc], esi
mov si, word [eax]
inc eax
inc eax
cmp si, bx
jne 0x1007a9c
sub eax, dword [ebp + 0xc]
mov esi, dword [ebp - 4]
sar eax, 1
inc eax
mov dword [ecx], eax
lea eax, [esi + eax*2]
mov dword [ebp - 4], eax
jmp 0x1007abb
mov dword [ecx], ebx
add edx, 8
add ecx, 4
cmp dword [edx + 0x100ac4c], 0xffffffff
jne 0x1007a83
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp - 4]
add eax, 0xbc
push esi
push eax
mov dword [ebp + 0xc], eax
call sub.netutils.dll_NetapipBufferAllocate
test eax, eax
je 0x1007aeb
push 8
pop eax
jmp 0x1007c7a
mov eax, dword [esi]
mov ecx, dword [ebp - 4]
lea ecx, [eax + ecx + 0xbc]
mov dword [ebp + 0x14], ecx
lea ecx, [ebp - 0x10]
push ecx
push 0x100ac4c
push dword [ebp + 0xc]
push eax
push edi
lea eax, [ebp + 0x14]
push eax
call fcn.01007f9e
mov eax, dword [esi]
mov dword [eax + 0x28], ebx
mov eax, dword [esi]
mov dword [eax + 0x48], ebx
mov eax, dword [esi]
mov dword [eax + 0xac], ebx
mov eax, dword [esi]
mov ecx, dword [edi + 8]
mov dword [eax + 4], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0xc]
mov dword [eax + 8], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x10]
mov dword [eax + 0xc], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x18]
mov dword [eax + 0x20], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x1c]
mov dword [eax + 0x24], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x20]
mov dword [eax + 0x3c], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x24]
mov dword [eax + 0x40], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x28]
mov dword [eax + 0x44], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x2c]
mov dword [eax + 0x4c], ecx
mov ecx, dword [esi]
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov dword [ecx + 0x6c], edx
mov edx, dword [eax + 4]
mov ecx, dword [esi]
mov dword [ecx + 0x70], edx
mov edx, dword [eax + 8]
mov ecx, dword [esi]
mov dword [ecx + 0x78], edx
mov eax, dword [eax + 0xc]
mov ecx, dword [esi]
mov dword [ecx + 0x84], eax
mov eax, dword [esi]
mov dword [eax + 0x14], ebx
mov eax, dword [esi]
mov dword [eax + 0x18], ebx
mov eax, dword [esi]
mov dword [eax + 0x1c], ebx
mov eax, dword [esi]
mov dword [eax + 0x2c], 1
mov eax, dword [esi]
mov dword [eax + 0x30], ebx
mov eax, dword [esi]
or dword [eax + 0x34], 0xffffffff
mov eax, dword [esi]
mov dword [eax + 0x38], 0xf
mov ecx, dword [esi]
mov eax, 0xffff
mov dword [ecx + 0x54], eax
mov ecx, dword [esi]
mov dword [ecx + 0x58], eax
mov ecx, dword [esi]
mov dword [ecx + 0x5c], eax
mov ecx, dword [esi]
cmp dword [ebp + 8], 3
mov dword [ecx + 0x60], 0x7d0
mov ecx, dword [esi]
mov dword [ecx + 0x64], eax
mov ecx, dword [esi]
mov dword [ecx + 0x68], 0x1f40
mov ecx, dword [esi]
mov dword [ecx + 0x74], eax
mov eax, dword [esi]
mov dword [eax + 0x7c], 0x40
mov eax, dword [esi]
mov ecx, 0x12c
mov dword [eax + 0x80], ecx
mov eax, dword [esi]
mov dword [eax + 0x88], 0x50
mov eax, dword [esi]
mov dword [eax + 0x8c], 8
mov edx, dword [esi]
push 5
pop eax
mov dword [edx + 0x90], eax
mov edx, dword [esi]
mov dword [edx + 0x94], eax
mov edx, dword [esi]
mov dword [edx + 0x98], eax
mov edx, dword [esi]
mov dword [edx + 0x9c], eax
mov edx, dword [esi]
mov dword [edx + 0xa0], ecx
mov ecx, dword [esi]
mov dword [ecx + 0xa4], eax
mov eax, dword [esi]
mov dword [eax + 0xa8], 0x64
jne 0x1007c78
mov eax, dword [esi]
mov dword [eax + 0xb8], ebx
mov eax, dword [esi]
or dword [eax + 0xb0], 0xffffffff
mov eax, dword [esi]
mov dword [eax + 0xb4], ebx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10