Function at 0x10019000
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x24], 1
je 0x10019016
xor eax, eax
jmp 0x100191d5
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jb 0x10019088
cmp dword [ebp - 0xc], 0xff
ja 0x10019088
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.WS2_32.dll_ntohl]
mov edx, dword [ebp + 0x10]
cmp eax, dword [edx + 0x84]
jne 0x10019088
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.WS2_32.dll_ntohl]
mov edx, dword [ebp + 0x10]
cmp eax, dword [edx + 0x7c]
jne 0x10019088
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x24]
push ecx
call dword [sym.imp.WS2_32.dll_ntohl]
mov edx, dword [ebp + 0x10]
cmp eax, dword [edx + 0x80]
jne 0x10019088
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax + 0x28]
cmp edx, dword [ecx + 0x10]
je 0x100190af
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x170], 0
push 9
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10017310
add esp, 0xc
or eax, 0xffffffff
jmp 0x100191d5
push 0xff
push 1
mov eax, dword [ebp + 0x10]
push eax
call fcn.10017720
add esp, 0xc
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0xc]
cmp edx, dword [ecx + 0x2c]
jae 0x100190d6
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x2c], ecx
mov edx, dword [ebp + 0x14]
movzx eax, word [edx + 4]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [ebp + 0x10]
mov word [ecx + 0xc], ax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov cl, byte [eax + 6]
mov byte [edx + 0x15], cl
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov cl, byte [eax + 7]
mov byte [edx + 0x14], cl
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x240
jae 0x10019125
mov dword [ebp - 4], 0x240
jmp 0x10019135
cmp dword [ebp - 4], 0x1000
jbe 0x10019135
mov dword [ebp - 4], 0x1000
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
cmp edx, dword [ecx + 0xb0]
jae 0x1001914f
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov dword [eax + 0xb0], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x1000
jae 0x1001916f
mov dword [ebp - 8], 0x1000
cmp dword [ebp - 8], 0x10000
jbe 0x1001917f
mov dword [ebp - 8], 0x10000
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 8]
cmp edx, dword [ecx + 0xb4]
jae 0x10019199
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
mov dword [eax + 0xb4], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x14]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x30], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x34], eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10017520
add esp, 0xc
xor eax, eax
mov esp, ebp
pop ebp
ret