joyce8/EMBER2024-capa huggingface dataset:
Function at 0x541d80
Capabilities:
Enumerate pe sections
Receive data
Receive data on socket

Disassembly:
push ecx
push esi
push edi
mov edi, ecx
push 0
lea eax, [esp + 0xf]
push 1
mov ecx, dword [edi + 0x30c0]
push eax
push ecx
mov dword [edi + 0x3104], 0
call sub.WSOCK32.dll_recv
push 0x66c930
push eax
mov ecx, edi
call fcn.00508e20
mov ecx, eax
test ecx, ecx
je 0x541dc8
sub eax, 0x2733
pop edi
neg eax
sbb eax, eax
pop esi
and eax, ecx
pop ecx
ret 4
mov ecx, edi
call fcn.00509a70
mov cl, byte [esp + 0xb]
mov esi, dword [esp + 0x10]
mov al, cl
and cl, 0x3f
sar al, 6
and al, 3
mov byte [esi + 6], cl
mov byte [esi + 4], al
and eax, 0xff
mov eax, dword [eax*4 + 0x5eee4c]
cmp eax, 0xc
mov dword [edi + 0x4664], eax
jne 0x541e02
mov byte [esi + 0x10], 1
cmp dword [edi + 0x4664], 0xc
jge 0x541e67
mov ecx, esi
call fcn.00546530
xor eax, eax
mov al, byte [esi + 6]
lea edx, [eax + eax*4]
mov cl, byte [edi + edx*8 + 0x3144]
lea eax, [edi + edx*8 + 0x3140]
mov byte [esi + 4], cl
mov dl, byte [eax + 5]
mov byte [esi + 5], dl
mov cl, byte [eax + 6]
mov byte [esi + 6], cl
mov edx, dword [eax + 8]
mov dword [esi + 8], edx
mov ecx, dword [eax + 0xc]
mov dword [esi + 0xc], ecx
mov dl, byte [eax + 0x10]
mov byte [esi + 0x10], dl
mov ecx, dword [eax + 0x14]
mov dword [esi + 0x14], ecx
mov edx, dword [eax + 0x18]
mov dword [esi + 0x18], edx
mov ecx, dword [eax + 0x1c]
mov dword [esi + 0x1c], ecx
mov edx, dword [eax + 0x20]
mov dword [esi + 0x20], edx
mov al, byte [eax + 0x24]
mov byte [esi + 0x24], al
mov ecx, dword [edi + 0x4664]
lea edx, [edi + 0x4668]
dec ecx
mov dword [edi + 0x4664], ecx
xor ecx, ecx
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov eax, dword [edi + 0x4664]
test eax, eax
mov dword [edi + 0x5c], 0x16
mov dword [edi + 0x30f8], ecx
jle 0x541eb6
mov eax, dword [edi + 0x30c0]
push ecx
push eax
mov ecx, edi
call fcn.005092d0
test eax, eax
je 0x541eb6
pop edi
xor eax, eax
pop esi
pop ecx
ret 4
push esi
mov ecx, edi
call fcn.00541ed0
pop edi
pop esi
pop ecx
ret 4
Function at 0x541ed0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x4664]
test eax, eax
jle 0x541f40
mov ecx, dword [esi + 0x30f8]
push 0
sub eax, ecx
push eax
lea eax, [ecx + esi + 0x4668]
mov ecx, dword [esi + 0x30c0]
push eax
push ecx
call sub.WSOCK32.dll_recv
mov edi, eax
push 0x66c944
push edi
mov ecx, esi
call fcn.00508e20
mov ecx, eax
test ecx, ecx
je 0x541f22
sub eax, 0x2733
pop edi
neg eax
sbb eax, eax
pop esi
and eax, ecx
ret 4
mov edx, dword [esi + 0x30f8]
mov ecx, dword [esi + 0x4664]
add edx, edi
mov eax, edx
mov dword [esi + 0x30f8], edx
cmp eax, ecx
jne 0x542050
mov ecx, esi
call fcn.00509a70
mov eax, dword [esi + 0x4664]
mov edi, dword [esp + 0xc]
cmp eax, 3
jl 0x541f68
lea edx, [esi + 0x4668]
push edx
call fcn.00540fa0
add esp, 4
mov dword [edi + 8], eax
cmp dword [esi + 0x4664], 6
jl 0x541fa3
lea eax, [esi + 0x466b]
push eax
call fcn.00540fa0
add esp, 4
mov ecx, edi
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], 0
call fcn.00546530
cmp dword [esi + 0x4664], 6
jle 0x541fa3
mov cl, byte [esi + 0x466e]
mov byte [edi + 5], cl
cmp dword [esi + 0x4664], 0xb
jne 0x541fbe
lea edx, [esi + 0x466f]
push edx
call fcn.00501eb0
add esp, 4
mov dword [edi + 0xc], eax
xor eax, eax
xor cl, cl
mov al, byte [edi + 5]
add eax, 0xfffffff8
cmp eax, 0xe
ja case.0x541fd5.9
xor edx, edx
mov dl, byte [eax + 0x542060]
jmp dword [edx*4 + 0x542058]
mov cl, 1
mov dl, byte [edi + 0x10]
mov eax, dword [edi + 8]
test dl, dl
mov dword [edi + 0x14], eax
jne 0x541ffc
xor edx, edx
mov dl, byte [edi + 6]
mov edx, dword [esi + edx*4 + 0x4540]
add edx, eax
mov dword [edi + 0x14], edx
test cl, cl
je 0x542028
mov eax, dword [esi + 0x30c0]
push 0
push eax
mov ecx, esi
mov dword [esi + 0x5c], 0x18
call fcn.005092d0
test eax, eax
jne 0x542050
push edi
mov ecx, esi
call fcn.00542070
pop edi
pop esi
ret 4
mov ecx, dword [esi + 0x30c0]
push 0
push ecx
mov ecx, esi
mov dword [esi + 0x5c], 0x17
call fcn.005092d0
test eax, eax
jne 0x542050
push edi
mov ecx, esi
call fcn.005442a0
pop edi
pop esi
ret 4
pop edi
xor eax, eax
pop esi
ret 4
Function at 0x5442a0
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 0x5442dc
cmp dword [esi + 0x20], ebx
jne 0x5442dc
push eax
mov ecx, esi
call fcn.00546470
test al, al
jne 0x5442dc
push 0x66cbc4
mov ecx, edi
call fcn.00508d80
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 + 0x3114]
sub eax, edx
cmp ebp, ebx
jne 0x5442f4
mov ebp, dword [edi + 0x3110]
cmp eax, ebp
jge 0x5442fa
mov ebp, eax
test ebp, ebp
mov dword [edi + 0x3114], ebx
je 0x544343
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
mov ecx, dword [edi + 0x30c0]
push 0
add eax, edx
push ebp
push eax
push ecx
call sub.WSOCK32.dll_recv
mov ebx, eax
push 0x66c944
push ebx
mov ecx, edi
call fcn.00508e20
mov ecx, eax
test ecx, ecx
je 0x544343
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 0x544360
sub ebp, ebx
xor eax, eax
mov dword [edi + 0x3114], ebp
pop edi
pop esi
pop ebp
pop ebx
ret 4
xor eax, eax
mov cl, byte [esi + 4]
mov al, byte [esi + 6]
lea edx, [eax + eax*4]
lea eax, [edi + edx*8 + 0x3140]
mov byte [eax + 4], cl
mov dl, byte [esi + 5]
mov byte [eax + 5], dl
mov cl, byte [esi + 6]
mov byte [eax + 6], cl
mov edx, dword [esi + 8]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0xc]
mov dword [eax + 0xc], ecx
mov dl, byte [esi + 0x10]
mov byte [eax + 0x10], dl
mov ecx, dword [esi + 0x14]
mov dword [eax + 0x14], ecx
mov edx, dword [esi + 0x18]
mov dword [eax + 0x18], edx
mov ecx, dword [esi + 0x1c]
mov dword [eax + 0x1c], ecx
mov edx, dword [esi + 0x20]
mov dword [eax + 0x20], edx
mov cl, byte [esi + 0x24]
mov byte [eax + 0x24], cl
mov ecx, edi
mov dword [edi + 0x5c], 0x15
mov dword [edi + 0x3114], 0
call fcn.00509a70
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
cmp edx, eax
jne 0x544446
mov cl, byte [esi + 0x10]
mov eax, dword [esi + 8]
test cl, cl
mov dword [esi + 0x14], eax
jne 0x5443f1
xor ecx, ecx
mov cl, byte [esi + 6]
mov edx, dword [edi + ecx*4 + 0x4540]
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 + 0x4540], ecx
xor eax, eax
mov al, byte [esi + 6]
add eax, 0x13c
lea edx, [eax + eax*4]
xor eax, eax
mov dword [edi + edx*8], 0
mov al, byte [esi + 6]
lea eax, [eax + eax*4]
mov dword [edi + eax*8 + 0x315c], 0
xor eax, eax
mov al, byte [esi + 6]
lea ecx, [eax + eax*4]
mov byte [edi + ecx*8 + 0x3150], 0
mov ecx, edi
call fcn.005446e0
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov ecx, esi
mov dword [esi + 0x20], 0
call fcn.00546510
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
Function at 0x544d00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c19a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x14]
call fcn.005463f0
mov eax, dword [edi + 0x465c]
push 0x100
mov dword [esp + 0x48], 0
mov byte [esp + 0x1e], 3
lea ecx, [eax + eax*4]
mov byte [esp + 0x1c], 1
mov byte [esp + 0x1d], 0x14
lea edx, [eax + ecx*2]
lea ecx, [esp + 0x18]
shl edx, 1
mov dword [esp + 0x20], edx
call fcn.00546470
mov esi, dword [esp + 0x34]
push 0x66cd4c
lea ecx, [esp + 0xc]
call fcn.0059adab
lea eax, [esp + 8]
push eax
push esi
call fcn.00541250
add esp, 8
lea ecx, [esp + 8]
add esi, eax
call fcn.0059ad3d
call fcn.0053fd10
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
fild qword [esp + 0xc]
sub esp, 8
fstp qword [esp]
push esi
call fcn.005412a0
add esi, eax
mov byte [esi], 5
mov eax, dword [edi + 0x465c]
mov dword [esp + 0x18], eax
inc esi
fild dword [esp + 0x18]
inc eax
mov dword [edi + 0x465c], eax
fstp qword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
push esi
call fcn.005412a0
mov edx, dword [esp + 0x4c]
add esp, 0x18
add esi, eax
lea eax, [esp + 0x14]
sub esi, edx
push eax
mov ecx, edi
mov dword [esp + 0x30], esi
call fcn.00541350
lea ecx, [esp + 0x14]
mov esi, eax
mov dword [esp + 0x44], 0xffffffff
call fcn.00546430
mov ecx, dword [esp + 0x3c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x40
ret
Function at 0x545520
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c1a60
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.00501520
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.00501970
test eax, eax
jge 0x545577
push 0x66cf5c
mov ecx, esi
call fcn.00508d80
jmp 0x5456f0
push 0
lea ecx, [esp + 0x10]
call fcn.00501ad0
mov ecx, eax
call fcn.00500e70
push eax
lea ecx, [esp + 0xc]
call fcn.0059adab
mov edx, dword [esp + 8]
push 0x66cf50
push edx
mov byte [esp + 0x30], 1
call fcn.0057ffb4
add esp, 8
test eax, eax
jne 0x5456e2
lea eax, [esp + 0x30]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x66cf44
call fcn.0059adab
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00545430
test al, al
je 0x5456e2
mov eax, dword [esi + 0x98]
test eax, eax
je 0x545665
mov edi, dword [esi + 0x80]
fld qword [edi + 0x2e0]
fcomp qword [0x5cf380]
fnstsw ax
test ah, 0x41
jne 0x545665
mov ecx, dword [esp + 0x30]
call fcn.00500e60
fcomp qword [edi + 0x2e0]
fnstsw ax
test ah, 0x40
jne 0x5456d3
mov edx, dword [0x6754d4]
mov dword [esp + 0x34], edx
mov eax, dword [esi + 0x80]
mov byte [esp + 0x28], 2
mov ecx, dword [eax + 0x2e4]
push ecx
mov edx, dword [eax + 0x2e0]
lea eax, [esp + 0x38]
push edx
push 0x66cf1c
push eax
call fcn.00593b08
mov ecx, dword [esp + 0x44]
add esp, 0x10
push ecx
mov ecx, esi
call fcn.00508d80
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x34]
jmp 0x5456ce
mov ecx, dword [esp + 0x30]
call fcn.00500e60
mov edx, dword [esi + 0x80]
fstp qword [edx + 0x2e0]
mov ecx, dword [esi + 0x30c4]
call fcn.00548ac0
mov eax, dword [0x6754d4]
mov dword [esp + 0x34], eax
mov ecx, dword [esi + 0x80]
mov byte [esp + 0x28], 3
mov edx, dword [ecx + 0x2e4]
push edx
mov eax, dword [ecx + 0x2e0]
lea ecx, [esp + 0x38]
push eax
push 0x66cf0c
push ecx
call fcn.00593b08
mov edx, dword [esp + 0x44]
add esp, 0x10
mov ecx, esi
push edx
call fcn.00508d80
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x34]
call fcn.0059ad3d
mov eax, dword [0x67b03c]
push 1
push eax
mov ecx, esi
call fcn.00508cb0
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.0059ad3d
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.00501590
mov ecx, dword [esp + 0x20]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x24
ret 8
Function at 0x547aa0
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 0x655478
push ecx
call fcn.0057f2ea
mov edx, dword [esp + 0x20]
mov ecx, dword [esi + 0xbc]
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 0x547af0
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 0x655478
push ecx
call fcn.0057f2ea
mov eax, dword [esp + 0x20]
add esp, 0xc
lea edx, [esp + 0x10]
lea ecx, [esp + 4]
push edx
mov edx, dword [esi + 0xbc]
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 0x547b50
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x5c1bbf
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.00501ed0
mov ecx, dword [0x6754d4]
xor eax, eax
mov dword [esp + 0x220], eax
mov dword [esi + 0xe8], ecx
lea edx, [esp + 0x88]
mov dword [esi + 0x140], eax
push edx
mov dword [esi + 0x148], eax
mov dword [esi + 0x120], eax
mov dword [esi + 0x1a0], eax
mov dword [esi + 0x178], eax
mov dword [esi + 0x1b0], eax
mov dword [esi + 0x188], eax
push 0x101
mov byte [esp + 0x228], 1
mov dword [esi], 0x5ef490
mov dword [esi + 0x12c], 0x10
mov dword [esi + 0x130], 1
mov dword [esi + 0x128], eax
mov dword [esi + 0x144], eax
mov dword [esi + 0x150], eax
mov dword [esi + 0x14c], eax
mov dword [esi + 0x124], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x1bc], eax
mov dword [esi + 0x1c4], eax
mov dword [esi + 0xec], eax
mov dword [esi + 0x19c], eax
mov dword [esi + 0x1a4], eax
mov dword [esi + 0x17c], eax
mov dword [esi + 0x1a8], eax
mov dword [esi + 0x1b4], eax
mov dword [esi + 0x1b8], eax
mov dword [esi + 0x158], eax
mov dword [esi + 0x18c], eax
mov dword [esi + 8], eax
mov dword [esi + 0xf0], eax
mov dword [esi + 0xf4], eax
mov dword [esi + 0xf8], eax
mov dword [esi + 0xfc], eax
mov dword [esi + 0x100], 1
mov dword [esi + 0x108], eax
mov dword [esi + 0x10c], eax
mov dword [esi + 0x110], eax
mov dword [esi + 0x114], 0xffffffff
mov dword [esi + 0x118], eax
call sub.WSOCK32.dll_WSAStartup
test eax, eax
je 0x547cc0
push 1
push 1
lea eax, [esp + 0x10]
push 0x66d124
push eax
call fcn.0057f2ea
add esp, 0x10
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.00547e50
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x220
ret
Function at 0x547ef0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c4]
test eax, eax
je 0x547f3a
mov cl, byte [0x679bbb]
test cl, cl
je 0x547f3a
lea ecx, [esp + 4]
lea edx, [esp + 8]
push ecx
push edx
push 0
push 0
push 0x66d15c
push eax
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x547f3a
mov eax, dword [esp + 8]
mov dword [esi + 0x128], eax
pop esi
add esp, 8
ret

