Function at 0x1db93d0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
cmp dword [ebp + 0x14], 0
push ebx
mov ebx, edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], ebx
jle 0x1db96de
movzx eax, word [ebx]
movzx edx, word [ebx + 4]
cwde
mov dword [ebp - 0x44], eax
push esi
movzx esi, word [ebx + 2]
push edi
movzx edi, word [ebx + 6]
movzx ebx, word [ebx + 0xa]
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 4]
movsx eax, si
mov dword [ebp - 8], eax
movsx eax, dx
movzx ecx, word [ebx + 8]
mov ebx, dword [ebp - 0x38]
mov dword [ebp - 0x10], eax
movsx eax, di
mov dword [ebp - 0xc], eax
movsx eax, cx
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], eax
movsx eax, bx
mov dword [ebp - 0x14], eax
movzx eax, word [ecx + 0xc]
cwde
mov dword [ebp - 0x1c], eax
movzx eax, word [ecx + 0xe]
cwde
mov dword [ebp - 4], eax
movzx eax, word [ecx + 0x10]
cwde
mov dword [ebp - 0x24], eax
movzx eax, word [ecx + 0x12]
cwde
mov dword [ebp - 0x20], eax
movzx eax, word [ecx + 0x14]
cwde
mov dword [ebp - 0x2c], eax
movzx eax, word [ecx + 0x16]
mov ebx, dword [ebp - 0x40]
sub dword [ebp + 0x10], ebx
mov esi, dword [ebp + 0xc]
cwde
mov dword [ebp - 0x28], eax
movzx eax, word [ecx + 0x18]
cwde
mov dword [ebp - 0x34], eax
movzx eax, word [ecx + 0x1a]
cwde
mov dword [ebp - 0x30], eax
movzx eax, word [ecx + 0x1c]
cwde
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x3c], eax
movzx eax, word [ecx + 0x1e]
cwde
mov dword [ebp - 0x38], eax
nop dword [eax]
mov edx, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
movzx eax, cx
imul eax, dword [ebp - 0x44]
mov dword [esi + 0x38], ecx
movzx edi, dx
imul edi, dword [ebp - 8]
sar ecx, 0x10
imul ecx, dword [ebp - 0x44]
sar eax, 0x10
sar edi, 0x10
add edi, eax
mov eax, edx
sar eax, 0x10
imul eax, dword [ebp - 8]
add edi, eax
mov eax, dword [ebp + 0xc]
add edi, ecx
mov esi, dword [eax + 0x34]
mov dword [eax + 0x34], edx
mov edx, dword [eax + 0x30]
mov dword [eax + 0x30], esi
movzx eax, si
imul eax, dword [ebp - 0x10]
movzx ecx, dx
imul ecx, dword [ebp - 0xc]
sar esi, 0x10
imul esi, dword [ebp - 0x10]
sar eax, 0x10
sar ecx, 0x10
add ecx, eax
mov eax, edx
sar eax, 0x10
add esi, edi
imul eax, dword [ebp - 0xc]
add ecx, eax
mov eax, dword [ebp + 0xc]
add esi, ecx
mov edi, dword [eax + 0x2c]
mov dword [eax + 0x2c], edx
mov edx, dword [eax + 0x28]
mov dword [eax + 0x28], edi
movzx eax, di
imul eax, dword [ebp - 0x18]
movzx ecx, dx
imul ecx, dword [ebp - 0x14]
sar edi, 0x10
imul edi, dword [ebp - 0x18]
sar eax, 0x10
sar ecx, 0x10
add ecx, eax
mov eax, edx
sar eax, 0x10
add esi, edi
imul eax, dword [ebp - 0x14]
add ecx, eax
mov eax, dword [ebp + 0xc]
add esi, ecx
mov edi, dword [eax + 0x24]
mov dword [eax + 0x24], edx
mov edx, dword [eax + 0x20]
mov dword [eax + 0x20], edi
movzx eax, di
imul eax, dword [ebp - 0x1c]
movzx ecx, dx
imul ecx, dword [ebp - 4]
sar edi, 0x10
imul edi, dword [ebp - 0x1c]
sar eax, 0x10
sar ecx, 0x10
add ecx, eax
mov eax, edx
sar eax, 0x10
add esi, edi
imul eax, dword [ebp - 4]
add ecx, eax
mov eax, dword [ebp + 0xc]
add esi, ecx
mov edi, dword [eax + 0x1c]
mov dword [eax + 0x1c], edx
mov edx, dword [eax + 0x18]
mov dword [eax + 0x18], edi
movzx eax, di
imul eax, dword [ebp - 0x24]
movzx ecx, dx
imul ecx, dword [ebp - 0x20]
sar edi, 0x10
imul edi, dword [ebp - 0x24]
sar eax, 0x10
sar ecx, 0x10
add ecx, eax
mov eax, edx
sar eax, 0x10
add esi, edi
imul eax, dword [ebp - 0x20]
add ecx, eax
mov eax, dword [ebp + 0xc]
add esi, ecx
mov edi, dword [eax + 0x14]
mov dword [eax + 0x14], edx
mov edx, dword [eax + 0x10]
mov dword [eax + 0x10], edi
movzx eax, di
imul eax, dword [ebp - 0x2c]
movzx ecx, dx
imul ecx, dword [ebp - 0x28]
sar edi, 0x10
imul edi, dword [ebp - 0x2c]
sar eax, 0x10
sar ecx, 0x10
add ecx, eax
mov eax, edx
sar eax, 0x10
add esi, edi
imul eax, dword [ebp - 0x28]
add ecx, eax
mov eax, dword [ebp + 0xc]
add esi, ecx
mov edi, dword [eax + 0xc]
mov dword [eax + 0xc], edx
mov edx, dword [eax + 8]
mov dword [eax + 8], edi
movzx ecx, dx
imul ecx, dword [ebp - 0x30]
movzx eax, di
imul eax, dword [ebp - 0x34]
sar edi, 0x10
imul edi, dword [ebp - 0x34]
sar ecx, 0x10
sar eax, 0x10
add ecx, eax
mov eax, edx
sar eax, 0x10
add esi, edi
imul eax, dword [ebp - 0x30]
add ecx, eax
mov eax, dword [ebp + 0xc]
add esi, ecx
mov edi, dword [eax + 4]
mov ecx, dword [eax]
mov dword [eax + 4], edx
mov dword [eax], edi
movzx edx, cx
imul edx, dword [ebp - 0x38]
movzx eax, di
imul eax, dword [ebp - 0x3c]
sar ecx, 0x10
imul ecx, dword [ebp - 0x38]
sar edi, 0x10
imul edi, dword [ebp - 0x3c]
sar edx, 0x10
sar eax, 0x10
add edx, eax
add edx, ecx
movsx ecx, word [ebx]
add edi, esi
shl ecx, 0xa
add edx, edi
lea eax, [ecx + edx]
test eax, eax
js 0x1db9675
test edx, ecx
mov ecx, connect
cmovl eax, ecx
jmp 0x1db967f
or ecx, edx
mov ecx, accept
cmovge eax, ecx
mov ecx, eax
sar ecx, 9
inc ecx
sar ecx, 1
cmp ecx, 0x7fff
jle 0x1db9696
mov ecx, 0x7fff
jmp 0x1db96a4
cmp ecx, 0xffff8000
mov edx, 0xffff8000
cmovl ecx, edx
mov edx, dword [ebp + 0x10]
mov word [edx + ebx], cx
cmp eax, 0x7ffffff
jle 0x1db96b9
mov eax, 0x7ffffff
jmp 0x1db96c6
cmp eax, 0xf8000000
mov ecx, 0xf8000000
cmovl eax, ecx
mov esi, dword [ebp + 0xc]
add ebx, 2
shl eax, 4
sub dword [ebp + 0x14], 1
mov dword [esi + 0x3c], eax
jne 0x1db9490
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret