joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c8d00
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5bb488
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x6754d4]
push esi
mov esi, ecx
mov dword [esp + 8], eax
mov ecx, dword [esi + 0x120]
push 0
push 0
push 0x147
push ecx
mov dword [esp + 0x24], 0
call dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esp + 8]
lea ecx, [esi + 0x104]
push edx
push eax
call fcn.005a298e
mov esi, dword [0x67a754]
mov eax, dword [esp + 8]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4c8d81
test cl, cl
je 0x4c8d7d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4c8d81
add eax, 2
add esi, 2
test cl, cl
jne 0x4c8d5d
xor eax, eax
jmp 0x4c8d86
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4c8db0
mov ecx, dword [0x67a050]
mov dword [esp + 4], eax
lea eax, [esp + 4]
push 4
push eax
push 4
push 0
push 0x654fec
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x4c8e74
mov eax, dword [0x67a050]
push edi
lea edx, [esp + 8]
push 4
push edx
push 4
push 0
push 0x654fec
push eax
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [esp + 0xc]
mov esi, dword [0x67a750]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4c8e05
test cl, cl
je 0x4c8e01
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4c8e05
add eax, 2
add esi, 2
test cl, cl
jne 0x4c8de1
xor eax, eax
jmp 0x4c8e0a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4c8e18
mov dword [esp + 8], 1
jmp 0x4c8e57
mov esi, dword [0x67a74c]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4c8e44
test cl, cl
je 0x4c8e40
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4c8e44
add eax, 2
add esi, 2
test cl, cl
jne 0x4c8e20
xor eax, eax
jmp 0x4c8e49
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
test eax, eax
setne cl
add ecx, 2
mov dword [esp + 8], ecx
mov eax, dword [0x67a050]
lea edx, [esp + 8]
push 4
push edx
push 4
push 0
push 0x65182c
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.0059ad3d
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4c8d1d
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5bb488
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x6754d4]
push esi
mov esi, ecx
mov dword [esp + 8], eax
mov ecx, dword [esi + 0x120]
push 0
push 0
push 0x147
push ecx
mov dword [esp + 0x24], 0
call dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esp + 8]
lea ecx, [esi + 0x104]
push edx
push eax
call fcn.005a298e
mov esi, dword [0x67a754]
mov eax, dword [esp + 8]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4c8d81
test cl, cl
je 0x4c8d7d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4c8d81
add eax, 2
add esi, 2
test cl, cl
jne 0x4c8d5d
xor eax, eax
jmp 0x4c8d86
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4c8db0
mov ecx, dword [0x67a050]
mov dword [esp + 4], eax
lea eax, [esp + 4]
push 4
push eax
push 4
push 0
push 0x654fec
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x4c8e74
mov eax, dword [0x67a050]
push edi
lea edx, [esp + 8]
push 4
push edx
push 4
push 0
push 0x654fec
push eax
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [esp + 0xc]
mov esi, dword [0x67a750]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4c8e05
test cl, cl
je 0x4c8e01
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4c8e05
add eax, 2
add esi, 2
test cl, cl
jne 0x4c8de1
xor eax, eax
jmp 0x4c8e0a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4c8e18
mov dword [esp + 8], 1
jmp 0x4c8e57
mov esi, dword [0x67a74c]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4c8e44
test cl, cl
je 0x4c8e40
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4c8e44
add eax, 2
add esi, 2
test cl, cl
jne 0x4c8e20
xor eax, eax
jmp 0x4c8e49
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
test eax, eax
setne cl
add ecx, 2
mov dword [esp + 8], ecx
mov eax, dword [0x67a050]
lea edx, [esp + 8]
push 4
push edx
push 4
push 0
push 0x65182c
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.0059ad3d
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4cdb50
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5bbbd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x6754d4]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov ebx, dword [esp + 0x34]
lea ecx, [esp + 0x18]
push ebx
mov dword [esp + 0x2c], 0
call fcn.0059aec6
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x1c]
push eax
call fcn.0059aec6
mov ebp, dword [esp + 0x30]
lea ecx, [esp + 0x30]
push ecx
push ebp
mov ecx, edi
call fcn.0041b770
mov esi, eax
test esi, esi
jne 0x4cdbf9
mov eax, dword [edi + 4]
test eax, eax
jne 0x4cdbca
mov edx, dword [edi + 8]
push 1
push edx
mov ecx, edi
call fcn.004b5f40
mov ecx, edi
call fcn.004cf040
mov esi, eax
mov eax, dword [esp + 0x30]
push ebp
lea ecx, [esi + 8]
mov dword [esi + 4], eax
call fcn.0059aec6
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x30]
mov eax, dword [ecx + edx*4]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x30]
mov dword [ecx + edx*4], esi
add esi, 0xc
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.0059ae76
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esi + 4]
call fcn.0059ae76
push 0x665754
lea ecx, [esp + 0x38]
call fcn.0059adab
push ebp
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 1
call fcn.0059b03f
mov edi, dword [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x125
jbe 0x4cdc57
push eax
push 0x124
lea ecx, [esp + 0x3c]
call fcn.0059b1a9
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0xf003f
push 0
push 0x679a28
push 0
push ecx
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
push ecx
push ebx
push eax
push eax
push 0x660378
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
push 0
push eax
push 0x665748
push 0x66036c
push ecx
call fcn.005503f0
mov edx, dword [esp + 0x24]
add esp, 0x14
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 0
call fcn.0059ad3d
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], 2
call fcn.0059ad3d
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.0059ad3d
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x4cdd10
Capabilities:
Delete registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5bbc00
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov eax, dword [ebp + 4]
test eax, eax
je 0x4cde68
mov ebx, dword [esp + 0x34]
push ebx
call fcn.00593bb9
xor edx, edx
div dword [ebp + 8]
mov eax, dword [ebp + 4]
mov esi, dword [eax + edx*4]
test esi, esi
lea edi, [eax + edx*4]
je 0x4cde68
mov eax, dword [esi + 8]
push ebx
push eax
call fcn.0057ffb4
add esp, 8
test eax, eax
je 0x4cdd77
mov edi, esi
mov esi, dword [esi]
test esi, esi
jne 0x4cdd59
jmp 0x4cde68
mov ecx, dword [esi]
xor ebx, ebx
mov dword [edi], ecx
lea edi, [esi + 0xc]
mov dword [esp + 0x10], edi
lea ecx, [edi + 4]
mov dword [esp + 0x2c], 0
call fcn.0059ad3d
mov ecx, edi
mov dword [esp + 0x2c], 0xffffffff
call fcn.0059ad3d
add edi, 8
mov edx, ebx
dec ebx
mov dword [esp + 0x10], edi
test edx, edx
jne 0x4cdd84
lea eax, [esi + 8]
push 1
push eax
call fcn.00593b95
mov ecx, dword [ebp + 0x10]
mov dword [esi], ecx
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0x10], esi
mov dword [ebp + 0xc], eax
jne 0x4cde68
mov eax, dword [ebp + 4]
test eax, eax
je 0x4cde46
mov ecx, dword [ebp + 8]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x10], eax
jbe 0x4cde46
mov edx, dword [ebp + 4]
mov ebx, dword [edx + eax*4]
test ebx, ebx
je 0x4cde3a
lea esi, [ebx + 0xc]
xor edi, edi
mov dword [esp + 0x18], esi
lea ecx, [esi + 4]
mov dword [esp + 0x2c], 1
call fcn.0059ad3d
mov ecx, esi
mov dword [esp + 0x2c], 0xffffffff
call fcn.0059ad3d
add esi, 8
mov eax, edi
dec edi
mov dword [esp + 0x18], esi
test eax, eax
jne 0x4cddf8
lea ecx, [ebx + 8]
push 1
push ecx
call fcn.00593b95
mov ebx, dword [ebx]
test ebx, ebx
jne 0x4cddef
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x4cdde5
mov edx, dword [ebp + 4]
push edx
call fcn.00597102
mov ecx, dword [ebp + 0x14]
xor esi, esi
add esp, 4
mov dword [ebp + 4], esi
mov dword [ebp + 0xc], esi
mov dword [ebp + 0x10], esi
call fcn.00595c21
mov dword [ebp + 0x14], esi
push 0x665754
lea ecx, [esp + 0x20]
call fcn.0059adab
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x679a28
push 0
push 0x665778
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
jne 0x4cdec3
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 4]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
call fcn.0059ad3d
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x4ce9b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5bbda0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x6754d4]
push ebx
push esi
push edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0xc]
push 1
push eax
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
mov eax, dword [ebx + 0x24]
push ecx
mov ecx, dword [0x67a078]
push edx
push eax
mov dword [esp + 0x30], 0
call fcn.004cc970
test eax, eax
je 0x4ceac5
mov eax, dword [ebx + 0xc]
mov esi, dword [esp + 0xc]
test eax, eax
je 0x4cea1d
push eax
call fcn.00597102
add esp, 4
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 + 0xc], edx
jne 0x4cea48
push 0x665940
mov ecx, ebx
call fcn.00558680
jmp 0x4cea67
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
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x10]
mov esi, dword [esp + 0x10]
test eax, eax
je 0x4cea7b
push eax
call fcn.00597102
add esp, 4
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 + 0x10], edx
jne 0x4ceaa6
push 0x665918
mov ecx, ebx
call fcn.00558680
jmp 0x4ceac5
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
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 1
call fcn.0059ad3d
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0059ad3d
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4d6a50
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov dword [ecx], 0x5e426c
jmp 0x4d6be0
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5bc9e8
push eax
mov dword fs:[0], esp
sub esp, 0x10
lea eax, [esp + 0xc]
push ebx
mov ebx, ecx
push esi
lea ecx, [esp + 0xc]
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push 0
push 0xf003f
push 0
push 0x679a28
push 0
push 0x65633c
push reloc.WSOCK32.dll_accept
call esi
test eax, eax
jne 0x4d6ce7
mov edx, dword [esp + 0xc]
push 0x665ca8
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea eax, [esp + 0x14]
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x679a28
push 0
push 0x665ca8
push edx
call esi
test eax, eax
jne 0x4d6ce7
mov eax, dword [ebx + 0x14]
xor esi, esi
test eax, eax
jle 0x4d6cd3
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push edi
lea edi, [ebx + 4]
mov eax, dword [0x6754d4]
mov dword [esp + 0x10], eax
inc esi
lea ecx, [esp + 0x10]
push esi
push 0x64eff4
push ecx
mov dword [esp + 0x34], 0
call fcn.00593b08
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
add esp, 0xc
push 4
push edi
push 4
push 0
push edx
push eax
call ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.0059ad3d
mov eax, dword [ebx + 0x14]
add edi, 4
cmp esi, eax
jl 0x4d6c7e
pop edi
pop ebp
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
mov edx, dword [esp + 0xc]
push edx
call esi
mov ecx, dword [esp + 0x18]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x4d6ad0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5bc9c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [esp + 0x10], ecx
lea eax, [esp + 0x14]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x679a28
push 0
push 0x665c74
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4d6bc0
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
push edi
mov edi, 4
mov edx, dword [0x6754d4]
mov dword [esp + 0xc], edx
push edi
lea eax, [esp + 0x10]
push 0x64eff4
push eax
mov dword [esp + 0x38], 0
call fcn.00593b08
mov eax, dword [esp + 0x18]
add esp, 0xc
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push 0
push 0
push eax
push ecx
mov dword [esp + 0x2c], 4
call ebx
test eax, eax
jne 0x4d6ba3
mov edx, dword [0x679fe4]
test edx, edx
jle 0x4d6ba3
mov ecx, dword [0x679fe0]
mov esi, dword [esp + 0x18]
cmp esi, dword [ecx]
je 0x4d6b99
inc eax
add ecx, 0xc
cmp eax, edx
jl 0x4d6b8b
jmp 0x4d6ba3
mov ecx, dword [esp + 0x1c]
push esi
call fcn.004d6a60
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0059ad3d
dec edi
test edi, edi
jg 0x4d6b2c
pop edi
pop esi
pop ebx
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x4d7100
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [0x67a438]
sub esp, 0x14
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
mov esi, ecx
jne 0x4d712c
push 0x665cfc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [0x67a438], eax
je 0x4d7299
mov ecx, dword [0x67a43c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp ecx, ebx
jne 0x4d7151
push 0x665ce4
push eax
call ebp
mov ecx, eax
mov eax, dword [0x67a438]
mov dword [0x67a43c], ecx
mov edx, dword [0x67a440]
cmp edx, ebx
jne 0x4d7171
push 0x665ccc
push eax
call ebp
mov ecx, dword [0x67a43c]
mov edx, eax
mov dword [0x67a440], edx
cmp ecx, ebx
je 0x4d7299
cmp edx, ebx
je 0x4d7299
lea eax, [esi + 8]
add esi, 4
push esi
push ebx
push eax
push ebx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
push ebx
push 4
push 4
push eax
call ecx
test eax, eax
jne 0x4d7299
mov ecx, dword [0x67a438]
push 0x665d3c
push ecx
call ebp
mov edi, eax
cmp edi, ebx
je 0x4d7299
mov edx, dword [0x67a438]
push 0x665d2c
push edx
call ebp
mov esi, eax
cmp esi, ebx
je 0x4d7299
mov eax, dword [0x67a438]
push 0x665d1c
push eax
call ebp
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x4d7299
mov ecx, dword [0x67a438]
push 0x665d08
push ecx
call ebp
mov ebp, eax
cmp ebp, ebx
je 0x4d7299
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 1
push eax
mov byte [esp + 0x48], bl
mov byte [esp + 0x49], bl
mov byte [esp + 0x4a], bl
mov byte [esp + 0x4b], bl
mov byte [esp + 0x4c], bl
mov byte [esp + 0x4d], 1
call edi
mov ecx, dword [esp + 0x10]
push ecx
call esi
mov esi, eax
add esi, 0x10
push esi
call fcn.0057f1b0
add esp, 4
mov edi, eax
push 2
push esi
push edi
call dword [esp + 0x20]
mov edx, dword [esp + 0x10]
push edx
push 0x10000000
push 2
push edi
call ebp
mov eax, dword [esp + 0x28]
push ebx
push edi
push ebx
push ebx
push 4
push 4
push eax
call dword [0x67a440]
test eax, eax
push edi
je 0x4d728b
call fcn.0057eacf
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
call fcn.0057eacf
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [ecx], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x4d8440
Capabilities:
Get hostname

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
lea esi, [ecx + 0x19c]
push eax
push esi
mov dword [esp + 0xc], 0x32
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x4d846e
push 0x654734
push esi
call fcn.0057f2ea
add esp, 8
pop esi
pop ecx
ret

Function at 0x4d8480
Capabilities:
Get session user name

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
lea esi, [ecx + 0x2a4]
push eax
push esi
mov dword [esp + 0xc], 0x32
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x4d84ae
push 0x652b90
push esi
call fcn.0057f2ea
add esp, 8
pop esi
pop ecx
ret
Function at 0x4da550
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5bcd88
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
mov esi, ecx
xor ebp, ebp
mov eax, dword [esi + 0x18]
cmp eax, ebp
jne 0x4da578
lea eax, [esi + 0x1c]
push 0x651108
push eax
call fcn.0057ff6f
mov ecx, eax
add esp, 8
cmp ecx, ebp
mov dword [esp + 0x14], ecx
je 0x4da6c9
mov eax, dword [0x6754d4]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x24], ebp
cmp eax, ebp
mov dword [esp + 0x10], ebp
jle 0x4da69e
push ebx
push edi
mov ecx, dword [0x6754d4]
mov dword [esp + 0x14], ecx
mov edx, dword [esi + 8]
push 0
push 0
push 0
mov eax, dword [edx + ebp + 8]
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
mov byte [esp + 0x4c], 1
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
jle 0x4da673
push edi
lea ecx, [esp + 0x18]
call fcn.0059b10a
mov ebx, eax
mov eax, dword [esi + 8]
push 0
push 0
mov eax, dword [eax + ebp + 8]
push edi
push ebx
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x4da673
mov ecx, dword [0x6754d4]
mov dword [esp + 0x10], ecx
mov edx, dword [esi + 8]
push ebx
mov byte [esp + 0x30], 2
mov ecx, dword [edx + ebp + 4]
lea eax, [edx + ebp]
push ecx
mov edx, dword [eax]
lea eax, [esp + 0x18]
push edx
push 0x665f44
push eax
call fcn.00593b08
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
push ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 1
push edx
call fcn.0057fe05
add esp, 0x24
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 1
call fcn.0059ad3d
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 0
call fcn.0059ad3d
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0xc]
inc eax
add ebp, 0xc
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x4da5b2
mov ecx, dword [esp + 0x1c]
pop edi
pop ebx
push ecx
call fcn.0057fd88
mov eax, dword [esi + 0x24]
add esp, 4
test eax, eax
jne 0x4da6b1
lea eax, [esi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 0xffffffff
call fcn.0059ad3d
mov ecx, dword [esp + 0x1c]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x4dc160
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5bd046
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x6754d4]
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi + 0x14], eax
mov ecx, dword [0x6754d4]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esi + 0x34], ecx
push 0xffffffffffffffff
push ebx
push ebx
push 0x17
push 1
push 1
push 0x7d5
lea ecx, [esp + 0x28]
mov byte [esp + 0x34], 1
mov dword [esi], 0x5e5828
mov dword [esi + 0x3c], ebx
mov byte [esi + 0x18], bl
mov byte [esi + 0xc], bl
mov dword [esi + 8], 0x78
mov dword [esi + 0x10], ebx
mov dword [esi + 0x38], 1
mov byte [esi + 4], 1
mov byte [esi + 0x19], bl
mov byte [esi + 0x1a], bl
mov byte [esi + 0x1b], bl
mov byte [esi + 0x2c], bl
mov byte [esi + 0x2f], bl
mov byte [esi + 0x2d], bl
mov byte [esi + 0x2e], bl
mov dword [esi + 0x28], 0x7f
call fcn.00594023
mov edx, dword [eax]
push 0xffffffffffffffff
push ebx
push 0x1e
push 7
push 1
push 1
mov dword [esi + 0x1c], edx
push 0x7d5
lea ecx, [esp + 0x28]
mov dword [esi + 0x20], ebx
call fcn.00594023
mov eax, dword [eax]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x24], eax
mov byte [esi + 0x30], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4dc680
Capabilities:
Set registry value

Disassembly:
sub esp, 0x10
lea eax, [esp + 0xc]
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x14]
push eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push 0
push 0xf003f
push 0
push 0x679a28
push 0
push 0x655168
push reloc.WSOCK32.dll_accept
call ebx
test eax, eax
jne 0x4dc891
mov al, byte [esi + 0x19]
mov ecx, dword [esp + 0x14]
xor edx, edx
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test al, al
lea eax, [esp + 0x10]
push 4
push eax
push 4
push 0
push 0x666038
setne dl
push ecx
mov dword [esp + 0x28], edx
call edi
mov al, byte [esi + 0x1a]
mov ecx, dword [esp + 0x14]
xor edx, edx
push 4
test al, al
lea eax, [esp + 0x14]
push eax
push 4
push 0
push 0x666028
setne dl
push ecx
mov dword [esp + 0x28], edx
call edi
mov cl, byte [esi + 0x1b]
lea eax, [esp + 0x10]
push 4
xor edx, edx
push eax
push 4
test cl, cl
mov ecx, dword [esp + 0x20]
push 0
sete dl
push 0x666018
push ecx
mov dword [esp + 0x28], edx
call edi
mov eax, dword [esp + 0x14]
lea edx, [esi + 0x28]
push 4
push edx
push 4
push 0
push 0x666008
push eax
call edi
mov al, byte [esi + 0x2c]
lea edx, [esp + 0x10]
push 4
xor ecx, ecx
push edx
push 4
test al, al
mov eax, dword [esp + 0x20]
push 0
setne cl
push 0x665ff8
push eax
mov dword [esp + 0x28], ecx
call edi
mov al, byte [esi + 0x2f]
lea edx, [esp + 0x10]
push 4
xor ecx, ecx
push edx
push 4
test al, al
mov eax, dword [esp + 0x20]
push 0
setne cl
push 0x665fe8
push eax
mov dword [esp + 0x28], ecx
call edi
xor ecx, ecx
mov al, byte [esi + 0x2d]
lea edx, [esp + 0x10]
push 4
push edx
test al, al
mov eax, dword [esp + 0x1c]
push 4
push 0
push 0x665fd4
setne cl
push eax
mov dword [esp + 0x28], ecx
call edi
mov al, byte [esi + 0x2e]
lea edx, [esp + 0x10]
push 4
xor ecx, ecx
push edx
push 4
test al, al
mov eax, dword [esp + 0x20]
push 0
setne cl
push 0x665fc0
push eax
mov dword [esp + 0x28], ecx
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x1c]
lea edx, [esp + 0x18]
push 4
push edx
push 0
push 0
push 0x665fb4
push eax
mov dword [esp + 0x30], ecx
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x18]
push 4
push edx
push 0
push 0
push 0x665fa8
push eax
mov dword [esp + 0x30], ecx
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x24]
lea edx, [esp + 0x18]
push 4
push edx
push 0
push 0
push 0x665f9c
push eax
mov dword [esp + 0x30], ecx
call edi
mov ecx, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call ebp
lea edx, [esp + 0x1c]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0xf003f
push 0
push 0x679a28
push 0
push 0x6552e4
push reloc.WSOCK32.dll_accept
call ebx
test eax, eax
jne 0x4dc891
mov ecx, dword [esi + 0x38]
lea edx, [esp + 0x10]
push 4
push edx
push 4
push eax
mov eax, dword [esp + 0x24]
push 0x6551a4
push eax
mov dword [esp + 0x28], ecx
call edi
mov ecx, dword [esp + 0x14]
push ecx
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret