joyce8/EMBER2024-capa huggingface dataset:
Function at 0x551b80
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.005807d0
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.00580720
mov ebx, eax
and ebx, 0x800003ff
jns 0x551bd0
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.00580720
mov ebp, eax
and ebp, 0x800003ff
jns 0x551c06
dec ebp
or ebp, 0xfffffc00
inc ebp
push 0
push 0x40000000
push esi
push edi
call fcn.00580720
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 0x551c5a
mov edi, 0x652300
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 0x551cfa
cmp ebp, 0x3e7
jg 0x551cfa
test ebp, ebp
jne 0x551cd2
cmp ebx, 0x3e7
jg 0x551cd2
test ebx, ebx
je 0x551caa
mov eax, dword [esp + 0x10]
mov ecx, dword [0x67a9f0]
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 0x551d22
mov ecx, dword [0x67a9ec]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
push ecx
push edx
push 0x6522f8
push eax
call fcn.0057f2ea
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
lea eax, [ebx + ebx*4]
mov ecx, dword [0x67a9f4]
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 0x551d22
lea ebp, [ebp + ebp*4]
mov ecx, dword [0x67a9f8]
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 0x655634
push eax
call fcn.0057f2ea
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x552630
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x67a050]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push 0x66566c
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 0x552670
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x67a050]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push 0x652570
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov eax, 1
jne 0x5526a8
mov eax, dword [esp + 4]
add esp, 8
ret
Function at 0x5586a0
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.005801dc
lea ecx, [esp + 0xc]
push ecx
call fcn.005815ab
add esp, 8
lea edx, [eax + 0x14]
add eax, 4
lea ebx, [esi + 0x44]
push edx
push eax
push 0x66dec8
push ebx
call fcn.0057f2ea
mov eax, dword [esi + 0xa8]
add esp, 0x10
test eax, eax
je 0x5586f4
push eax
call fcn.00597102
add esp, 4
mov dword [esi + 0xa8], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x558748
mov ecx, dword [esi + 0x3a0]
test ecx, ecx
jne 0x558712
push eax
mov ecx, esi
call fcn.0055dc10
test al, al
je 0x558748
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 + 0x3a0]
push 0x66d7e0
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esi + 0x3a0]
push 0x66d820
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x558750
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push ebx
push esi
mov esi, ecx
push eax
call fcn.005801dc
lea ecx, [esp + 0xc]
push ecx
call fcn.005815ab
add esp, 8
lea edx, [eax + 0x14]
add eax, 4
lea ebx, [esi + 0x74]
push edx
push eax
push 0x66dec8
push ebx
call fcn.0057f2ea
mov eax, dword [esp + 0x28]
add esp, 0x10
test eax, eax
je 0x5587c9
mov ecx, dword [esi + 0x3a0]
test ecx, ecx
jne 0x5587a5
push eax
mov ecx, esi
call fcn.0055dc10
test al, al
je 0x5587c9
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 + 0x3a0]
push 0x66d7d4
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x5587e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c2e10
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 0x558894
mov eax, dword [esi + 0xa8]
cmp ebx, eax
je 0x558894
test eax, eax
je 0x55882e
push eax
call fcn.00597102
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005970d9
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 0xa8], edx
jne 0x558872
push 0x66d7f4
mov ecx, esi
call fcn.00558680
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 0x5589ca
push eax
lea edx, [ebp - 0x48]
push 0x65531c
push edx
call fcn.0057f2ea
mov eax, dword [ebp + 0x14]
add esp, 0xc
test eax, eax
je 0x558903
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x48]
push eax
push 0xf003f
push 0
push ecx
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
jmp 0x55892a
lea edx, [ebp - 0x18]
lea eax, [ebp + 0xc]
push edx
push eax
push 0
push 0xf003f
push 0
push 0x679a28
lea ecx, [ebp - 0x48]
push 0
push ecx
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x5589ca
test ebx, ebx
je 0x5589a1
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x7ff
jbe 0x55897c
push 0x7ff
lea edx, [ebp - 0x848]
push ebx
push edx
call fcn.0057ee60
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 0x66d820
push ecx
jmp 0x55899b
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 0x66d820
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 0x66d7ec
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 0x55a6b0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
push edi
mov esi, ecx
je 0x55a72e
mov ecx, dword [esi + 0x3a0]
test ecx, ecx
jne 0x55a6d2
push eax
mov ecx, esi
call fcn.0055dc10
test al, al
je 0x55a72e
mov al, byte [esi + 0x2b0]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test al, al
je 0x55a703
mov ecx, dword [esi + 0x3a0]
lea eax, [esp + 0xc]
push 4
push eax
push 4
push 0
push 0x66e184
push ecx
mov dword [esp + 0x24], 1
call edi
mov al, byte [esi + 0x159]
test al, al
je 0x55a72e
mov eax, dword [esi + 0x3a0]
lea edx, [esp + 0xc]
push 4
push edx
push 4
push 0
push 0x66e17c
push eax
mov dword [esp + 0x24], 1
call edi
pop edi
pop esi
ret 4

