Function at 0x100011b8
Capabilities:
Read file via mapping

Disassembly:
jmp 0x1000da90
push 0xffffffffffffffff
push 0x10021280
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x1003500c]
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
mov byte [esp + 0x13], 1
je 0x1000ddbc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, dword [0x1003500c]
je 0x1000ddbc
mov al, byte [0x1002e2ad]
test al, al
jne 0x1000ddbc
mov esi, dword [esp + 0x2c]
push esi
call fcn.10001460
add esp, 4
test al, al
jne 0x1000ddbc
push esi
call fcn.10001749
add esp, 4
test al, al
jne 0x1000db40
cmp dword [0x10035028], ebx
jne 0x1000db40
cmp dword [0x1003503c], ebx
je 0x1000db33
push str.bCanPassSocketUdp__g_bCanUseNet:0___CheckFilterTimeSet_Cannot_Use_Net
call fcn.10001672
add esp, 4
xor al, al
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
push str.bCanPassSocketUdp__g_bCanUseNet:0____CheckFilterTimeSet__Can_Use_Net
call fcn.10001672
add esp, 4
cmp dword [section..ComData], ebx
je 0x1000ddbc
cmp dword [0x10035034], ebx
je 0x1000ddbc
mov ebp, dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edi, dword [sym.imp.WS2_32.dll_ntohs]
cmp esi, ebx
mov dword [esp + 0x14], ebx
je 0x1000dbcb
mov ax, word [esi + 2]
push eax
call edi
mov bx, ax
mov eax, dword [0x1002e244]
and ebx, 0xffff
test eax, eax
je 0x1000dbcb
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 4]
push ebx
push ecx
mov dword [esp + 0x28], 0
call ebp
push eax
lea edx, [esp + 0x34]
push 0x1002a6e0
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x3c]
push eax
call fcn.10001672
add esp, 0x14
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x30]
test esi, esi
je 0x1000dc32
mov cx, word [esi + 2]
push ecx
call edi
and eax, 0xffff
mov dword [esp + 0x14], eax
mov eax, dword [0x1002e244]
test eax, eax
je 0x1000dc32
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esi + 4]
push ebx
push edx
mov dword [esp + 0x28], 1
call ebp
push eax
lea eax, [esp + 0x38]
push 0x1002a6b8
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x40]
push ecx
call fcn.10001672
add esp, 0x14
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [section..ComData]
test eax, eax
je 0x1000dda5
push str.GlobalPortInfo_MapFile
push 0
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
test eax, eax
mov dword [0x1002e280], eax
je 0x1000dd98
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebp, eax
test ebp, ebp
je 0x1000dd6b
mov ecx, dword [0x10035010]
lea eax, [ecx*8]
sub eax, ecx
lea edx, [eax + eax*2]
push edx
call sub.MFC42.DLL_operatornew
mov edx, eax
add esp, 4
test edx, edx
mov dword [esp + 0x2c], edx
je 0x1000ddbc
mov ecx, dword [0x10035010]
lea esi, [ebp + 4]
mov edi, edx
push ebp
lea eax, [ecx*8]
sub eax, ecx
lea ecx, [eax + eax*2]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edi, dword [0x10035010]
mov ebp, dword [esp + 0x2c]
xor ecx, ecx
test edi, edi
jbe 0x1000dd62
lea eax, [ebp + 8]
mov edx, dword [eax - 4]
mov esi, dword [esp + 0x14]
test edx, edx
mov edx, dword [eax]
je 0x1000dd01
cmp esi, edx
jb 0x1000dcf6
cmp esi, dword [eax + 4]
jbe 0x1000dd13
cmp ebx, edx
jb 0x1000dd09
cmp ebx, dword [eax + 4]
jbe 0x1000dd13
jmp 0x1000dd09
cmp edx, esi
je 0x1000dd3e
cmp edx, ebx
je 0x1000dd3e
inc ecx
add eax, 0x15
cmp ecx, edi
jae 0x1000dd62
jmp 0x1000dce0
lea eax, [ecx*8]
mov byte [esp + 0x13], 0
sub eax, ecx
lea ecx, [ebp + eax*2]
add eax, ecx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
push edx
push eax
push str.bCanPassSocket_____PORT_range__d_
call fcn.10001717
add esp, 0xc
jmp 0x1000dd62
lea eax, [ecx*8]
mov byte [esp + 0x13], 0
sub eax, ecx
lea ecx, [ebp + eax*2]
mov edx, dword [eax + ecx + 8]
push edx
push str.bCanPassSocket_____PORT:__d__cant_pass
call fcn.10001717
add esp, 8
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [0x1002e280]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
mov dword [0x1002e280], 0
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
push 0x1002a590
call fcn.10001672
add esp, 4
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret