joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5abb40
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x626a70
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 + 0x438]
mov dword [ebp - 0x10], esp
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x5abb85
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi + 0x438], ebx
mov eax, dword [esi + 0x478]
lea ecx, [ebp - 0x94]
push eax
push 0x6d8ee4
push ecx
call fcn.005deb38
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
add esp, 0xc
lea edx, [ebp - 0x94]
push edx
push reloc.WS2_32.dll_accept
call edi
cmp eax, ebx
je 0x5abbe6
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x194]
push 0x6dfda0
push ecx
call fcn.005deb38
add esp, 0x10
lea edx, [ebp - 0x194]
lea ecx, [esi + 0x4a4]
push edx
call fcn.0054f300
mov eax, dword [esi + 0x478]
lea ecx, [ebp - 0x94]
push eax
push 0x6c15d4
push ecx
call fcn.005deb38
add esp, 0xc
lea edx, [ebp - 0x94]
push edx
push reloc.WS2_32.dll_accept
call edi
cmp eax, ebx
je 0x5abc41
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x194]
push 0x6dfda0
push ecx
call fcn.005deb38
add esp, 0x10
lea edx, [ebp - 0x194]
lea ecx, [esi + 0x4a4]
push edx
call fcn.0054f300
cmp dword [ebp + 8], ebx
je 0x5abc4d
mov ecx, esi
call fcn.005ac350
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x5abdd0
Capabilities:
Reference http user-agent string

Disassembly:
mov edx, dword [esp + 4]
push esi
test edx, edx
mov esi, ecx
je 0x5abe04
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
je 0x5abe04
push edx
add esi, 0x194
push 0x6bc090
push esi
call fcn.005f368b
add esp, 0xc
pop esi
ret 4
add esi, 0x194
push 0x6dfddc
push esi
call fcn.005f368b
add esp, 8
pop esi
ret 4
Function at 0x5abe20
Capabilities:
Get geographical location

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x1c]
push 0
push 0x400
push esi
push edi
call fcn.005e0090
mov dword [esp + 0x10], eax
mov ecx, esi
cdq
mov ebp, eax
mov eax, edi
sub eax, ebp
push 0
sbb ecx, edx
push 0x400
push ecx
push eax
mov dword [esp + 0x30], edx
call fcn.005dffe0
mov ebx, eax
and ebx, 0x800003ff
jns 0x5abe70
dec ebx
or ebx, 0xfffffc00
inc ebx
mov eax, ebx
mov ecx, edi
shl eax, 0xa
cdq
sub ecx, eax
mov eax, esi
sbb eax, edx
sub ecx, ebp
mov ebp, dword [esp + 0x20]
push 0
sbb eax, ebp
push 0x100000
push eax
push ecx
call fcn.005dffe0
mov ebp, eax
and ebp, 0x800003ff
jns 0x5abea6
dec ebp
or ebp, 0xfffffc00
inc ebp
push 0
push 0x40000000
push esi
push edi
call fcn.005dffe0
lea ecx, [esp + 0x1c]
push 3
push ecx
mov esi, eax
push 0xe
push 0x400
mov dword [esp + 0x24], esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x5abefa
mov edi, 0x6bfed4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1c]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x5abf9a
cmp ebp, 0x3e7
jg 0x5abf9a
test ebp, ebp
jne 0x5abf72
cmp ebx, 0x3e7
jg 0x5abf72
test ebx, ebx
je 0x5abf4a
mov eax, dword [esp + 0x10]
mov ecx, dword [0x6ed364]
push ecx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
lea edx, [esp + 0x20]
sar eax, 0xa
push eax
push edx
push ebx
jmp 0x5abfc2
mov ecx, dword [0x6ed360]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
push ecx
push edx
push 0x6bfecc
push eax
call fcn.005deb38
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
lea eax, [ebx + ebx*4]
mov ecx, dword [0x6ed368]
push ecx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
lea edx, [esp + 0x20]
sar eax, 0xa
push eax
push edx
push ebp
jmp 0x5abfc2
lea ebp, [ebp + ebp*4]
mov ecx, dword [0x6ed36c]
push ecx
lea eax, [ebp + ebp*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
lea edx, [esp + 0x20]
sar eax, 0xa
push eax
push edx
push esi
mov eax, dword [esp + 0x34]
push 0x6c3740
push eax
call fcn.005deb38
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x5acca0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x6ec7a0]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push 0x6bf9b0
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 4]
neg eax
sbb eax, eax
not eax
and eax, ecx
add esp, 8
ret

