Function at 0x1b7220
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x260
mov eax, dword [esp + 0x278]
mov ebx, dword [esp + 0x274]
mov ecx, dword [ebx + 0x134]
mov dword [eax], 0
test ecx, ecx
je 0x1b77bf
cmp dword [ecx + 0xc], 0
jns 0x1b725f
cmp dword [ecx + 0x22c], 0
js 0x1b7964
xor eax, eax
cmp dword [ecx + 0x448], 0
jne 0x1b7af5
mov dword [esp + 0x20], ecx
lea edi, [ecx + 8]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
push ebx
call fcn.001b7b00
add esp, 4
lea esi, [esp + 0x34]
push 0x22c
push 0
push esi
call fcn.004f8b70
add esp, 0xc
mov dword [esp + 0x258], 0x7fffffff
push 0x100
push esi
call fcn.001b81f0
add esp, 8
lea eax, [esp + 0x44]
push 0x100
push eax
call fcn.001b81f0
add esp, 8
lea eax, [esp + 0x54]
push 0x100
push eax
call fcn.001b81f0
add esp, 8
lea eax, [esp + 0x64]
push 0x100
push eax
call fcn.001b81f0
mov ecx, edi
add esp, 8
lea ebp, [esp + 0x2c]
mov dl, 1
xor eax, eax
mov dword [esp + 0x14], edi
jmp 0x1b7367
mov ecx, dword [esi + 8]
cmp ecx, 0x1c
mov edx, 0x754f9b
mov esi, 0x754f96
cmove edx, esi
cmp ecx, 1
mov ecx, 0x754f94
cmove edx, ecx
mov ecx, dword [esp + 0x20]
push dword [ecx + 0x450]
push edx
push eax
push 0x754e26
push ebx
call fcn.001b4fd0
add esp, 0x14
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
nop word cs:[eax + eax]
mov eax, 1
lea ebp, [esp + 0x28]
test dl, 1
mov edx, 0
je 0x1b77c9
imul esi, eax, 0x220
cmp dword [ecx + esi + 8], 0
je 0x1b7350
mov dword [esp + 0xc], edx
add esi, ecx
lea edi, [esi + 0x210]
push edi
call fcn.001b84a0
add esp, 4
mov ebx, eax
mov dword [esp + 0x18], edi
push edi
call fcn.001b84b0
add esp, 4
mov edi, 4
mov dword [esp], eax
cmp eax, 0xc
jb 0x1b7690
mov edi, 0xc
test ebx, ebx
je 0x1b7690
cmp byte [ebx], 0
jne 0x1b7690
cmp byte [ebx + 1], 0
jne 0x1b7690
mov edi, 8
test byte [ebx + 3], 0xf
jne 0x1b7690
mov eax, dword [esi + 8]
mov dword [esp + 0x10], eax
movzx eax, word [ebx + 4]
rol ax, 8
test ax, ax
mov dword [esp + 4], ebx
je 0x1b7472
mov ebx, 0xc
mov word [esp + 8], ax
mov eax, ebx
lea edx, [eax + 1]
cmp edx, dword [esp]
ja 0x1b7685
mov ecx, dword [esp + 4]
movzx edi, byte [ecx + eax]
mov ebx, edi
and ebx, 0xc0
jne 0x1b7431
add edx, edi
cmp edx, dword [esp]
ja 0x1b7685
mov eax, edx
test edi, edi
jne 0x1b7400
jmp 0x1b7450
mov edi, 1
cmp ebx, 0xc0
jne 0x1b7690
add eax, 2
mov edx, eax
cmp eax, dword [esp]
ja 0x1b7685
add edx, 4
mov edi, 2
cmp edx, dword [esp]
mov ecx, dword [esp + 4]
ja 0x1b7690
mov ebx, edx
movzx eax, word [esp + 8]
dec ax
jne 0x1b73f9
jmp 0x1b7479
mov ecx, ebx
mov ebx, 0xc
movzx eax, word [ecx + 6]
rol ax, 8
test ax, ax
je 0x1b75d7
lea edi, [ebx + 1]
cmp edi, dword [esp]
ja 0x1b7685
movzx ecx, byte [ecx + ebx]
mov edx, ecx
and edx, 0xc0
jne 0x1b74bb
add edi, ecx
cmp edi, dword [esp]
ja 0x1b7685
mov ebx, edi
test ecx, ecx
mov ecx, dword [esp + 4]
jne 0x1b748a
jmp 0x1b74de
mov edi, 1
cmp edx, 0xc0
mov ecx, dword [esp + 4]
jne 0x1b7690
add ebx, 2
mov edi, ebx
cmp ebx, dword [esp]
ja 0x1b7685
mov edx, edi
add edi, 2
cmp edi, dword [esp]
ja 0x1b7685
mov ebx, edx
movzx ecx, word [ecx + edx]
rol cx, 8
movzx edx, cx
cmp dx, 5
je 0x1b750e
cmp edx, 0x27
je 0x1b750e
cmp dword [esp + 0x10], edx
jne 0x1b77b5
mov dword [esp + 8], edx
lea edx, [ebx + 4]
cmp edx, dword [esp]
ja 0x1b7685
mov word [esp + 0x24], cx
mov ecx, dword [esp + 4]
movzx ecx, word [ecx + edi]
rol cx, 8
cmp cx, 1
jne 0x1b77ab
lea edi, [ebx + 8]
cmp edi, dword [esp]
ja 0x1b7685
mov ecx, dword [esp + 4]
mov edx, dword [ecx + edx]
bswap edx
cmp edx, dword [esp + 0x258]
jae 0x1b755e
mov dword [esp + 0x258], edx
add ebx, 0xa
cmp ebx, dword [esp]
ja 0x1b7685
mov word [esp + 0x26], ax
mov ecx, dword [esp + 4]
movzx edx, word [ecx + edi]
rol dx, 8
movzx edx, dx
lea eax, [ebx + edx]
mov edi, 2
mov dword [esp + 0x30], eax
cmp eax, dword [esp]
ja 0x1b7690
mov edi, edx
mov edx, dword [esp]
lea eax, [esp + 0x34]
push eax
push ebx
push dword [esp + 0x10]
push edi
call fcn.001b8020
add esp, 0x10
test eax, eax
jne 0x1b77a4
movzx eax, word [esp + 0x26]
dec ax
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 0x30]
jne 0x1b748a
cmp word [esp + 0x24], 2
sete al
mov dword [esp + 0x10], eax
jmp 0x1b75df
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], ebx
movzx eax, word [ecx + 8]
rol ax, 8
test ax, ax
je 0x1b76f1
lea edx, [ebx + 1]
cmp edx, dword [esp]
ja 0x1b7685
mov ecx, dword [esp + 4]
movzx edi, byte [ecx + ebx]
mov ecx, ebx
mov ebx, edi
and ebx, 0xc0
jne 0x1b7623
add edx, edi
cmp edx, dword [esp]
ja 0x1b7685
mov ebx, edx
test edi, edi
jne 0x1b75f4
jmp 0x1b763a
mov edi, 1
cmp ebx, 0xc0
jne 0x1b7690
add ecx, 2
mov edx, ecx
cmp ecx, dword [esp]
ja 0x1b7685
lea ebx, [edx + 8]
cmp ebx, dword [esp]
ja 0x1b7685
mov word [esp + 8], ax
add edx, 0xa
cmp edx, dword [esp]
ja 0x1b7685
mov ecx, dword [esp + 4]
movzx edi, word [ecx + ebx]
rol di, 8
movzx eax, di
add eax, edx
mov edi, 2
mov edx, eax
cmp eax, dword [esp]
movzx eax, word [esp + 8]
ja 0x1b7690
dec ax
mov ebx, edx
jne 0x1b75f4
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 4]
jmp 0x1b76f3
mov edi, 2
nop word [eax + eax]
mov dword [ebp], edi
push dword [esp + 0x18]
call fcn.001b8210
add esp, 4
test edi, edi
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x274]
je 0x1b7350
test byte [ebx + 0x6eb], 0x20
je 0x1b7350
mov eax, dword [ebx + 0xd20]
test eax, eax
je 0x1b76d7
cmp dword [eax + 4], 0
jle 0x1b7350
mov eax, 0x754ee8
cmp edi, 0xd
ja 0x1b7301
mov eax, dword [edi*4 + 0x754eb0]
jmp 0x1b7301
mov edx, ebx
movzx eax, word [ecx + 0xa]
rol ax, 8
test ax, ax
je 0x1b7769
mov word [esp + 8], ax
mov edx, dword [esp]
lea eax, [esp + 0x1c]
push eax
call fcn.001b7fb0
add esp, 4
test eax, eax
jne 0x1b77a4
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + 8]
mov edi, 2
cmp edx, dword [esp]
ja 0x1b7690
add ecx, 0xa
cmp ecx, dword [esp]
ja 0x1b7690
mov ebx, dword [esp + 4]
movzx edx, word [ebx + edx]
rol dx, 8
movzx eax, dx
add eax, ecx
cmp eax, dword [esp]
ja 0x1b7690
mov edx, eax
mov dword [esp + 0x1c], eax
movzx eax, word [esp + 8]
dec ax
mov ecx, ebx
jne 0x1b7700
mov edi, 7
cmp edx, dword [esp]
jne 0x1b7690
mov eax, dword [esp + 0x254]
or eax, dword [esp + 0x25c]
mov edi, 0
mov eax, 0xb
cmove edi, eax
cmp byte [esp + 0x10], 0
mov eax, 0
cmovne edi, eax
jmp 0x1b7690
mov edi, eax
jmp 0x1b7690
mov edi, 0xa
jmp 0x1b7690
mov edi, 9
jmp 0x1b7690
mov eax, 0x1b
jmp 0x1b7af5
cmp dword [esp + 0x2c], 0
je 0x1b77ef
mov esi, 6
cmp dword [esp + 0x28], 0
je 0x1b77ef
cmp dword [esp + 0x25c], 0
jg 0x1b7a80
jmp 0x1b7aa6
test ebx, ebx
mov edi, dword [esp + 0x20]
je 0x1b7838
test byte [ebx + 0x6eb], 0x20
je 0x1b7838
mov eax, dword [ebx + 0xd20]
test eax, eax
je 0x1b7810
cmp dword [eax + 4], 0
jle 0x1b7838
cmp dword [0x5f3444], 0
jle 0x1b7838
push dword [edi + 0x450]
push 0x754e3d
push ebx
call fcn.001b4fd0
add esp, 0xc
lea edx, [esp + 0x34]
mov ecx, ebx
call fcn.001b7bd0
mov esi, dword [edi + 0x44c]
mov eax, dword [edi + 0x450]
mov dword [esp + 0x14], eax
push eax
call fcn.004f8b98
add esp, 4
mov ecx, dword [esp + 0x254]
test ecx, ecx
je 0x1b7992
jle 0x1b79ae
lea ecx, [eax + 1]
mov dword [esp + 8], ecx
add eax, 0x21
mov dword [esp + 4], eax
xor ebp, ebp
lea edi, [esp + 0x78]
movzx eax, si
mov dword [esp + 0x10], eax
xor ebx, ebx
mov dword [esp + 0xc], 0
jmp 0x1b78c1
movups xmm0, xmmword [edi]
movups xmmword [esi + 8], xmm0
mov ax, 0x17
mov ebp, dword [esp + 0x18]
mov word [esi], ax
push dword [esp + 0x10]
call reloc.ws2_32.dll_htons
nop
mov word [esi + 2], ax
inc ebp
add edi, 0x14
cmp ebp, dword [esp + 0x254]
jge 0x1b79b6
mov dword [esp], ebx
mov dword [esp + 0x18], ebp
mov esi, dword [edi - 4]
cmp esi, 0x1c
mov ebp, 0x10
cmove ebp, esi
mov eax, dword [esp + 4]
add eax, ebp
push 0x754de0
push 0x3a6
push eax
push 1
call fcn.00177310
add esp, 0x10
test eax, eax
je 0x1b7a20
mov ebx, eax
add eax, 0x20
mov dword [ebx + 0x18], eax
lea eax, [ebx + ebp + 0x20]
mov dword [ebx + 0x14], eax
push dword [esp + 8]
push dword [esp + 0x18]
push eax
call fcn.004f8d80
add esp, 0xc
mov eax, dword [esp + 0xc]
test eax, eax
cmove eax, ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp]
test eax, eax
je 0x1b7930
mov dword [eax + 0x1c], ebx
mov eax, 2
cmp esi, 0x1c
mov ecx, 0x17
cmove eax, ecx
mov dword [ebx + 4], eax
mov dword [ebx + 8], 1
mov dword [ebx + 0x10], ebp
mov esi, dword [ebx + 0x18]
je 0x1b7890
mov eax, dword [edi]
mov dword [esi + 4], eax
mov ax, 2
jmp 0x1b789b
push dword [ebx + 0x968]
push 0x754e0c
push ebx
call fcn.001b4f40
add esp, 0xc
mov eax, dword [ebx + 0x18]
movzx ecx, byte [eax + 0x2a0]
and cl, 0x10
xor eax, eax
cmp cl, 1
adc eax, 5
jmp 0x1b7af5
mov eax, 6
cmp dword [esp + 0x25c], 0
lea ebx, [esp + 0x34]
jg 0x1b7a43
jmp 0x1b7af5
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x274]
cmp dword [esi + 0x90], 0
je 0x1b79d3
push 2
push 3
push esi
call fcn.0018c5a0
add esp, 0xc
push 0
mov eax, dword [esp + 0x24]
push dword [eax + 0x44c]
push 0
push dword [eax + 0x450]
mov ebx, dword [esp + 0x1c]
push ebx
push esi
call fcn.001c2430
add esp, 0x18
mov edi, eax
cmp dword [esi + 0x90], 0
je 0x1b7a0b
push 3
push esi
call fcn.0018c5e0
add esp, 8
test edi, edi
je 0x1b7a6b
mov dword [esi + 0x96c], edi
mov eax, dword [esp + 0x278]
mov dword [eax], edi
jmp 0x1b7a74
push dword [esp + 0xc]
call fcn.001b4350
add esp, 4
mov eax, 0x1b
cmp dword [esp + 0x25c], 0
lea ebx, [esp + 0x34]
jle 0x1b7af5
mov esi, eax
xor edi, edi
nop word [eax + eax]
push ebx
call fcn.001b8210
add esp, 4
inc edi
add ebx, 0x10
cmp edi, dword [esp + 0x25c]
jl 0x1b7a50
jmp 0x1b7af3
push ebx
call fcn.001b4350
add esp, 4
xor esi, esi
cmp dword [esp + 0x25c], 0
jle 0x1b7aa6
xor edi, edi
lea ebx, [esp + 0x34]
nop word cs:[eax + eax]
push ebx
call fcn.001b8210
add esp, 4
inc edi
add ebx, 0x10
cmp edi, dword [esp + 0x25c]
jl 0x1b7a90
mov ebx, dword [esp + 0x274]
mov edi, dword [ebx + 0x134]
test edi, edi
je 0x1b7af3
push ebx
call fcn.001b7b00
add esp, 4
push dword [edi]
call fcn.0018c7d0
add esp, 4
mov eax, dword [ebx + 0x134]
mov dword [eax], 0
push 0x754de0
push 0x59f
push eax
call fcn.001775a0
add esp, 0xc
mov dword [ebx + 0x134], 0
mov eax, esi
add esp, 0x260
pop esi
pop edi
pop ebx
pop ebp
ret