Function at 0x587f10
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x68
push 0xffffffffffffffff
push 0x6400c1
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x6a6040]
xor eax, ebp
mov dword [ebp + 0x64], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp + 4], ecx
mov eax, dword [ebp + 0x70]
xor edx, edx
mov ecx, dword [ebp + 0x78]
add eax, 8
mov esi, dword [ebp + 0x74]
mov dword [ebp - 0x1c], ecx
mov dword [ebp], edx
mov ecx, dword [eax]
cmp ecx, eax
mov dword [ebp - 0x14], esi
cmove ecx, edx
lea edx, [ebp]
mov dword [ebp - 0x3c], ecx
call fcn.00471c30
mov ecx, dword [ebp]
mov edi, eax
or ebx, 0xffffffff
mov dword [ebp - 0x10], edi
test ecx, ecx
je 0x587f8a
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
jne 0x587f8a
push ecx
call fcn.005a47b0
test edi, edi
je 0x588482
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp + 0x7c]
add eax, 0x18
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 4]
mov ecx, eax
shl eax, 8
shr ecx, 8
movzx eax, ax
or eax, ecx
mov ecx, 0x222
add eax, 8
cmp eax, edi
cmovl edi, eax
lea eax, [esi + 0x20]
mov dword [ebp + 0x7c], edi
mov dword [ebp + 0x18], eax
cmp word [eax], cx
jne 0x588482
lea eax, [esi + 0x22]
mov ecx, 0x223
mov dword [ebp + 0x1c], eax
cmp word [eax], cx
jne 0x588482
mov ecx, dword [ebp + 4]
lea edx, [esi + 0x10]
mov eax, dword [edx]
mov dword [ebp - 0x24], edx
cmp eax, dword [ecx + 0x4c]
jne 0x58800d
mov eax, dword [edx + 4]
cmp eax, dword [ecx + 0x50]
jne 0x58800d
mov eax, dword [edx + 8]
cmp eax, dword [ecx + 0x54]
jne 0x58800d
mov eax, dword [edx + 0xc]
cmp eax, dword [ecx + 0x58]
je 0x588020
lea eax, [ecx + 0x5c]
mov ecx, edx
push eax
call fcn.005d2880
test al, al
jne 0x588482
cmp edi, 0xc
jl 0x588482
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp]
add eax, 8
mov dword [ebp + 0x24], eax
inc eax
push 3
push eax
call fcn.005a56f0
xor esi, esi
mov dword [ebp - 4], 0
mov dword [ebp + 0xc], esi
mov dword [ebp - 0x40], esi
xor edi, edi
mov dword [ebp - 0x38], edi
mov dword [ebp + 0x20], edi
mov edx, dword [ebp + 4]
xor eax, eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
mov word [ebp + 0x60], ax
mov eax, dword [edx + 0x7d]
bswap eax
mov ecx, dword [ecx + 0x26a]
mov dword [ebp + 0x5c], edi
mov dword [ebp + 0x50], 0xe000200
mov dword [ebp + 0x54], 0x1000100
mov dword [ebp + 0x58], eax
test ecx, ecx
je 0x58809c
mov eax, dword [ecx + 0x210]
mov dword [ebp + 0x5c], eax
mov ax, word [ecx + 0x214]
mov word [ebp + 0x60], ax
push 0x12
lea eax, [ebp + 0x50]
push eax
lea ecx, [ebp - 0x10]
call fcn.005a56f0
push eax
lea ecx, [ebp + 0x20]
call fcn.005a5c80
lea ecx, [ebp - 0x10]
call fcn.004250c0
mov eax, dword [ebp + 4]
lea ecx, [ebp + 0x20]
add eax, 0x86
push ecx
mov ecx, eax
mov dword [ebp - 0x18], eax
call fcn.005a5d20
test al, al
je 0x5880e1
mov ecx, dword [ebp - 0x18]
lea eax, [ebp + 0x20]
push eax
call fcn.005a5c40
mov ecx, dword [ebp + 0x10]
xorps xmm0, xmm0
mov dword [ebp - 0x10], 0
mov byte [ebp + 0x2b], 0
movlpd qword [ebp - 0x48], xmm0
mov eax, dword [ecx + 6]
mov dword [ebp + 0x48], eax
mov ax, word [ecx + 0xa]
mov ecx, dword [ebp + 4]
mov word [ebp + 0x4c], ax
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp + 0x48]
movlpd qword [ebp - 0x50], xmm0
lea ecx, [ecx + 0xee]
movlpd qword [ebp + 0x50], xmm0
push eax
movlpd qword [ebp + 0x58], xmm0
call fcn.00579430
test eax, eax
jne 0x58815b
push 0x6af130
lea ecx, [ebp + 0x50]
call fcn.005d2850
test al, al
je 0x58815b
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x58847a
lock xadd dword [ecx], ebx
dec ebx
jne 0x58847a
push ecx
jmp 0x588475
mov edx, dword [ebp + 0x24]
mov al, byte [edx]
cmp al, 1
je 0x588174
cmp al, 3
je 0x588174
cmp al, 5
je 0x588174
cmp al, 8
je 0x588174
cmp al, 4
jne 0x58813f
mov eax, dword [ebp + 0x7c]
add edx, 4
add eax, 0xfffffff4
mov dword [ebp + 0x24], edx
mov dword [ebp + 8], eax
cmp eax, 4
jl 0x5884de
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x28], eax
movzx eax, word [edx]
mov ecx, eax
mov dword [ebp - 0x20], edx
shl eax, 8
movzx eax, ax
shr ecx, 8
or ecx, eax
mov eax, dword [ebp + 0x24]
add eax, 2
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0x24], eax
movzx eax, word [eax]
mov edx, eax
shl eax, 8
shr edx, 8
movzx eax, ax
or edx, eax
mov eax, dword [ebp + 8]
mov dword [ebp + 0x2c], edx
sub eax, 4
mov edx, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x2c]
add edx, 2
mov dword [ebp + 0x24], edx
mov dword [ebp + 8], eax
cmp ecx, eax
jg 0x58843c
mov eax, dword [ebp + 0x14]
dec eax
cmp eax, 0x26
ja case.0x588203.4
movzx eax, byte [eax + 0x588938]
jmp dword [eax*4 + 0x588920]
call fcn.005a45d0
mov edx, eax
mov dword [ebp - 0x44], edx
mov byte [ebp - 4], 5
test edx, edx
je 0x588231
mov ecx, dword [ebp + 0x2c]
push 0
add ecx, 4
push ecx
push dword [ebp - 0x20]
mov ecx, edx
call fcn.005a57f0
jmp 0x588233
xor eax, eax
mov byte [ebp - 4], 4
test eax, eax
je 0x58824b
cmp dword [eax + 0xc], 0
jne 0x58824b
push ecx
mov ecx, eax
call fcn.005a47b0
xor eax, eax
cmp esi, eax
je 0x58828a
mov ecx, esi
mov esi, eax
mov dword [ebp + 0xc], esi
test ecx, ecx
je 0x588269
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
jne 0x588269
push ecx
call fcn.005a47b0
mov edx, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ebp + 8]
add edx, ecx
sub eax, ecx
mov dword [ebp + 0x24], edx
mov dword [ebp + 8], eax
cmp eax, 4
jge 0x5881a4
jmp 0x5884f6
test eax, eax
je 0x588269
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
jne 0x588269
push ecx
mov ecx, eax
jmp 0x588264
call fcn.005a45d0
mov edx, eax
mov dword [ebp - 0x4c], edx
mov byte [ebp - 4], 6
test edx, edx
je 0x5882c3
mov ecx, dword [ebp + 0x2c]
push 0
add ecx, 4
push ecx
push dword [ebp - 0x20]
mov ecx, edx
call fcn.005a57f0
jmp 0x5882c5
xor eax, eax
mov byte [ebp - 4], 4
test eax, eax
je 0x5882dd
cmp dword [eax + 0xc], 0
jne 0x5882dd
push ecx
mov ecx, eax
call fcn.005a47b0
xor eax, eax
mov esi, dword [ebp + 0x20]
cmp esi, eax
je 0x5882fb
mov ecx, esi
mov esi, eax
mov dword [ebp + 0x20], esi
test ecx, ecx
je 0x588310
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
jne 0x588310
push ecx
jmp 0x58830b
test eax, eax
je 0x588310
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
jne 0x588310
push ecx
mov ecx, eax
call fcn.005a47b0
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
cmp esi, edx
je 0x58834c
test esi, esi
je 0x5884b8
test edx, edx
je 0x5884a3
mov eax, dword [esi + 4]
cmp eax, dword [edx + 4]
jne 0x5884a3
mov edx, dword [edx + 0xc]
mov ecx, dword [esi + 0xc]
push eax
call fcn.005a4c60
add esp, 4
test al, al
je 0x5884a3
mov esi, dword [ebp + 0xc]
jmp 0x588269
cmp ecx, 0xc
jb 0x58843c
mov eax, dword [edx]
mov byte [ebp + 0x2b], 1
bswap eax
mov dword [ebp - 0x10], eax
cmp ecx, 0x28
jb case.0x588203.4
mov ax, word [edx + 0xc]
mov ch, al
mov cl, ah
cmp cx, 5
jne 0x58826c
mov eax, dword [ebp + 0x24]
mov edx, dword [ebp + 0x24]
mov ax, word [eax + 0xe]
mov ch, al
mov cl, ah
cmp cx, 0x18
mov ecx, dword [ebp + 0x2c]
jb case.0x588203.4
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x34], eax
jmp case.0x588203.4
mov eax, dword [ebp + 0x24]
movzx eax, word [eax]
mov ecx, eax
shl eax, 8
shr ecx, 8
movzx eax, ax
or ecx, eax
add ecx, 2
cmp ecx, dword [ebp + 0x2c]
jne 0x588269
call fcn.005a45d0
mov edx, eax
mov dword [ebp + 0x48], edx
mov byte [ebp - 4], 7
test edx, edx
je 0x588405
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x24]
add ecx, 0xfffffffe
push 0
push ecx
add eax, 2
mov ecx, edx
push eax
call fcn.005a57f0
jmp 0x588407
xor eax, eax
mov byte [ebp - 4], 4
test eax, eax
je 0x58841f
cmp dword [eax + 0xc], 0
jne 0x58841f
push ecx
mov ecx, eax
call fcn.005a47b0
xor eax, eax
cmp edi, eax
je 0x58828a
mov ecx, edi
mov edi, eax
mov dword [ebp - 0x38], edi
jmp 0x588256
test cl, 1
je case.0x588203.4
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x588452
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
jne 0x588452
push ecx
call fcn.005a47b0
test edi, edi
je 0x588467
mov eax, ebx
lock xadd dword [edi], eax
dec eax
jne 0x588467
push ecx
mov ecx, edi
call fcn.005a47b0
test esi, esi
je 0x58847a
lock xadd dword [esi], ebx
dec ebx
jne 0x58847a
push ecx
mov ecx, esi
call fcn.005a47b0
lea ecx, [ebp]
call fcn.004250c0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x64]
xor ecx, ebp
call fcn.00606a47
lea esp, [ebp + 0x68]
pop ebp
ret 0x10
test esi, esi
je 0x5884b8
mov eax, ebx
lock xadd dword [esi], eax
dec eax
jne 0x5884b8
push ecx
mov ecx, esi
call fcn.005a47b0
test edi, edi
je 0x5884cd
mov eax, ebx
lock xadd dword [edi], eax
dec eax
jne 0x5884cd
push ecx
mov ecx, edi
call fcn.005a47b0
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x58847a
lock xadd dword [ecx], ebx
dec ebx
jne 0x58847a
push ecx
jmp 0x588475
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x28], ecx
test eax, eax
jne 0x58843c
test esi, esi
je 0x58843c
cmp dword [esi + 4], 4
jle 0x58843c
mov eax, dword [ebp - 0x1c]
mov al, byte [eax + 8]
cmp al, 1
jne 0x588594
cmp byte [ebp + 0x2b], 0
jne 0x588558
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x588536
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
jne 0x588536
push ecx
call fcn.005a47b0
test edi, edi
je 0x58846b
mov eax, ebx
lock xadd dword [edi], eax
dec eax
jne 0x58846b
push ecx
mov ecx, edi
call fcn.005a47b0
jmp 0x58846b
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x14]
mov dword [ebp + 0x2c], 1
mov eax, dword [ecx + 6]
mov dword [ebp + 0x40], eax
mov ax, word [ecx + 0xa]
mov ecx, dword [edx + 4]
mov word [ebp + 0x44], ax
mov eax, dword [edx]
mov dword [ebp + 0x34], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp + 0x30], eax
mov eax, dword [edx + 8]
mov dword [ebp + 0x3c], ecx
mov ecx, str.DHCP6_SOLICIT_packet:_x_d__ciaddr_J__mac_:____J_:_d_____J_:_d____:____:__n
mov dword [ebp + 0x38], eax
jmp 0x588690
cmp al, 3
jne 0x5885cb
cmp byte [ebp + 0x2b], 0
je 0x588520
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x14]
mov dword [ebp + 0x2c], 3
mov eax, dword [ecx + 6]
mov dword [ebp + 0x40], eax
mov ax, word [ecx + 0xa]
mov ecx, dword [edx + 4]
mov dword [ebp + 0x34], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp + 0x3c], ecx
mov ecx, str.DHCP6_REQUEST_packet:_x_d__ciaddr_J__mac_:____J_:_d_____J_:_d____:____:__n
jmp 0x588675
cmp al, 5
jne 0x588603
cmp byte [ebp + 0x2b], 0
je 0x588520
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x14]
mov dword [ebp + 0x2c], 5
mov eax, dword [ecx + 6]
mov dword [ebp + 0x40], eax
mov ax, word [ecx + 0xa]
mov ecx, dword [edx + 4]
mov dword [ebp + 0x34], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp + 0x3c], ecx
mov ecx, str.DHCP6_RENEW_packet:_x_d__ciaddr_J__mac_:____J_:_d_____J_:_d____:____:__n
jmp 0x588675
cmp al, 8
jne 0x58863b
cmp byte [ebp + 0x2b], 0
je 0x588520
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x14]
mov dword [ebp + 0x2c], 8
mov eax, dword [ecx + 6]
mov dword [ebp + 0x40], eax
mov ax, word [ecx + 0xa]
mov ecx, dword [edx + 4]
mov dword [ebp + 0x34], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp + 0x3c], ecx
mov ecx, str.DHCP6_RELEASE_packet:_x_d__ciaddr_J__mac_:____J_:_d_____J_:_d____:____:__n
jmp 0x588675
cmp al, 4
jne 0x588520
cmp byte [ebp + 0x2b], 0
je 0x588520
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x14]
mov dword [ebp + 0x2c], 4
mov eax, dword [ecx + 6]
mov dword [ebp + 0x40], eax
mov ax, word [ecx + 0xa]
mov ecx, dword [edx + 4]
mov dword [ebp + 0x34], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp + 0x3c], ecx
mov ecx, str.DHCP6_CONFIRM_packet:_x_d__ciaddr_J__mac_:____J_:_d_____J_:_d____:____:__n
mov word [ebp + 0x44], ax
mov eax, dword [edx]
mov dword [ebp + 0x30], eax
mov eax, dword [edx + 8]
mov dword [ebp + 0x38], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp + 0x1c], eax
push dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
add eax, 6
push eax
mov eax, dword [ebp + 0x1c]
movzx eax, word [eax]
push eax
push dword [ebp - 0x24]
mov eax, dword [ebp + 0x18]
movzx eax, word [eax]
push eax
push edx
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp + 0x30]
push eax
push dword [ebp + 0x2c]
push ecx
push 0x6a6e70
call fcn.0042abc0
mov eax, dword [ebp + 0x40]
add esp, 0x2c
mov edx, dword [ebp + 4]
mov esi, dword [ebp + 0xc]
add edx, 0x6c
mov dword [ebp - 0x18], eax
mov ax, word [ebp + 0x44]
movzx ecx, ax
mov dword [ebp - 0x24], ecx
mov ecx, dword [edx]
cmp ecx, edx
je 0x588728
test ecx, ecx
je 0x588728
nop dword [eax + eax]
mov esi, dword [ebp - 0x18]
cmp dword [ecx + 0x105f6], esi
mov esi, dword [ebp + 0xc]
jne 0x588707
cmp word [ecx + 0x105fa], ax
je 0x588719
mov eax, dword [ecx]
mov ecx, eax
cmp eax, edx
je 0x588728
test ecx, ecx
je 0x588728
mov ax, word [ebp + 0x44]
jmp 0x5886f0
call fcn.00443f70
test ecx, ecx
je 0x588728
push ecx
call fcn.00567780
push 0x1063c
call fcn.00606edf
mov dword [ebp + 8], eax
lea ecx, [eax + 0x105fc]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [ebp + 0x14], ecx
mov dword [ecx], 0
lea ecx, [eax + 0x10600]
mov dword [ecx], 0
mov dword [ebp - 0x20], ecx
mov dword [eax + 0x10614], 0
mov dword [eax + 0x10618], 0
mov dword [eax + 0x1061c], 0
mov dword [eax + 0x10620], 0
mov dword [eax + 0x10624], 0
mov dword [eax + 0x10628], 0
mov dword [eax + 0x1062c], 0
mov dword [eax + 0x10630], 0
mov dword [eax + 0x10638], 0
mov byte [ebp - 4], 0xb
push 0x60e
mov dword [eax + 0x10610], 0xffffffff
call fcn.00606edf
mov ecx, dword [ebp + 8]
add esp, 8
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [ecx + 8], eax
mov dword [ecx + 0x10604], 0
test eax, eax
je 0x588915
mov eax, dword [ebp - 0x18]
mov dword [ecx + 0x105f6], eax
mov eax, dword [ebp - 0x24]
mov word [ecx + 0x105fa], ax
lea eax, [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push eax
call fcn.005a5c40
mov ecx, dword [ebp - 0x20]
lea eax, [ebp]
push eax
call fcn.005a5c40
mov edi, dword [ebp + 8]
mov ecx, 0x183
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x3c]
push 0x105ea
mov dword [edi + 0x10604], eax
mov edi, dword [edi + 8]
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 0x1c]
movsw word es:[edi], word [esi]
mov esi, dword [ebp + 8]
lea eax, [esi + 0xc]
push eax
call fcn.00609db0
mov eax, dword [ebp + 0x2c]
lea ecx, [esi + 0x10638]
mov dword [esi + 0x1060c], eax
add esp, 0xc
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x10614], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x10618], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x1061c], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x10620], eax
lea eax, [ebp - 0x38]
push eax
mov dword [esi + 0x10608], 0
mov dword [esi + 0x10610], 0
call fcn.005a5c40
mov edx, dword [ebp + 4]
mov eax, dword [edx + 0x70]
lea ecx, [edx + 0x6c]
mov dword [esi + 4], eax
mov dword [esi], ecx
mov dword [ecx + 4], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
push dword [edx + 0x75]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x5888dc
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
jne 0x5888dc
push ecx
call fcn.005a47b0
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x5888f2
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
jne 0x5888f2
push ecx
call fcn.005a47b0
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x588906
lock xadd dword [ecx], ebx
dec ebx
jne 0x588906
push ecx
call fcn.005a47b0
lea ecx, [ebp]
call fcn.004250c0
mov al, 1
jmp 0x588484
push ecx
call fcn.00567780
jmp 0x588520