Function at 0x548a20
Capabilities:
Set registry value

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x1c4]
test eax, eax
je 0x548ab6
mov ecx, dword [esi + 0x148]
mov edx, dword [esi + 0x14c]
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 0x660478
push eax
mov dword [esp + 0x28], edx
call edi
mov eax, dword [esi + 0x150]
cmp eax, 0x64
mov dword [esp + 8], eax
jle 0x548a8a
mov eax, dword [esi + 0x1c4]
lea edx, [esp + 8]
push 4
push edx
push 4
push 0
push 0x66d248
push eax
call edi
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x24], 4
jne 0x548ab6
fld qword [esi + 0x120]
mov eax, dword [esi + 0x1c4]
lea edx, [esp + 0x14]
push 8
push edx
push 0
push 0
push 0x66d238
push eax
fstp qword [esp + 0x2c]
call edi
pop edi
pop esi
add esp, 0x14
ret

Function at 0x548ac0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
fld qword [eax + 0x2e0]
fcomp qword [0x5cf380]
fnstsw ax
test ah, 0x41
jne 0x548b6f
push edi
mov edi, dword [esi + 0x138]
call fcn.00548080
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x130], eax
mov dword [esi + 0x138], edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ecx]
test eax, eax
je 0x548b13
push 0
push 0x146d
push 0x111
push eax
call edi
mov edx, dword [esi + 0x14]
mov eax, dword [edx]
test eax, eax
je 0x548b30
mov ecx, dword [esi + 0x1c0]
push ecx
push 0x146d
push 0x111
push eax
call edi
mov edx, dword [esi + 0x18]
mov eax, dword [edx]
test eax, eax
je 0x548b48
push 0
push 0x146d
push 0x111
push eax
call edi
mov eax, dword [esi + 0x1c4]
pop edi
test eax, eax
je 0x548b6f
mov ecx, dword [esi + 0xc]
push 8
add ecx, 0x2e0
push ecx
push 0
push 0
push 0x655498
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop esi
ret
Function at 0x548b80
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x1c4]
test eax, eax
je 0x548c42
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
push 0
push 0
push 0x655498
push eax
mov dword [esp + 0x20], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x548c42
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [eax + 0x2e0], ecx
mov ecx, esi
mov dword [eax + 0x2e4], edx
mov edi, dword [esi + 0x138]
call fcn.00548080
mov dword [esi + 0x130], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x138], edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [eax]
test eax, eax
je 0x548c0d
push 0
push 0x146d
push 0x111
push eax
call edi
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
test eax, eax
je 0x548c2a
mov edx, dword [esi + 0x1c0]
push edx
push 0x146d
push 0x111
push eax
call edi
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x548c42
push 0
push 0x146d
push 0x111
push eax
call edi
pop edi
pop esi
add esp, 0xc
ret
Function at 0x548ff0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c1c80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x14]
xor edi, edi
push eax
push ecx
mov dword [esi + 0x154], edi
mov edx, dword [0x67a050]
push edi
push edi
push 0x6532d8
push edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x54904b
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x154], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
mov edx, dword [eax + 0x24]
push ecx
push edx
mov ecx, 0x679ee8
call fcn.004ba1f0
push eax
mov ecx, esi
call fcn.00547f40
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5502b0
Capabilities:
Access peb ldr_data
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5c2508
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 0x550321
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x550321
push esi
call fcn.00557d60
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 0x5503d5
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x5503d5
mov eax, dword [0x6754d4]
mov dword [esp + 0x28], eax
push esi
lea ecx, [esp + 0x2c]
push 0x64efb0
push ecx
mov dword [esp + 0x28], 0
call fcn.00593b08
mov edx, dword [esp + 0x34]
push edx
call fcn.00557d60
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 0x5503ac
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0059ad3d
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
Function at 0x5503f0
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov eax, dword fs:[0]
mov edx, dword [esp + 0x10]
push 0xffffffffffffffff
push 0x5c2528
push eax
mov eax, dword [esp + 0x20]
mov dword fs:[0], esp
push esi
test eax, eax
push edi
je 0x550450
test edx, edx
je 0x550425
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x550450
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push eax
push esi
call edi
mov ecx, dword [esp + 0x1c]
push ecx
push esi
call edi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret
mov eax, dword [0x6754d4]
mov dword [esp + 0x28], eax
push edx
lea ecx, [esp + 0x2c]
push 0x64efb0
push ecx
mov dword [esp + 0x1c], 0
call fcn.00593b08
mov edx, dword [esp + 0x34]
push edx
call fcn.00557d60
mov edx, dword [esp + 0x38]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0x10
mov esi, dword [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x30]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x5504b1
mov ecx, dword [esp + 0x1c]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], 0xffffffff
call fcn.0059ad3d
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret

Function at 0x5504e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 8]
push ecx
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x550529
push edi
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
je 0x550529
push esi
call fcn.00557d60
add esp, 4
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x550530
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5c2548
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x6754d4]
push edi
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x20]
lea edx, [esp + 4]
push ecx
push 0x64efb0
push edx
mov dword [esp + 0x1c], 0
call fcn.00593b08
mov eax, dword [esp + 0x10]
push eax
call fcn.00557d60
mov edx, dword [esp + 0x14]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push eax
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call fcn.0059ad3d
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x5518b0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c25c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x188
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0x3c0]
mov dword [ebp - 0x10], esp
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x5518f5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi + 0x3c0], ebx
mov eax, dword [esi + 0x400]
lea ecx, [ebp - 0x94]
push eax
push 0x6680a8
push ecx
call fcn.0057f2ea
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
add esp, 0xc
lea edx, [ebp - 0x94]
push edx
push reloc.WSOCK32.dll_accept
call edi
cmp eax, ebx
je 0x551956
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x194]
push 0x66d960
push ecx
call fcn.0057f2ea
add esp, 0x10
lea edx, [ebp - 0x194]
lea ecx, [esi + 0x42c]
push edx
call fcn.0050bf00
mov eax, dword [esi + 0x400]
lea ecx, [ebp - 0x94]
push eax
push 0x65531c
push ecx
call fcn.0057f2ea
add esp, 0xc
lea edx, [ebp - 0x94]
push edx
push reloc.WSOCK32.dll_accept
call edi
cmp eax, ebx
je 0x5519b1
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x194]
push 0x66d960
push ecx
call fcn.0057f2ea
add esp, 0x10
lea edx, [ebp - 0x194]
lea ecx, [esi + 0x42c]
push edx
call fcn.0050bf00
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret