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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 0xc]
xor edx, edx
cmp dword [0x1021688], 0xffffffff
push esi
push edi
mov dword [ebp - 4], edx
je 0x1011240
lea ecx, [ebp - 0x14]
cmp edx, 0x18
jae 0x1011240
mov eax, dword [edx + 0x1021688]
add eax, ebx
cmp dword [eax], 0
je 0x101122e
mov eax, dword [eax]
lea edi, [eax + 2]
mov si, word [eax]
inc eax
inc eax
test si, si
jne 0x1011212
mov esi, dword [ebp - 4]
sub eax, edi
sar eax, 1
inc eax
mov dword [ecx], eax
lea eax, [esi + eax*2]
mov dword [ebp - 4], eax
jmp 0x1011231
and dword [ecx], 0
add edx, 8
add ecx, 4
cmp dword [edx + 0x1021688], 0xffffffff
jne 0x10111fb
cmp dword [0x10216a8], 0xffffffff
mov edi, dword [ebp + 0x10]
je 0x101129a
lea ecx, [ebp - 0x20]
xor edx, edx
cmp edx, 0x18
jae 0x101129a
mov eax, dword [edx + 0x10216a8]
add eax, edi
cmp dword [eax], 0
je 0x1011288
mov eax, dword [eax]
lea esi, [eax + 2]
mov dword [ebp + 0xc], esi
mov si, word [eax]
inc eax
inc eax
test si, si
jne 0x101126b
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 0x101128b
and dword [ecx], 0
add edx, 8
add ecx, 4
cmp dword [edx + 0x10216a8], 0xffffffff
jne 0x1011251
cmp dword [ebp + 8], 3
jne 0x10112d1
mov eax, dword [0x10216c8]
xor ecx, ecx
jmp 0x10112cc
mov eax, dword [eax + edi]
lea esi, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x10112af
sub eax, esi
sar eax, 1
add dword [ebp - 4], eax
mov dword [ebp + ecx*4 - 8], eax
mov eax, dword [ecx*8 + 0x10216d0]
inc ecx
cmp eax, 0xffffffff
jne 0x10112a9
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp - 4]
push esi
add eax, 0xbc
push eax
call sub.netutils.dll_NetapipBufferAllocate
test eax, eax
je 0x10112ef
push 8
pop eax
jmp 0x10114bb
mov eax, dword [esi]
mov ecx, dword [ebp - 4]
lea edx, [eax + ecx + 0xb0]
mov dword [ebp + 0xc], edx
lea edx, [ebp - 0x14]
push edx
push 0x1021688
add ecx, 0xb0
push ecx
push eax
push ebx
lea eax, [ebp + 0xc]
push eax
mov dword [ebp + 0x10], ecx
call fcn.010141a3
lea eax, [ebp - 0x20]
push eax
push 0x10216a8
push dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push dword [esi]
push edi
push eax
call fcn.010141a3
mov eax, dword [esi]
mov ecx, dword [ebx + 8]
mov dword [eax + 4], ecx
mov eax, dword [esi]
mov ecx, dword [ebx + 0xc]
mov dword [eax + 8], ecx
mov eax, dword [esi]
mov ecx, dword [ebx + 0x10]
mov dword [eax + 0xc], ecx
mov eax, dword [esi]
mov ecx, dword [edi]
mov dword [eax + 0x14], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 4]
mov dword [eax + 0x18], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 8]
mov dword [eax + 0x1c], ecx
mov eax, dword [esi]
mov ecx, dword [ebx + 0x18]
mov dword [eax + 0x20], ecx
mov eax, dword [esi]
mov ecx, dword [ebx + 0x1c]
mov dword [eax + 0x24], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x10]
mov dword [eax + 0x2c], ecx
mov eax, dword [esi]
and dword [eax + 0x30], 0
mov eax, dword [esi]
mov ecx, dword [edi + 0x14]
mov dword [eax + 0x34], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x18]
mov dword [eax + 0x38], ecx
mov eax, dword [esi]
mov ecx, dword [ebx + 0x20]
mov dword [eax + 0x3c], ecx
mov eax, dword [esi]
mov ecx, dword [ebx + 0x24]
mov dword [eax + 0x40], ecx
mov eax, dword [esi]
mov ecx, dword [ebx + 0x28]
mov dword [eax + 0x44], ecx
mov eax, dword [esi]
mov ecx, dword [ebx + 0x2c]
mov dword [eax + 0x4c], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x20]
mov dword [eax + 0x54], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x24]
mov dword [eax + 0x58], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x28]
mov dword [eax + 0x5c], ecx
mov eax, dword [esi]
cmp dword [ebp + 8], 3
mov ecx, dword [edi + 0x2c]
mov dword [eax + 0x60], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x30]
mov dword [eax + 0x64], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x34]
mov dword [eax + 0x68], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x38]
mov dword [eax + 0x6c], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x3c]
mov dword [eax + 0x70], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x40]
mov dword [eax + 0x74], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x44]
mov dword [eax + 0x78], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x48]
mov dword [eax + 0x7c], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x4c]
mov dword [eax + 0x80], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x50]
mov dword [eax + 0x84], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x54]
mov dword [eax + 0x88], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x58]
mov dword [eax + 0x8c], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x5c]
mov dword [eax + 0x90], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x60]
mov dword [eax + 0x94], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x64]
mov dword [eax + 0x98], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x68]
mov dword [eax + 0x9c], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x6c]
mov dword [eax + 0xa0], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x70]
mov dword [eax + 0xa4], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x74]
mov dword [eax + 0xa8], ecx
jne 0x10114b9
lea eax, [ebp - 8]
push eax
push 0x10216c8
push dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push dword [esi]
push edi
push eax
call fcn.010141a3
mov eax, dword [esi]
mov ecx, dword [edi + 0x7c]
mov dword [eax + 0xb0], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 0x80]
mov dword [eax + 0xb4], ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10