Function at 0x46a080
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
inc word [0x505dd2]
mov eax, ecx
push ebx
push esi
mov dword [ebp - 0xc], eax
mov esi, dword [eax + 4]
push edi
mov dl, byte [esi]
movzx eax, dl
and eax, 0xf
shl eax, 2
cmp eax, 0x14
je 0x46a0c7
inc word [0x505de4]
mov ecx, dword [ebp - 0xc]
inc word [0x505dd6]
call fcn.00464920
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, word [esi + 6]
and dl, 0xf
mov ch, al
shl dl, 2
mov cl, ah
shl cx, 3
movzx eax, cx
mov dword [ebp - 0x10], eax
movzx eax, word [esi + 2]
mov ch, al
mov cl, ah
movzx eax, dl
movzx ecx, cx
cmp ax, cx
ja 0x46a0af
sub ecx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
xor edi, edi
nop dword [eax]
mov eax, dword [eax]
inc edi
test eax, eax
jne 0x46a100
movzx eax, word [0x505c8c]
movzx ebx, di
add eax, ebx
mov dword [ebp - 0x14], ebx
cmp eax, 0xa
jbe 0x46a142
mov edx, ebx
mov ecx, esi
call fcn.00469d10
test eax, eax
je 0x46a136
movzx eax, word [0x505c8c]
add eax, ebx
cmp eax, 0xa
jbe 0x46a142
inc word [0x505ddc]
jmp 0x46a0af
mov ebx, dword [0x505c88]
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x46a176
mov ecx, dword [esi + 0xc]
cmp dword [ebx + 0x14], ecx
jne 0x46a16d
mov eax, dword [ebx + 0x18]
cmp eax, dword [esi + 0x10]
jne 0x46a16d
mov ax, word [ebx + 0xc]
cmp ax, word [esi + 4]
je 0x46a351
mov ebx, dword [ebx]
mov dword [ebp - 4], ebx
test ebx, ebx
jne 0x46a152
mov ecx, 0x4ef3a4
call fcn.0046e100
mov ebx, eax
mov dword [ebp - 4], ebx
test ebx, ebx
jne 0x46a1ab
mov edx, dword [ebp - 0x14]
mov ecx, esi
call fcn.00469d10
cmp eax, dword [ebp - 0x14]
jl 0x46a136
mov ecx, 0x4ef3a4
call fcn.0046e100
mov ebx, eax
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x46a136
mov eax, dword [0x505c88]
xorps xmm0, xmm0
movups xmmword [ebx], xmm0
mov dword [0x505c88], ebx
movups xmmword [ebx + 0x10], xmm0
mov byte [ebx + 0x1f], 0xf
mov dword [ebx], eax
movups xmm0, xmmword [esi]
movups xmmword [ebx + 8], xmm0
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x18], eax
movzx esi, word [esi + 6]
shr esi, 5
not esi
and esi, 1
je 0x46a203
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add eax, ecx
movzx eax, ax
cmp ax, cx
jb 0x46a0af
mov ecx, 0xffeb
cmp ax, cx
ja 0x46a0af
mov edx, dword [ebp - 0xc]
mov ecx, ebx
push esi
call fcn.00469db0
add esp, 4
cmp eax, 0xffffffff
je 0x46a0af
add word [0x505c8c], di
test esi, esi
je 0x46a233
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x10]
or byte [ebx + 0x1e], 1
mov word [ebx + 0x1c], cx
cmp eax, 1
jne 0x46a0be
mov eax, dword [ebx + 4]
xor edi, edi
movups xmm0, xmmword [ebx + 8]
movzx ecx, word [ebx + 0x1c]
add ecx, 0x14
mov dword [ebp - 8], 0
mov edx, dword [eax + 4]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], edx
mov esi, dword [edx]
movups xmmword [edx], xmm0
mov eax, dword [ebx + 0x18]
mov dword [edx + 0x10], eax
mov ah, cl
mov al, ch
mov ecx, edx
mov word [edx + 2], ax
xor eax, eax
and dword [ebp - 0xc], 1
mov word [edx + 6], ax
mov word [edx + 0xa], ax
mov eax, 0x14
mov dword [ebp - 0x10], eax
je 0x46a299
mov al, byte [edx]
lea ecx, [edx + 1]
mov byte [ebp - 7], al
mov eax, 0x13
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x10]
lea edx, [eax - 2]
shr edx, 1
inc edx
mov eax, edx
neg eax
lea eax, [ebx + eax*2]
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x14], eax
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
add edi, eax
sub edx, 1
jne 0x46a2b0
cmp dword [ebp - 0x14], edx
jle 0x46a2c7
mov al, byte [ecx]
mov byte [ebp - 8], al
movzx eax, word [ebp - 8]
add edi, eax
mov ecx, edi
movzx eax, di
shr ecx, 0x10
add ecx, eax
mov edx, ecx
movzx eax, cx
shr edx, 0x10
add edx, eax
cmp dword [ebp - 0xc], 0
je 0x46a2f7
mov eax, edx
movzx edx, dl
shr eax, 8
movzx ecx, al
shl edx, 8
or edx, ecx
mov eax, dword [ebp - 0x18]
not edx
mov word [eax + 0xa], dx
mov edi, dword [ebx + 4]
mov dword [ebp - 0x10], edi
test esi, esi
je 0x46a3b8
mov eax, 0x14
mov edx, 0xffec
mov ebx, edi
nop word [eax + eax]
movzx ecx, word [esi + 0xa]
mov edi, dword [esi + 4]
cmp ax, cx
jbe 0x46a384
push str.D:codeworkspacewintunsockslwIP_srccorepbuf.c
push 0x24c
push str.increment_magnitude___p__len
push str.Assertion___s__failed_at_line__d_in__s_n
call fcn.00463ae0
push 0
call fcn.004a705a
add esp, 0x14
jmp 0x46a395
mov ax, word [esi + 6]
mov edx, 0x1fff
inc word [0x505de6]
mov ch, al
mov cl, ah
test dx, cx
jne 0x46a1d3
mov ax, word [ebx + 0xe]
mov ch, al
mov cl, ah
test dx, cx
je 0x46a1d3
jmp 0x46a1c6
add word [esi + 8], dx
lea eax, [edi + 0x14]
mov dword [esi + 4], eax
lea eax, [ecx - 0x14]
mov word [esi + 0xa], ax
mov edx, esi
mov ecx, ebx
call fcn.00464aa0
mov esi, dword [edi]
mov eax, 0x14
mov edx, 0xffec
test esi, esi
jne 0x46a320
mov ebx, dword [ebp - 4]
mov edi, dword [ebp - 0x10]
mov edx, dword [0x505c88]
cmp ebx, edx
jne 0x46a3c6
xor ecx, ecx
jmp 0x46a3dc
mov ecx, edx
test ecx, ecx
je 0x46a3dc
nop dword [eax]
mov eax, dword [ecx]
cmp eax, ebx
je 0x46a3dc
mov ecx, eax
test ecx, ecx
jne 0x46a3d0
cmp edx, ebx
jne 0x46a3e9
mov eax, dword [ebx]
mov dword [0x505c88], eax
jmp 0x46a3f1
test ecx, ecx
je 0x46a43d
mov eax, dword [ebx]
mov dword [ecx], eax
test bl, 3
jne 0x46a465
lea eax, [ebx + 3]
and eax, 0xfffffffc
cmp ebx, eax
jne 0x46a48d
push ebx
call fcn.004a0cd5
add esp, 4
xor ecx, ecx
mov eax, edi
test edi, edi
je 0x46a41c
mov eax, dword [eax]
inc ecx
test eax, eax
jne 0x46a415
mov ax, word [0x505c8c]
cmp ax, cx
jb 0x46a4b5
sub ax, cx
mov word [0x505c8c], ax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.D:codeworkspacewintunsockslwIP_srccoreipv4ip4_frag.c
push 0x145
push str.sanity_check_linked_list
push str.Assertion___s__failed_at_line__d_in__s_n
call fcn.00463ae0
push 0
call fcn.004a705a
add esp, 0x14
call fcn.004a09c0
push str.D:codeworkspacewintunsockslwIP_srccorememp.c
push 0x1a7
push str.memp_free:_mem_properly_aligned
push str.Assertion___s__failed_at_line__d_in__s_n
call fcn.00463ae0
push 0
call fcn.004a705a
add esp, 0x14
call fcn.004a09c0
push str.D:codeworkspacewintunsockslwIP_srccoremem.c
push 0x9b
push str.rmem__MEM_ALIGN_rmem_
push str.Assertion___s__failed_at_line__d_in__s_n
call fcn.00463ae0
push 0
call fcn.004a705a
add esp, 0x14
call fcn.004a09c0
push str.D:codeworkspacewintunsockslwIP_srccoreipv4ip4_frag.c
push 0x2a3
push str.ip_reass_pbufcount___clen
push str.Assertion___s__failed_at_line__d_in__s_n
call fcn.00463ae0
push 0
call fcn.004a705a
add esp, 0x14
call fcn.004a09c0
int3