Function at 0x110355d0
Capabilities:
Allocate or change rwx memory
Read file via mapping
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push 0
push 0x80
push 4
push 0
push 1
push closesocket
push eax
mov esi, ecx
mov dword [ebp - 0x88], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x11035622
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret 8
push 0
push 0
push 0
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 4], eax
test eax, eax
je 0x1103560f
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 8], eax
test eax, eax
je 0x1103560f
push ebx
mov ebx, dword [eax + 0x3c]
add ebx, eax
push edi
mov dword [esi + 0xc], ebx
mov edx, dword [ebx + 0x54]
push ebx
push str..text
mov dword [ebp - 0xa4], edx
call fcn.11035510
mov ecx, dword [eax + 0x14]
add ecx, dword [esi + 8]
mov dword [ebp - 0x98], eax
mov eax, dword [eax + 8]
mov dword [ebp - 0x9c], ecx
mov ecx, dword [esi + 0xc]
push ecx
push 0x111fa86c
mov dword [ebp - 0xa8], eax
call fcn.11035510
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
add ecx, dword [esi + 8]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebx + 0x7c]
add eax, dword [ebx + 0x78]
add edi, edx
add esp, 0x10
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x90], edi
cmp eax, edi
jbe 0x110356d2
mov dword [ebp - 0x90], eax
mov edi, eax
push 0x40
push 0x3000
push edi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esi + 0x14], eax
test eax, eax
jne 0x110356fc
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 0xa4]
mov ecx, dword [esi + 8]
push edx
push ecx
push eax
mov dword [esi + 0x1c], edi
call sub.MSVCR100.dll_memcpy
mov edx, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x9c]
push edx
mov edx, dword [ecx + 0xc]
add edx, dword [esi + 0x14]
push eax
push edx
call sub.MSVCR100.dll_memcpy
mov eax, dword [ebp - 0xa0]
mov edx, dword [esi + 0x14]
mov ecx, dword [ebp - 0x94]
push eax
mov eax, dword [ebp - 0x8c]
add edx, dword [eax + 0xc]
push ecx
push edx
call sub.MSVCR100.dll_memcpy
mov ebx, dword [esi + 0xc]
mov ecx, dword [ebx + 0x78]
mov eax, dword [ebx + 0xa0]
add esp, 0x24
mov dword [ebp - 0x94], ecx
push eax
mov ecx, esi
call fcn.110354c0
mov edi, dword [eax + 0x14]
sub edi, dword [eax + 0xc]
mov edx, dword [ebp - 0x88]
add edi, dword [esi + 8]
push edx
add edi, dword [ebx + 0xa0]
mov ebx, dword [ebx + 0xa4]
add ebx, edi
mov dword [ebp - 0x8c], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x110357a8
mov eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp byte [ebp + 0xc], 0
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x18], eax
mov ecx, dword [ecx + 0x34]
jne 0x110357ba
mov eax, dword [esi + 0x14]
sub eax, ecx
mov dword [ebp - 0x88], eax
cmp edi, ebx
jae 0x11035812
mov edx, dword [edi + 4]
mov ebx, dword [edi]
sub edx, 8
shr edx, 1
add edi, 8
cmp ebx, dword [ebp - 0x90]
jae 0x11035812
test edx, edx
je 0x1103580a
nop
movzx eax, word [edi]
mov ecx, eax
shr ecx, 0xc
dec edx
add edi, 2
test ecx, ecx
je 0x1103580a
cmp ecx, 3
jne 0x11035806
mov ecx, dword [ebp - 0x88]
and eax, 0xfff
add eax, dword [esi + 0x14]
add dword [eax + ebx], ecx
test edx, edx
jne 0x110357e0
cmp edi, dword [ebp - 0x8c]
jb 0x110357c6
mov edi, dword [ebp - 0x94]
push edi
mov ecx, esi
call fcn.110354c0
test eax, eax
je 0x11035832
mov ecx, dword [eax + 0x14]
sub ecx, dword [eax + 0xc]
add ecx, dword [esi + 8]
add ecx, edi
mov dword [esi + 0x10], ecx
mov edx, dword [esi + 0xc]
mov edi, dword [edx + 0x80]
push edi
mov ecx, esi
call fcn.110354c0
test eax, eax
je 0x11035924
mov ebx, dword [eax + 0xc]
sub ebx, dword [eax + 0x14]
mov eax, dword [esi + 8]
sub eax, ebx
add eax, edi
je 0x11035924
cmp dword [eax + 0xc], 0
lea edi, [eax + 0xc]
je 0x11035924
mov dword [ebp - 0x88], edi
cmp dword [edi + 4], 0
je 0x11035924
mov ecx, dword [esi + 8]
push 0
sub ecx, ebx
add ecx, dword [edi]
push 0x80
lea eax, [ebp - 0x84]
push eax
push ecx
call fcn.111bb8a0
add esp, 0x10
lea edx, [ebp - 0x84]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, eax
mov dword [ebp - 0x8c], edx
test edx, edx
je 0x11035912
mov edi, dword [esi + 8]
mov eax, dword [ebp - 0x88]
sub edi, ebx
add edi, dword [eax + 4]
mov ecx, dword [edi]
test ecx, ecx
je 0x1103590c
jmp 0x110358d6
mov edx, dword [ebp - 0x8c]
test ecx, ecx
jns 0x110358e2
call dword [sym.imp.KERNEL32.dll_DebugBreak]
jmp 0x11035902
mov eax, dword [esi + 8]
sub eax, ebx
add eax, ecx
cmp byte [ebp + 0xc], 0
je 0x11035902
add eax, 2
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esi + 0x14]
mov edx, dword [edi]
mov dword [ecx + edx], eax
mov ecx, dword [edi + 4]
add edi, 4
test ecx, ecx
jne 0x110358d0
mov edi, dword [ebp - 0x88]
add edi, 0x14
cmp dword [edi], 0
mov dword [ebp - 0x88], edi
jne 0x11035871
mov ecx, dword [ebp - 0x90]
mov edx, dword [esi + 0x14]
lea eax, [ebp - 0xac]
push eax
push 0x20
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0x14]
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.111d9022
mov esp, ebp
pop ebp
ret 8