Function at 0x55a770
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 0x3a0]
test eax, eax
je 0x55a7ee
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.00401fc0
mov eax, dword [esp + 4]
test eax, eax
jne 0x55a7b0
lea eax, [esp + 8]
push eax
call fcn.00557d90
mov eax, dword [esp + 8]
add esp, 4
test eax, eax
jne 0x55a7c5
lea eax, [esp + 8]
mov ecx, dword [esp + 0xc]
lea edx, [ecx + ecx + 2]
push edx
push eax
mov eax, dword [esi + 0x3a0]
push 0
push 0
push 0x66e18c
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 4]
call fcn.00401070
pop esi
add esp, 0xc
ret
Function at 0x55b7e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c2fc0
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 0x55b81b
push eax
call fcn.00597102
add esp, 4
mov esi, dword [ebp + 8]
cmp esi, edi
jne 0x55b83a
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 0x55b85e
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.005970d9
mov edx, eax
add esp, 4
test edx, edx
mov dword [ebx + 0x20], edx
jne 0x55b89f
push 0x66e2a4
mov ecx, ebx
call fcn.00558680
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 0x55b8d8
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 + 0x3a0]
test ecx, ecx
jne 0x55b906
push eax
mov ecx, ebx
call fcn.0055dc10
test al, al
jne 0x55b906
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 + 0x3a0]
push edx
push 1
push eax
push 0x66d834
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 0x55be20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c2ff0
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 + 0x3a0]
mov dword [ebp - 4], 0
test eax, eax
jne 0x55be7f
mov eax, dword [ebp + 8]
push eax
call fcn.0055dc10
test al, al
jne 0x55be7f
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 + 0x3a0]
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 0x66d704
push eax
mov dword [ebp + 8], ebx
call edi
test eax, eax
je 0x55bec6
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.005815f2
add esp, 4
test eax, eax
je 0x55bef1
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 0x55bf01
push eax
call fcn.00597102
add esp, 4
lea edx, [ebp - 0x21c]
push edx
call fcn.0057e90a
lea eax, [eax + eax + 2]
push eax
call fcn.005970d9
add esp, 8
mov dword [esi + 0x2c], eax
test eax, eax
jne 0x55bf45
push 0x66e048
mov ecx, esi
call fcn.00558680
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.0057eaaa
mov ecx, dword [esi + 0x3a0]
add esp, 8
lea edx, [ebp + 8]
lea eax, [ebp - 0x21c]
push edx
push eax
push 0
push 0
push 0x66821c
push ecx
mov dword [ebp + 8], ebx
call edi
test eax, eax
je 0x55bf91
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.0055c480
test eax, eax
je 0x55bfbb
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 + 0x3a0]
lea eax, [ebp + 8]
lea ecx, [ebp - 0x21c]
push eax
push ecx
push 0
push 0
push 0x66d6ec
push edx
mov dword [ebp + 8], ebx
call edi
test eax, eax
je 0x55bff7
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 + 0x398]
lea eax, [ebp - 0x21c]
add ecx, 4
push eax
push ecx
call fcn.0057eaaa
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 0x55c060
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c3008
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
mov eax, dword [0x6754d4]
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 0x65796c
push eax
mov byte [ebp - 4], 1
call fcn.00593b08
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 0x679a28
push ebx
push eax
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x55c20c
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 0x66d704
push eax
mov dword [ebp + 8], 0x208
call edi
test eax, eax
je 0x55c111
mov ecx, dword [ebp + 0xc]
push ecx
jmp 0x55c206
lea edx, [ebp - 0x224]
push edx
call fcn.005815f2
add esp, 4
test eax, eax
jne 0x55c202
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x55c138
push eax
call fcn.00597102
add esp, 4
lea ecx, [ebp - 0x224]
push ecx
call fcn.0057e90a
lea edx, [eax + eax + 2]
push edx
call fcn.005970d9
add esp, 8
cmp eax, ebx
mov dword [esi + 0x2c], eax
jne 0x55c16d
push 0x66e048
mov ecx, esi
call fcn.00558680
mov edx, dword [ebp + 0xc]
push edx
jmp 0x55c206
lea ecx, [ebp - 0x224]
push ecx
push eax
call fcn.0057eaaa
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 0x66821c
push edx
mov dword [ebp + 8], 0x208
call edi
test eax, eax
jne 0x55c202
lea ecx, [ebp - 0x224]
push ecx
mov ecx, esi
call fcn.0055c480
cmp eax, ebx
je 0x55c1df
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.0059ad3d
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 0x66d6ec
push edx
mov dword [ebp + 8], 0x208
call edi
test eax, eax
je 0x55c22f
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.0059ad3d
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 + 0x398]
lea ecx, [ebp - 0x224]
add edx, 4
push ecx
push edx
call fcn.0057eaaa
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.0059ad3d
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 0x55c6b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x67b1d0]
sub esp, 0x20c
test eax, eax
jne 0x55c76e
mov eax, dword [0x67b1cc]
test eax, eax
jne 0x55c746
mov edx, dword [0x67a050]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push 0x66e430
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x55c73d
lea eax, [esp + 4]
push 0x5c
push eax
call fcn.0057f890
add esp, 8
test eax, eax
je 0x55c73d
lea ecx, [esp + 4]
lea edx, [esp + 0x108]
push ecx
push 0x66e420
push edx
mov byte [eax], 0
call fcn.0057f2ea
add esp, 0xc
lea eax, [esp + 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x67b1cc], eax
jmp 0x55c742
mov eax, dword [0x67b1cc]
test eax, eax
je 0x55c76e
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x66e414
push eax
call esi
mov ecx, dword [0x67b1cc]
push 0x66e3fc
push ecx
mov dword [0x67b1d0], eax
call esi
mov dword [0x67b1d4], eax
pop esi
add esp, 0x20c
ret
Function at 0x55dd40
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov dword [esi + 0x2a0], eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x55dd99
mov ecx, dword [esi + 0x3a0]
test ecx, ecx
jne 0x55dd6b
push eax
mov ecx, esi
call fcn.0055dc10
test al, al
je 0x55dd99
mov edx, dword [esi + 0x2a0]
mov eax, dword [esi + 0x3a0]
xor ecx, ecx
push 4
test edx, edx
lea edx, [esp + 0xc]
push edx
push 4
push 0
push 0x66d7b4
setne cl
push eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop esi
ret 8
Function at 0x55e070
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x198
push ebx
push esi
lea eax, [esp + 8]
push edi
mov ebx, ecx
push eax
mov dword [esp + 0x10], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x55e20d
mov eax, dword [esp + 0x1c]
cmp eax, 2
jne 0x55e0ad
lea edx, [esp + 0xa0]
mov edi, 0x66e5c4
jmp 0x55e0c2
cmp eax, 1
jne 0x55e20d
lea edx, [esp + 0xa0]
mov edi, 0x66e594
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 [ebx + 0x178]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
jne 0x55e0fd
lea ecx, [esp + 0xa0]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebx + 0x178], eax
mov eax, dword [ebx + 0x178]
test eax, eax
je 0x55e20d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x66e684
push eax
call esi
mov edx, dword [ebx + 0x178]
push 0x66e668
push edx
mov dword [ebx + 0x17c], eax
call esi
mov dword [ebx + 0x184], eax
mov eax, dword [ebx + 0x178]
push 0x66e64c
push eax
call esi
mov ecx, dword [ebx + 0x178]
push 0x66e638
push ecx
mov dword [ebx + 0x180], eax
call esi
mov edx, dword [ebx + 0x178]
push 0x66e61c
push edx
mov dword [ebx + 0x188], eax
call esi
mov dword [ebx + 0x18c], eax
mov eax, dword [ebx + 0x178]
push 0x66e608
push eax
call esi
mov ecx, dword [ebx + 0x178]
push 0x66e5ec
push ecx
mov dword [ebx + 0x190], eax
call esi
mov edx, dword [ebx + 0x178]
push 0x66e5d4
push edx
mov dword [ebx + 0x194], eax
call esi
mov dword [ebx + 0x198], eax
mov eax, dword [ebx + 0x17c]
test eax, eax
je 0x55e1f6
mov eax, dword [ebx + 0x184]
test eax, eax
je 0x55e1f6
mov eax, dword [ebx + 0x180]
test eax, eax
je 0x55e1f6
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x55e1f6
mov eax, dword [ebx + 0x18c]
test eax, eax
je 0x55e1f6
mov eax, dword [ebx + 0x194]
test eax, eax
je 0x55e1f6
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x198
ret
mov eax, dword [ebx + 0x178]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebx + 0x178], 0
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x198
ret
Function at 0x55ed80
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
mov eax, 0xaaaaaaab
push esi
lea ecx, [ebp + 3]
mov esi, dword [esp + 0x14]
mul ecx
shr edx, 1
lea edx, [edx + ebp + 4]
push edx
push esi
call fcn.00524ca0
add esp, 8
test eax, eax
jne 0x55edad
pop esi
pop ebp
ret 0xc
push esi
call fcn.00501eb0
mov ecx, eax
add esp, 4
xor eax, eax
test ebp, ebp
jbe 0x55ee38
lea edx, [ebp + 2]
mov eax, 0xaaaaaaab
mul edx
mov esi, dword [esp + 0xc]
push ebx
push edi
mov edi, edx
shr edi, 1
lea eax, [edi + edi*2]
xor edx, edx
xor ebx, ebx
mov dl, byte [esi]
add esi, 3
shr edx, 2
inc ecx
mov dl, byte [edx + 0x66aa5c]
mov byte [ecx - 1], dl
mov dl, byte [esi - 3]
mov bl, byte [esi - 2]
and edx, 3
shl edx, 4
shr ebx, 4
or edx, ebx
xor ebx, ebx
inc ecx
mov dl, byte [edx + 0x66aa5c]
mov byte [ecx - 1], dl
mov dl, byte [esi - 2]
mov bl, byte [esi - 1]
and edx, 0xf
shl edx, 2
shr ebx, 6
or edx, ebx
inc ecx
mov dl, byte [edx + 0x66aa5c]
mov byte [ecx - 1], dl
mov dl, byte [esi - 1]
and edx, 0x3f
inc ecx
dec edi
mov dl, byte [edx + 0x66aa5c]
mov byte [ecx - 1], dl
jne 0x55edd5
pop edi
pop ebx
lea edx, [ebp + 1]
cmp eax, edx
jne 0x55ee50
mov byte [ecx - 1], 0x3d
pop esi
mov byte [ecx], 0
mov eax, 1
pop ebp
ret 0xc
add ebp, 2
cmp eax, ebp
jne 0x55ee5f
mov al, 0x3d
mov byte [ecx - 1], al
mov byte [ecx - 2], al
pop esi
mov byte [ecx], 0
mov eax, 1
pop ebp
ret 0xc

Function at 0x55f500
Capabilities:
Get hostname

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x10]
push 0x66b6e8
push edi
mov dword [ebx], edi
call fcn.00580140
mov esi, dword [esp + 0x1c]
add esp, 8
test eax, eax
mov dword [esi], eax
jne 0x55f559
mov al, byte [0x67b1e4]
test al, al
jne 0x55f546
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x10
push eax
push 0x67b1e4
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov dword [ebx], 0x67b1e4
mov dword [esi], edi
pop edi
pop esi
mov eax, 1
pop ebx
ret 0xc
mov byte [eax], 0
mov edx, dword [esi]
inc edx
mov dword [esi], edx
mov esi, edx
mov al, byte [esi]
test al, al
je 0x55f57c
cmp al, 0x5c
je 0x55f57c
cmp al, 0x2f
je 0x55f57c
pop edi
pop esi
mov eax, 1
pop ebx
ret 0xc
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
xor eax, eax
pop ebx
ret 0xc