joyce8/EMBER2024-capa huggingface dataset:
Function at 0x57e550
Capabilities:
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push 0xffffffffffffffff
push 0x609028
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x6c826c]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esi + 0xb0]
mov ebx, dword [esp + 0x28]
mov eax, dword [esi + 0x3450]
push ebx
mov edx, dword [ecx]
mov ecx, dword [esi + 0x3444]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
lea eax, [esp + 0x20]
push str.POST___s__s__ld_HTTP_1.1_r_nContent_Type:_application_x_fcs_r_nUser_Agent:_Shockwave_Flash_r_nHost:__s_r_nContent_Length:__ld_r_nConnection:_Keep_Alive_r_nCache_Control:_no_cache_r_n_r_n
push eax
mov dword [esp + 0x34], 0
call fcn.005d809b
mov edi, dword [esi + 0x3450]
mov eax, dword [esp + 0x28]
add esp, 0x1c
inc edi
mov dword [esi + 0x3450], edi
mov ecx, dword [eax - 8]
push str.RTMPT_send
push 0
push ecx
mov ecx, dword [esi + 0x31d0]
push eax
push ecx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00532c00
mov edi, eax
test edi, edi
je 0x57e60d
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.005df266
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
mov edx, dword [esp + 0x24]
mov eax, dword [esi + 0x31d0]
push str.RTMPT_send
push 0
push ebx
push edx
push eax
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00532c00
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x18], 0xffffffff
call fcn.005df266
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x57fa20
Capabilities:
Enumerate pe sections
Receive data
Receive data on socket

Disassembly:
push ecx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0xb0]
mov dword [edi + 0x3214], 0
cmp dword [eax + 0x24], 5
jne 0x57fa4b
lea ecx, [esp + 0xb]
push 1
push ecx
mov ecx, edi
call fcn.0057dfd0
jmp 0x57fa60
mov eax, dword [edi + 0x31d0]
push 0
lea edx, [esp + 0xf]
push 1
push edx
push eax
call sub.WS2_32.dll_recv
push str.recv_pheader_type
push eax
mov ecx, edi
call fcn.00532c00
mov ecx, eax
test ecx, ecx
je 0x57fa84
sub eax, 0x2733
pop edi
neg eax
sbb eax, eax
pop esi
and eax, ecx
pop ecx
ret 4
mov ecx, edi
call fcn.005346f0
mov cl, byte [esp + 0xb]
mov esi, dword [esp + 0x10]
mov al, cl
sar al, 6
and al, 3
and cl, 0x3f
mov byte [esi + 4], al
mov byte [esi + 6], cl
jne 0x57faae
pop edi
or eax, 0xffffffff
pop esi
pop ecx
ret 4
cmp cl, 1
jne 0x57fabc
pop edi
or eax, 0xffffffff
pop esi
pop ecx
ret 4
and eax, 0xff
mov eax, dword [eax*4 + 0x639f9c]
cmp eax, 0xc
mov dword [edi + 0x49b0], eax
jne 0x57fad7
mov byte [esi + 0x10], 1
cmp dword [edi + 0x49b0], 0xc
jge 0x57fb3c
mov ecx, esi
call fcn.005845e0
xor eax, eax
mov al, byte [esi + 6]
lea ecx, [eax + eax*4]
mov dl, byte [edi + ecx*8 + 0x3490]
lea eax, [edi + ecx*8 + 0x348c]
mov byte [esi + 4], dl
mov cl, byte [eax + 5]
mov byte [esi + 5], cl
mov dl, byte [eax + 6]
mov byte [esi + 6], dl
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
mov cl, byte [eax + 0x10]
mov byte [esi + 0x10], cl
mov edx, dword [eax + 0x14]
mov dword [esi + 0x14], edx
mov ecx, dword [eax + 0x18]
mov dword [esi + 0x18], ecx
mov edx, dword [eax + 0x1c]
mov dword [esi + 0x1c], edx
mov ecx, dword [eax + 0x20]
mov dword [esi + 0x20], ecx
mov dl, byte [eax + 0x24]
mov byte [esi + 0x24], dl
mov ecx, dword [edi + 0x49b0]
xor eax, eax
dec ecx
mov dword [edi + 0x49b0], ecx
lea ecx, [edi + 0x49b4]
mov dword [edi + 0x49b4], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [edi + 0x3208], eax
mov eax, dword [edi + 0x49b0]
mov dword [edi + 0x8c], 0x16
test eax, eax
jle 0x57fb8a
mov ecx, edi
call fcn.0057d730
test eax, eax
je 0x57fb8a
pop edi
xor eax, eax
pop esi
pop ecx
ret 4
push esi
mov ecx, edi
call fcn.0057fba0
pop edi
pop esi
pop ecx
ret 4
Function at 0x57fba0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x49b0]
test eax, eax
jle 0x57fc38
mov ecx, dword [esi + 0xb0]
mov edx, dword [ecx + 0x24]
mov ecx, dword [esi + 0x3208]
cmp edx, 5
jne 0x57fbdb
sub eax, ecx
lea edx, [ecx + esi + 0x49b4]
push eax
push edx
mov ecx, esi
call fcn.0057dfd0
jmp 0x57fbf4
sub eax, ecx
push 0
push eax
lea eax, [ecx + esi + 0x49b4]
mov ecx, dword [esi + 0x31d0]
push eax
push ecx
call sub.WS2_32.dll_recv
mov edi, eax
push str.recv_pheader
push edi
mov ecx, esi
call fcn.00532c00
mov ecx, eax
test ecx, ecx
je 0x57fc1a
sub eax, 0x2733
pop edi
neg eax
sbb eax, eax
pop esi
and eax, ecx
pop ebx
ret 4
mov edx, dword [esi + 0x3208]
mov ecx, dword [esi + 0x49b0]
add edx, edi
mov eax, edx
mov dword [esi + 0x3208], edx
cmp eax, ecx
jne 0x57fda7
mov ecx, esi
call fcn.005346f0
mov eax, dword [esi + 0x49b0]
mov edi, dword [esp + 0x10]
xor bl, bl
cmp eax, 3
jl 0x57fd18
lea edx, [esi + 0x49b4]
push edx
call fcn.0057eae0
mov dword [edi + 8], eax
mov eax, dword [esi + 0x49b0]
add esp, 4
cmp eax, 6
jl 0x57fca3
lea eax, [esi + 0x49b7]
push eax
call fcn.0057eae0
add esp, 4
mov ecx, edi
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], 0
call fcn.005845e0
cmp dword [esi + 0x49b0], 6
jle 0x57fca3
mov cl, byte [esi + 0x49ba]
mov byte [edi + 5], cl
cmp dword [esi + 0x49b0], 0xb
jne 0x57fcbe
lea edx, [esi + 0x49bb]
push edx
call fcn.00558ce0
add esp, 4
mov dword [edi + 0xc], eax
cmp dword [edi + 8], 0xffffff
jne 0x57fd18
mov eax, dword [esi + 0xb0]
cmp dword [eax + 0x24], 5
jne 0x57fce3
lea ecx, [esp + 0x10]
push 4
push ecx
mov ecx, esi
call fcn.0057dfd0
jmp 0x57fcf8
mov eax, dword [esi + 0x31d0]
push 0
lea edx, [esp + 0x14]
push 4
push edx
push eax
call sub.WS2_32.dll_recv
cmp eax, 4
je 0x57fd06
pop edi
pop esi
or eax, 0xffffffff
pop ebx
ret 4
lea ecx, [esp + 0x10]
push ecx
call fcn.0057eb10
add esp, 4
mov dword [edi + 0x14], eax
mov bl, 1
xor eax, eax
xor cl, cl
mov al, byte [edi + 5]
add eax, 0xfffffff8
cmp eax, 0xe
ja case.0x57fd2f.9
xor edx, edx
mov dl, byte [eax + 0x57fdb8]
jmp dword [edx*4 + 0x57fdb0]
mov cl, 1
test bl, bl
jne 0x57fd42
mov eax, dword [edi + 8]
mov dword [edi + 0x14], eax
mov al, byte [edi + 0x10]
test al, al
jne 0x57fd5d
xor edx, edx
mov dl, byte [edi + 6]
mov eax, dword [esi + edx*4 + 0x488c]
mov edx, dword [edi + 0x14]
add edx, eax
mov dword [edi + 0x14], edx
test cl, cl
je 0x57fd84
mov ecx, esi
mov dword [esi + 0x8c], 0x18
call fcn.0057d730
test eax, eax
jne 0x57fda7
push edi
mov ecx, esi
call fcn.0057fdd0
pop edi
pop esi
pop ebx
ret 4
mov ecx, esi
mov dword [esi + 0x8c], 0x17
call fcn.0057d730
test eax, eax
jne 0x57fda7
push edi
mov ecx, esi
call fcn.005821c0
pop edi
pop esi
pop ebx
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
ret 4
Function at 0x5821c0
Capabilities:
Enumerate pe sections
Receive data
Receive data on socket

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
xor ebx, ebx
push edi
mov eax, dword [esi + 0x18]
mov edi, ecx
cmp eax, ebx
jbe 0x5821fc
cmp dword [esi + 0x20], ebx
jne 0x5821fc
push eax
mov ecx, esi
call fcn.00584520
test al, al
jne 0x5821fc
push str.Err_in_RTMPConn_17_n
mov ecx, edi
call fcn.00532b50
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
ret 4
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov ebp, dword [edi + 0x3460]
sub eax, edx
cmp ebp, ebx
jne 0x582214
mov ebp, dword [edi + 0x345c]
cmp eax, ebp
jge 0x58221a
mov ebp, eax
test ebp, ebp
mov dword [edi + 0x3460], ebx
je 0x582282
mov eax, dword [edi + 0xb0]
cmp dword [eax + 0x24], 5
jne 0x582243
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
add ecx, edx
push ebp
push ecx
mov ecx, edi
call fcn.0057dfd0
jmp 0x58225b
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
push 0
add edx, eax
mov eax, dword [edi + 0x31d0]
push ebp
push edx
push eax
call sub.WS2_32.dll_recv
mov ebx, eax
push str.recv_pheader
push ebx
mov ecx, edi
call fcn.00532c00
mov ecx, eax
test ecx, ecx
je 0x582282
sub eax, 0x2733
pop edi
neg eax
sbb eax, eax
pop esi
pop ebp
and eax, ecx
pop ebx
ret 4
mov ecx, dword [esi + 0x1c]
add ecx, ebx
cmp ebx, ebp
mov dword [esi + 0x1c], ecx
je 0x58229f
sub ebp, ebx
xor eax, eax
mov dword [edi + 0x3460], ebp
pop edi
pop esi
pop ebp
pop ebx
ret 4
xor eax, eax
mov dl, byte [esi + 4]
mov al, byte [esi + 6]
lea ecx, [eax + eax*4]
lea eax, [edi + ecx*8 + 0x348c]
mov byte [eax + 4], dl
mov cl, byte [esi + 5]
mov byte [eax + 5], cl
mov dl, byte [esi + 6]
mov byte [eax + 6], dl
mov ecx, dword [esi + 8]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0xc]
mov dword [eax + 0xc], edx
mov cl, byte [esi + 0x10]
mov byte [eax + 0x10], cl
mov edx, dword [esi + 0x14]
mov dword [eax + 0x14], edx
mov ecx, dword [esi + 0x18]
mov dword [eax + 0x18], ecx
mov edx, dword [esi + 0x1c]
mov dword [eax + 0x1c], edx
mov ecx, dword [esi + 0x20]
mov dword [eax + 0x20], ecx
mov dl, byte [esi + 0x24]
mov byte [eax + 0x24], dl
mov ecx, edi
mov dword [edi + 0x8c], 0x15
mov dword [edi + 0x3460], 0
call fcn.005346f0
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
cmp eax, ecx
jne 0x582388
mov cl, byte [esi + 0x10]
mov eax, dword [esi + 8]
test cl, cl
mov dword [esi + 0x14], eax
jne 0x582333
xor ecx, ecx
mov cl, byte [esi + 6]
mov edx, dword [edi + ecx*4 + 0x488c]
add edx, eax
mov dword [esi + 0x14], edx
mov ecx, dword [esi + 0x14]
xor eax, eax
mov al, byte [esi + 6]
push esi
mov dword [edi + eax*4 + 0x488c], ecx
xor eax, eax
mov al, byte [esi + 6]
lea edx, [eax + eax*4]
xor eax, eax
mov dword [edi + edx*8 + 0x34ac], 0
mov al, byte [esi + 6]
add eax, 0x151
lea eax, [eax + eax*4]
mov dword [edi + eax*8], 0
xor eax, eax
mov al, byte [esi + 6]
lea ecx, [eax + eax*4]
mov byte [edi + ecx*8 + 0x349c], 0
mov ecx, edi
call fcn.00582650
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov ecx, esi
mov dword [esi + 0x20], 0
call fcn.005845c0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
Function at 0x583660
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x609400
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.005286e0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push 0
push eax
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0
call fcn.00528b30
test eax, eax
jge 0x5836b7
push str.Error_decoding_metadata_n
mov ecx, esi
call fcn.00532b50
jmp 0x583831
push 0
lea ecx, [esp + 0x10]
call fcn.00528ca0
mov ecx, eax
call fcn.00528030
push eax
lea ecx, [esp + 0xc]
call fcn.005df2d4
mov edx, dword [esp + 8]
push str.onMetaData
push edx
mov byte [esp + 0x30], 1
call fcn.005c43ec
add esp, 8
test eax, eax
jne 0x583823
lea eax, [esp + 0x30]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.duration
call fcn.005df2d4
lea ecx, [esp + 0x14]
push ecx
call fcn.00583570
add esp, 0xc
test al, al
je 0x583823
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x5837a6
mov edi, dword [esi + 0xb0]
fld qword [edi + 0x348]
fcomp qword [0x6177c8]
fnstsw ax
test ah, 0x41
jne 0x5837a6
mov ecx, dword [esp + 0x30]
call fcn.00528020
fcomp qword [edi + 0x348]
fnstsw ax
test ah, 0x40
jne 0x583814
mov edx, dword [0x6c826c]
mov dword [esp + 0x34], edx
mov eax, dword [esi + 0xb0]
mov byte [esp + 0x28], 2
mov ecx, dword [eax + 0x34c]
push ecx
mov edx, dword [eax + 0x348]
lea eax, [esp + 0x38]
push edx
push str.Duration_dont_match__New_duration___f_n
push eax
call fcn.005d809b
mov ecx, dword [esp + 0x44]
add esp, 0x10
push ecx
mov ecx, esi
call fcn.00532b50
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x34]
jmp 0x58380f
mov ecx, dword [esp + 0x30]
call fcn.00528020
mov edx, dword [esi + 0xb0]
fstp qword [edx + 0x348]
mov ecx, dword [esi + 0x31d4]
call fcn.00586e50
mov eax, dword [0x6c826c]
mov dword [esp + 0x34], eax
mov ecx, dword [esi + 0xb0]
mov byte [esp + 0x28], 3
mov edx, dword [ecx + 0x34c]
push edx
mov eax, dword [ecx + 0x348]
lea ecx, [esp + 0x38]
push eax
push str.Duration___f_n
push ecx
call fcn.005d809b
mov edx, dword [esp + 0x44]
add esp, 0x10
mov ecx, esi
push edx
call fcn.00532b50
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x34]
call fcn.005df266
mov eax, dword [0x6cdf98]
push 1
push eax
mov ecx, esi
call fcn.00532a80
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.005df266
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.00528750
mov ecx, dword [esp + 0x20]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x24
ret 8
Function at 0x585cc0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
push esi
mov esi, ecx
push eax
lea ecx, [esp + 8]
push str._dkf
push ecx
call fcn.005c3648
mov edx, dword [esp + 0x20]
mov ecx, dword [esi + 0x124]
add esp, 0xc
lea eax, [esp + 4]
push 0x10
push edx
push 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop esi
add esp, 8
ret 8