Function at 0x5acce0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x6ec7a0]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push 0x6c01b4
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov eax, 1
jne 0x5acd18
mov eax, dword [esp + 4]
add esp, 8
ret
Function at 0x5b5860
Capabilities:
Get file size

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esp + 0xc]
push edi
mov ecx, dword [esi + 0x28]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
xor edi, edi
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edi
mov eax, dword [esi + 0x20]
cmp eax, 0xffffffff
jne 0x5b589f
mov eax, edi
cmp eax, edi
jne 0x5b589f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x5b589f
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x10]
push 1
push edi
push edi
push edx
call fcn.005e09d0
mov ecx, dword [esi + 0x20]
add ecx, eax
mov dword [esi + 0x20], ecx
mov ebp, dword [esi + 0x24]
adc ebp, edx
mov dword [esi + 0x24], ebp
mov ecx, dword [esi + 0x20]
mov eax, ebp
mov edx, ecx
or edx, eax
jne 0x5b58d3
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
pop ecx
ret
cmp eax, edi
jg 0x5b58e6
jl 0x5b58e1
cmp ecx, 0x2dc6c0
jae 0x5b58e6
mov ebp, dword [esi + 0x20]
jmp 0x5b58eb
mov ebp, 0x2dc6c0
push ebp
call fcn.005de9fe
mov ebx, eax
add esp, 4
cmp ebx, edi
jne 0x5b5905
pop edi
pop esi
pop ebp
mov eax, 0xfffffffd
pop ebx
pop ecx
ret
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
push ebp
push ebx
mov ecx, esi
call fcn.005b5950
mov edi, eax
test edi, edi
jge 0x5b591f
cmp edi, 0xfffffff5
jne 0x5b5938
cmp edi, 1
je 0x5b5938
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x20]
cmp eax, ecx
jne 0x5b590b
mov ecx, dword [esi + 0x34]
mov eax, dword [esi + 0x24]
cmp ecx, eax
jne 0x5b590b
push ebx
call fcn.005ddf8a
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x5b5ee0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
test ecx, ecx
jle 0x5b5f06
push ebx
mov bl, byte [eax + edx]
xor bl, 0xf
mov byte [eax + edx], bl
inc eax
cmp eax, ecx
jl 0x5b5ef7
pop ebx
ret

Function at 0x5b5f10
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call fcn.005de123
add esp, 4
test eax, eax
jle 0x5b5f2e
mov ecx, esi
xor word [ecx], 0xf
add ecx, 2
dec eax
jne 0x5b5f24
pop esi
ret
Function at 0x5b69f0
Capabilities:
Delete registry value
Set registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push ebx
push esi
mov esi, ecx
push eax
call fcn.005dfac7
lea ecx, [esp + 0xc]
push ecx
call fcn.005e10f3
add esp, 8
lea edx, [eax + 0x14]
add eax, 4
lea ebx, [esi + 0x44]
push edx
push eax
push 0x6e0408
push ebx
call fcn.005deb38
mov eax, dword [esi + 0xa8]
add esp, 0x10
test eax, eax
je 0x5b6a44
push eax
call fcn.005f6c85
add esp, 4
mov dword [esi + 0xa8], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5b6a98
mov ecx, dword [esi + 0x418]
test ecx, ecx
jne 0x5b6a62
push eax
mov ecx, esi
call fcn.005bd090
test al, al
je 0x5b6a98
push edi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push ebx
push 1
push eax
mov eax, dword [esi + 0x418]
push 0x6dfc10
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esi + 0x418]
push 0x6dfc50
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x5b6aa0
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push ebx
push esi
mov esi, ecx
push eax
call fcn.005dfac7
lea ecx, [esp + 0xc]
push ecx
call fcn.005e10f3
add esp, 8
lea edx, [eax + 0x14]
add eax, 4
lea ebx, [esi + 0x74]
push edx
push eax
push 0x6e0408
push ebx
call fcn.005deb38
mov eax, dword [esp + 0x28]
add esp, 0x10
test eax, eax
je 0x5b6b19
mov ecx, dword [esi + 0x418]
test ecx, ecx
jne 0x5b6af5
push eax
mov ecx, esi
call fcn.005bd090
test al, al
je 0x5b6b19
push edi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push ebx
push 1
push eax
mov eax, dword [esi + 0x418]
push 0x6dfc04
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x5b6b30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x627690
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x83c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
test ebx, ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
je 0x5b6be4
mov eax, dword [esi + 0xa8]
cmp ebx, eax
je 0x5b6be4
test eax, eax
je 0x5b6b7e
push eax
call fcn.005f6c85
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005f6c5c
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 0xa8], edx
jne 0x5b6bc2
push 0x6dfc24
mov ecx, esi
call fcn.005b69d0
mov eax, 0x753b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x5b6d1a
push eax
lea edx, [ebp - 0x48]
push 0x6c15d4
push edx
call fcn.005deb38
mov eax, dword [ebp + 0x14]
add esp, 0xc
test eax, eax
je 0x5b6c53
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x48]
push eax
push 0xf003f
push 0
push ecx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
jmp 0x5b6c7a
lea edx, [ebp - 0x18]
lea eax, [ebp + 0xc]
push edx
push eax
push 0
push 0xf003f
push 0
push 0x6ec0c8
lea ecx, [ebp - 0x48]
push 0
push ecx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x5b6d1a
test ebx, ebx
je 0x5b6cf1
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x7ff
jbe 0x5b6ccc
push 0x7ff
lea edx, [ebp - 0x848]
push ebx
push edx
call fcn.005de680
mov ecx, dword [ebp + 0xc]
add esp, 0xc
lea eax, [ebp - 0x848]
mov byte [ebp - 0x49], 0
push 0x801
push eax
push 1
push 0
push 0x6dfc50
push ecx
jmp 0x5b6ceb
mov edx, dword [esi + 0xa8]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [ebp + 0xc]
push 1
push eax
push 0x6dfc50
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0x10]
push 4
push ecx
push 4
push 0
push 0x6dfc1c
push edx
mov dword [ebp + 0x10], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5b9210
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
push edi
mov esi, ecx
je 0x5b92c1
mov ecx, dword [esi + 0x418]
test ecx, ecx
jne 0x5b923a
push eax
mov ecx, esi
call fcn.005bd090
test al, al
je 0x5b92c1
mov al, byte [esi + 0x308]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test al, al
je 0x5b926b
mov ecx, dword [esi + 0x418]
lea eax, [esp + 0xc]
push 4
push eax
push 4
push 0
push 0x6e074c
push ecx
mov dword [esp + 0x24], 1
call edi
mov al, byte [esi + 0x309]
test al, al
je 0x5b9296
mov eax, dword [esi + 0x418]
lea edx, [esp + 0xc]
push 4
push edx
push 4
push 0
push 0x6e0744
push eax
mov dword [esp + 0x24], 1
call edi
mov al, byte [esi + 0x16a]
test al, al
je 0x5b92c1
mov edx, dword [esi + 0x418]
lea ecx, [esp + 0xc]
push 4
push ecx
push 4
push 0
push 0x6e073c
push edx
mov dword [esp + 0x24], 1
call edi
pop edi
pop esi
ret 4

Function at 0x5b9350
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 0x418]
test eax, eax
je 0x5b93ce
mov eax, dword [esi + 0x34]
lea ecx, [esp + 4]
push eax
mov dword [esp + 8], 0
mov dword [esp + 0x10], 0
mov word [esp + 0xc], 0
call fcn.004023e0
mov eax, dword [esp + 4]
test eax, eax
jne 0x5b9390
lea eax, [esp + 8]
push eax
call fcn.005b5f10
mov eax, dword [esp + 8]
add esp, 4
test eax, eax
jne 0x5b93a5
lea eax, [esp + 8]
mov ecx, dword [esp + 0xc]
lea edx, [ecx + ecx + 2]
push edx
push eax
mov eax, dword [esi + 0x418]
push 0
push 0
push 0x6e075c
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 4]
call fcn.00401070
pop esi
add esp, 0xc
ret
Function at 0x5ba600
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x627880
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x20]
xor edi, edi
cmp eax, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], edi
je 0x5ba63b
push eax
call fcn.005f6c85
add esp, 4
mov esi, dword [ebp + 8]
cmp esi, edi
jne 0x5ba65a
mov dword [ebx + 0x20], edi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x5ba67e
mov dword [ebx + 0x20], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005f6c5c
mov edx, eax
add esp, 4
test edx, edx
mov dword [ebx + 0x20], edx
jne 0x5ba6bf
push 0x6e0890
mov ecx, ebx
call fcn.005b69d0
mov eax, 0x753b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0xc]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
jne 0x5ba6f8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebx + 0x418]
test ecx, ecx
jne 0x5ba726
push eax
mov ecx, ebx
call fcn.005bd090
test al, al
jne 0x5ba726
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebx + 0x20]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [ebx + 0x418]
push edx
push 1
push eax
push 0x6dfc64
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5bac30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6278b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0x418]
mov dword [ebp - 4], 0
test eax, eax
jne 0x5bac8f
mov eax, dword [ebp + 8]
push eax
call fcn.005bd090
test al, al
jne 0x5bac8f
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x418]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp + 8]
lea edx, [ebp - 0x21c]
push ecx
push edx
push 0
push 0
mov ebx, 0x208
push 0x6dfb34
push eax
mov dword [ebp + 8], ebx
call edi
test eax, eax
je 0x5bacd6
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x21c]
push ecx
call fcn.005df804
add esp, 4
test eax, eax
je 0x5bad01
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x5bad11
push eax
call fcn.005f6c85
add esp, 4
lea edx, [ebp - 0x21c]
push edx
call fcn.005de123
lea eax, [eax + eax + 2]
push eax
call fcn.005f6c5c
add esp, 8
mov dword [esi + 0x2c], eax
test eax, eax
jne 0x5bad55
push 0x6e0608
mov ecx, esi
call fcn.005b69d0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x21c]
push ecx
push eax
call fcn.005de2e9
mov ecx, dword [esi + 0x418]
add esp, 8
lea edx, [ebp + 8]
lea eax, [ebp - 0x21c]
push edx
push eax
push 0
push 0
push 0x6d905c
push ecx
mov dword [ebp + 8], ebx
call edi
test eax, eax
je 0x5bada1
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea edx, [ebp - 0x21c]
mov ecx, esi
push edx
call fcn.005bb480
test eax, eax
je 0x5badcb
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi + 0x418]
lea eax, [ebp + 8]
lea ecx, [ebp - 0x21c]
push eax
push ecx
push 0
push 0
push 0x6dfb1c
push edx
mov dword [ebp + 8], ebx
call edi
test eax, eax
je 0x5bae07
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x410]
lea eax, [ebp - 0x21c]
add ecx, 4
push eax
push ecx
call fcn.005de2e9
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x5bae70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6278c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
mov eax, dword [0x6e7b6c]
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
lea eax, [ebp - 0x14]
push 0x6c5a40
push eax
mov byte [ebp - 4], 1
call fcn.005f368b
add esp, 0x10
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
lea edx, [ebp + 0xc]
push ecx
push edx
push ebx
push 0xf003f
push ebx
push 0x6ec0c8
push ebx
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x5bb01c
mov eax, dword [ebp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp + 8]
lea edx, [ebp - 0x224]
push ecx
push edx
push ebx
push ebx
push 0x6dfb34
push eax
mov dword [ebp + 8], 0x208
call edi
test eax, eax
je 0x5baf21
mov ecx, dword [ebp + 0xc]
push ecx
jmp 0x5bb016
lea edx, [ebp - 0x224]
push edx
call fcn.005df804
add esp, 4
test eax, eax
jne 0x5bb012
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x5baf48
push eax
call fcn.005f6c85
add esp, 4
lea ecx, [ebp - 0x224]
push ecx
call fcn.005de123
lea edx, [eax + eax + 2]
push edx
call fcn.005f6c5c
add esp, 8
cmp eax, ebx
mov dword [esi + 0x2c], eax
jne 0x5baf7d
push 0x6e0608
mov ecx, esi
call fcn.005b69d0
mov edx, dword [ebp + 0xc]
push edx
jmp 0x5bb016
lea ecx, [ebp - 0x224]
push ecx
push eax
call fcn.005de2e9
mov edx, dword [ebp + 0xc]
add esp, 8
lea eax, [ebp + 8]
lea ecx, [ebp - 0x224]
push eax
push ecx
push ebx
push ebx
push 0x6d905c
push edx
mov dword [ebp + 8], 0x208
call edi
test eax, eax
jne 0x5bb012
lea ecx, [ebp - 0x224]
push ecx
mov ecx, esi
call fcn.005bb480
cmp eax, ebx
je 0x5bafef
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.005fa859
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
lea eax, [ebp + 8]
lea ecx, [ebp - 0x224]
push eax
push ecx
push ebx
push ebx
push 0x6dfb1c
push edx
mov dword [ebp + 8], 0x208
call edi
test eax, eax
je 0x5bb03f
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.005fa859
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [esi + 0x410]
lea ecx, [ebp - 0x224]
add edx, 4
push ecx
push edx
call fcn.005de2e9
mov eax, dword [ebp + 0xc]
add esp, 8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.005fa859
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5bb6c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x6edb00]
sub esp, 0x20c
test eax, eax
jne 0x5bb77e
mov eax, dword [0x6edafc]
test eax, eax
jne 0x5bb756
mov edx, dword [0x6ec7a0]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push 0x6e0a1c
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5bb74d
lea eax, [esp + 4]
push 0x5c
push eax
call fcn.005df0e0
add esp, 8
test eax, eax
je 0x5bb74d
lea ecx, [esp + 4]
lea edx, [esp + 0x108]
push ecx
push 0x6e0a0c
push edx
mov byte [eax], 0
call fcn.005deb38
add esp, 0xc
lea eax, [esp + 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x6edafc], eax
jmp 0x5bb752
mov eax, dword [0x6edafc]
test eax, eax
je 0x5bb77e
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x6e0a00
push eax
call esi
mov ecx, dword [0x6edafc]
push 0x6e09e8
push ecx
mov dword [0x6edb00], eax
call esi
mov dword [0x6edb04], eax
pop esi
add esp, 0x20c
ret
Function at 0x5bd1c0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov dword [esi + 0x2d8], eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x5bd219
mov ecx, dword [esi + 0x418]
test ecx, ecx
jne 0x5bd1eb
push eax
mov ecx, esi
call fcn.005bd090
test al, al
je 0x5bd219
mov edx, dword [esi + 0x2d8]
mov eax, dword [esi + 0x418]
xor ecx, ecx
push 4
test edx, edx
lea edx, [esp + 0xc]
push edx
push 4
push 0
push 0x6dfbe4
setne cl
push eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop esi
ret 8