Function at 0x585d10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push esi
mov esi, ecx
push eax
lea ecx, [esp + 8]
push str._dkf
push ecx
call fcn.005c3648
mov eax, dword [esp + 0x20]
add esp, 0xc
lea edx, [esp + 0x10]
lea ecx, [esp + 4]
push edx
mov edx, dword [esi + 0x124]
push eax
push 0
push 0
push ecx
push edx
mov dword [esp + 0x28], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
pop esi
inc eax
add esp, 8
ret 8

Function at 0x585d70
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x60955f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0x48]
call fcn.00529250
mov ecx, dword [0x6c826c]
xor eax, eax
mov dword [esp + 0x220], eax
mov dword [esi + 0x150], ecx
mov ecx, 1
mov dword [esi], 0x63a5e0
mov dword [esi + 0x1ac], 0x20
mov dword [esi + 0x1b0], ecx
mov dword [esi + 0x1a8], eax
mov dword [esi + 0x190], eax
mov edx, dword [0x6cc978]
mov byte [esp + 0x220], cl
mov dword [esi + 0x188], edx
mov edx, dword [0x6cc97c]
mov dword [esi + 0x1c0], eax
mov dword [esi + 0x1c8], eax
mov dword [esi + 0x1a0], eax
mov dword [esi + 0x220], eax
mov dword [esi + 0x1f8], eax
mov dword [esi + 0x230], eax
mov dword [esi + 0x208], eax
mov dword [esi + 0x194], eax
mov dword [esi + 0x198], eax
mov dword [esi + 0x1c4], eax
mov dword [esi + 0x1d0], eax
mov dword [esi + 0x1cc], eax
mov dword [esi + 0x1a4], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x23c], eax
mov dword [esi + 0x244], eax
mov dword [esi + 0x154], eax
mov dword [esi + 0x21c], eax
mov dword [esi + 0x224], eax
mov dword [esi + 0x1fc], eax
mov dword [esi + 0x228], eax
mov dword [esi + 0x234], eax
mov dword [esi + 0x238], eax
mov dword [esi + 0x1d8], eax
mov dword [esi + 0x20c], eax
mov dword [esi + 8], eax
mov dword [esi + 0x158], eax
mov dword [esi + 0x15c], eax
mov dword [esi + 0x160], eax
mov dword [esi + 0x164], eax
mov dword [esi + 0x170], eax
mov dword [esi + 0x174], eax
mov dword [esi + 0x178], eax
mov dword [esi + 0x19c], eax
mov dword [esi + 0x180], eax
lea eax, [esp + 0x88]
mov dword [esi + 0x18c], edx
push eax
push 0x202
mov dword [esi + 0x168], ecx
mov dword [esi + 0x17c], 0xffffffff
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x585f0c
push 2
push 2
lea ecx, [esp + 0x10]
push str.Cannot_find_Winsock_v_d._d_or_later__n
push ecx
call fcn.005c3648
add esp, 0x10
lea edx, [esp + 8]
mov ecx, esi
push edx
call fcn.005860e0
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x220
ret
Function at 0x5861b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x244]
test eax, eax
je 0x586247
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
push 0
push 0
push str.bUseSpeedLimiter
push eax
mov dword [esp + 0x20], 4
call edi
test eax, eax
jne 0x586247
mov eax, dword [esp + 0xc]
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
push edx
mov dword [esi + 0x1a8], eax
mov eax, dword [esi + 0x244]
push 0
push 0
push str.psnSpeedLimit
push eax
mov dword [esi + 0x194], 1
mov dword [esp + 0x20], 8
call edi
test eax, eax
jne 0x586247
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esi + 0x188], ecx
mov dword [esi + 0x18c], edx
mov dword [esi + 0x190], 1
pop edi
pop esi
add esp, 0x10
ret

Function at 0x586da0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x244]
test eax, eax
je 0x586e47
mov ecx, dword [esi + 0x1c8]
mov edx, dword [esi + 0x1cc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0xc]
push 8
push ecx
push 0
push 0
push str.Downloaded
push eax
mov dword [esp + 0x28], edx
call edi
mov eax, dword [esi + 0x1d0]
cmp eax, 0x64
mov dword [esp + 8], eax
jle 0x586e0a
mov eax, dword [esi + 0x244]
lea edx, [esp + 8]
push 4
push edx
push 4
push 0
push str.Speed
push eax
call edi
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x24]
cmp ecx, 4
je 0x586e24
cmp ecx, 5
je 0x586e24
mov ecx, dword [eax + 0x2e8]
test ecx, ecx
je 0x586e47
fld qword [esi + 0x1a0]
mov edx, dword [esi + 0x244]
lea ecx, [esp + 0x14]
push 8
push ecx
push 0
push 0
push str.dwnlDuration
push edx
fstp qword [esp + 0x2c]
call edi
pop edi
pop esi
add esp, 0x14
ret

Function at 0x586e50
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0xc]
fld qword [ecx + 0x348]
fcomp qword [0x6177c8]
fnstsw ax
test ah, 0x41
jne 0x586f39
mov eax, dword [ecx + 0x2e8]
test eax, eax
jne 0x586e92
mov edi, dword [esi + 0x1b8]
mov ecx, esi
call fcn.005863c0
mov dword [esi + 0x1b0], eax
mov dword [esi + 0x1b8], edi
mov eax, dword [esi + 0x10]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [eax]
test eax, eax
je 0x586eb0
push 0
push 0x146d
push 0x111
push eax
call edi
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
test eax, eax
je 0x586ecd
mov edx, dword [esi + 0x240]
push edx
push 0x146d
push 0x111
push eax
call edi
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x586ee5
push 0
push 0x146d
push 0x111
push eax
call edi
mov eax, dword [esi + 0x244]
test eax, eax
je 0x586f39
mov ecx, dword [esi + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add ecx, 0x348
push 8
push ecx
push 0
push 0
push str.Duration
push eax
call edi
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x2e8]
test ecx, ecx
je 0x586f39
lea eax, [esp + 8]
push 4
push eax
mov edx, ecx
mov ecx, dword [esi + 0x244]
push 4
push 0
push str.nAggrV
push ecx
mov dword [esp + 0x20], edx
call edi
pop edi
pop esi
pop ecx
ret
Function at 0x586f40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x244]
test eax, eax
je 0x58700f
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
push 0
push 0
push str.Duration
push eax
mov dword [esp + 0x20], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x58700f
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [eax + 0x348], ecx
mov dword [eax + 0x34c], edx
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x2e8]
test ecx, ecx
jne 0x586fbc
mov edi, dword [esi + 0x1b8]
mov ecx, esi
call fcn.005863c0
mov dword [esi + 0x1b0], eax
mov dword [esi + 0x1b8], edi
mov ecx, dword [esi + 0x10]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ecx]
test eax, eax
je 0x586fda
push 0
push 0x146d
push 0x111
push eax
call edi
mov edx, dword [esi + 0x14]
mov eax, dword [edx]
test eax, eax
je 0x586ff7
mov ecx, dword [esi + 0x240]
push ecx
push 0x146d
push 0x111
push eax
call edi
mov edx, dword [esi + 0x18]
mov eax, dword [edx]
test eax, eax
je 0x58700f
push 0
push 0x146d
push 0x111
push eax
call edi
pop edi
pop esi
add esp, 0xc
ret
Function at 0x587580
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609620
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x18]
xor ebx, ebx
push eax
push ecx
mov dword [esi + 0x1d4], ebx
mov edx, dword [0x6cce68]
push ebx
push ebx
push str.NewConnType
push edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x5875e5
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x1d4], eax
jmp 0x587635
mov eax, dword [0x6cce68]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x18]
push ecx
push edx
push ebx
push ebx
push str.ConnectionSpeed
push eax
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x587635
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x587635
cmp eax, 0x1f400
ja 0x587621
mov dword [esi + 0x1d4], 1
jmp 0x587635
mov ecx, 0x7d000
cmp ecx, eax
sbb edx, edx
neg edx
add edx, 2
mov dword [esi + 0x1d4], edx
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
mov edx, dword [eax + 0x24]
push ecx
push edx
mov ecx, 0x6ccd10
call fcn.004d9f20
push eax
mov ecx, esi
call fcn.00586250
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x590400
Capabilities:
Access peb ldr_data
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x60a068
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov ecx, dword [esp + 0x20]
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x30]
lea eax, [esp + 0xc]
push edi
push eax
push esi
push 0
push 0
push ecx
push ebx
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x590471
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x590471
push esi
call fcn.0059b020
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea edx, [esp + 0x10]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x2c]
push edx
push esi
push 0
push 0
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x590525
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x590525
mov eax, dword [0x6c826c]
mov dword [esp + 0x28], eax
push esi
lea ecx, [esp + 0x2c]
push 0x69dfbc
push ecx
mov dword [esp + 0x28], 0
call fcn.005d809b
mov edx, dword [esp + 0x34]
push edx
call fcn.0059b020
mov edx, dword [esp + 0x38]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x40]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x5904fc
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 0xffffffff
call fcn.005df266
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret