joyce8/EMBER2024-capa huggingface dataset:
Function at 0x472320
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x23c
push ebx
push edi
xor ebx, ebx
mov dword [esp + 0x10], 4
push ebx
push 2
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x472465
lea eax, [esp + 0x1c]
push eax
push edi
call sub.KERNEL32.dll_Process32First
cmp eax, 1
jne 0x47245e
push ebp
mov ebp, dword [esp + 0x24c]
push esi
lea eax, [esp + 0x14]
push 0x4ad4a8
push eax
call section..s388xe
lea ecx, [esp + 0x50]
push ecx
push dword [eax]
call fcn.004559df
mov edx, dword [esp + 0x24]
add esp, 0x10
test eax, eax
sete bl
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4723b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x472446
push dword [esp + 0x2c]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x472446
lea eax, [esp + 0x10]
push eax
push 8
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x47243f
mov ebx, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
push 0xc
push dword [esp + 0x20]
call ebx
test eax, eax
je 0x472408
cmp ebp, dword [esp + 0x1c]
je 0x472470
mov eax, dword [esp + 0x10]
test eax, eax
je 0x47241f
push eax
call dword [0x4cd280]
mov dword [esp + 0x10], 0
push esi
call dword [0x4cd280]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x472446
push eax
call dword [0x4cd280]
mov dword [esp + 0x10], 0
jmp 0x472446
push esi
call dword [0x4cd280]
lea eax, [esp + 0x24]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
cmp eax, 1
je 0x472372
pop esi
xor ebx, ebx
pop ebp
push edi
call dword [0x4cd280]
pop edi
mov eax, ebx
pop ebx
add esp, 0x23c
ret
push 0x100
lea eax, [esp + 0x150]
mov dword [esp + 0x18], 0
push 0
push eax
call fcn.0044ebb0
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push 0x100
lea eax, [esp + 0x154]
push eax
push 1
push dword [esp + 0x20]
call ebx
test eax, eax
je 0x4724eb
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x150]
call sub.ADVAPI32.dll_ConvertSidToStringSidA
test eax, eax
je 0x4724eb
push dword [esp + 0x20]
push 0x4ad2bc
push dword [esp + 0x25c]
call fcn.00409830
add esp, 0xc
mov ebx, 1
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x4724ed
xor ebx, ebx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x472504
push eax
call dword [0x4cd280]
mov dword [esp + 0x10], 0
push esi
call dword [0x4cd280]
pop esi
pop ebp
push edi
call dword [0x4cd280]
pop edi
mov eax, ebx
pop ebx
add esp, 0x23c
ret
Function at 0x472de0
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473338
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x634
push ebx
push esi
push edi
push 0x4acd15
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x20], 0
call fcn.00408900
push 0x20a
lea eax, [ebp - 0x640]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0044ebb0
push 0x20a
lea eax, [ebp - 0x434]
push 0
push eax
call fcn.0044ebb0
push 0x208
lea eax, [ebp - 0x228]
mov dword [ebp - 0x14], 0
push 0
push eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.0044ebb0
add esp, 0x24
lea eax, [ebp - 0x228]
push 0
push 0x25
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov word [ebp - 0x222], ax
lea eax, [ebp - 0x434]
push 0x105
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x105
lea eax, [ebp - 0x640]
push eax
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x472ed2
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push 0x4aed80
push eax
call fcn.00409830
add esp, 0xc
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x472f1e
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x472ee0
sub ecx, edx
lea ebx, [ecx + 1]
cmp ebx, 0x3fffffff
jg 0x472f1e
lea eax, [ebx + ebx]
call fcn.00449aa0
mov esi, esp
test esi, esi
je 0x472f1e
push ebx
push esi
push 0xffffffffffffffff
xor eax, eax
push edi
push eax
push 3
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
test eax, eax
cmove esi, ecx
jmp 0x472f20
xor esi, esi
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.00409bc0
mov eax, dword [ebp - 0x10]
or ecx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x472f4d
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
lea esp, [ebp - 0x64c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4735f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
mov eax, dword [ecx]
push ebx
xor bl, bl
mov word [esp + 0xe], 0x6f69
mov dword [esp + 7], 0x566c6c44
mov word [esp + 5], 0x7465
mov word [esp + 0xb], 0x7265
mov word [esp + 0x10], 0x6e
mov byte [esp + 0xd], 0x73
mov byte [esp + 4], 0x47
test eax, eax
jne 0x473633
xor al, al
pop ebx
add esp, 0x10
ret 4
push esi
push edi
lea ecx, [esp + 0xc]
push ecx
push eax
call fcn.0049e010
mov edi, eax
add esp, 8
test edi, edi
je 0x4736a9
mov esi, dword [esp + 0x20]
mov ecx, 1
mov eax, dword [esi]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x100
or ecx, eax
jge 0x47366f
push 0x100
mov ecx, esi
call fcn.00408e90
push 0x100
push dword [esi]
call edi
mov eax, dword [esi]
add esp, 8
test eax, eax
jne 0x473685
xor ecx, ecx
jmp 0x473697
push dword [eax - 8]
push eax
call fcn.00452e6f
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4736b4
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x4736b4
mov dword [eax - 0xc], ecx
mov bl, 1
mov eax, dword [esi]
mov byte [ecx + eax], 0
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x10
ret 4
push 0x80070057
call fcn.00408b40
int3
Function at 0x477000
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x477364
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
push 0x5c
push 0
mov dword [ebp - 0x10], edi
lea esi, [edi + 4]
push esi
call fcn.0044ebb0
lea eax, [edi + 0xa0]
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
add esp, 0xc
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x477069
mov eax, dword [eax]
mov byte [eax], 0
lea eax, [edi + 0xb8]
mov dword [ebp - 4], 0
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x47708f
mov eax, dword [eax]
mov byte [eax], 0
mov word [edi], 0x101
mov edx, dword [section..data]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp byte [edx], 0
mov byte [ebp - 4], 1
jne 0x4770bc
xor ecx, ecx
jmp 0x4770ca
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4770c1
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00406ab0
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x4acd15
mov byte [ecx], 0
call fcn.00406ab0
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call section..viyuez
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x47711a
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00406de0
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x47e570
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e75e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x47e5b7
mov eax, dword [edi]
jmp 0x47e5b9
mov eax, edi
mov byte [eax], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov byte [edi + 0x18], 0
lea edx, [ecx + 1]
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov word [ebp - 0x18], 0x6c6c
mov word [ebp - 0x28], 0x534e
mov dword [ebp - 0x25], 0x6e495f53
mov dword [ebp - 0x1f], 0x4d282063
mov word [ebp - 0x15], 0x29
mov word [ebp - 0x21], 0x7465
mov word [ebp - 0x1b], 0x7a6f
mov byte [ebp - 0x26], 0x49
mov byte [ebp - 0x19], 0x69
mov byte [ebp - 0x16], 0x61
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47e625
sub ecx, edx
lea eax, [ebp - 0x28]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00406ab0
lea eax, [ebp - 0x40]
cmp edi, eax
je 0x47e67d
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x47e655
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.00406de0
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x47e66d
mov eax, dword [edi]
jmp 0x47e66f
mov eax, edi
mov byte [eax], 0
mov ecx, edi
lea eax, [ebp - 0x40]
push eax
call fcn.00406020
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x47e692
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00406de0
push str.WinInet.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [edi + 0x24], eax
test eax, eax
je 0x47e730
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InternetOpenA
push eax
call esi
push str.InternetConnectA
push dword [edi + 0x24]
mov dword [edi + 0x28], eax
call esi
push str.HttpOpenRequestA
push dword [edi + 0x24]
mov dword [edi + 0x2c], eax
call esi
push str.InternetQueryOptionA
push dword [edi + 0x24]
mov dword [edi + 0x30], eax
call esi
push str.InternetSetOptionA
push dword [edi + 0x24]
mov dword [edi + 0x34], eax
call esi
push str.HttpSendRequestA
push dword [edi + 0x24]
mov dword [edi + 0x38], eax
call esi
push str.InternetReadFile
push dword [edi + 0x24]
mov dword [edi + 0x3c], eax
call esi
push str.InternetCloseHandle
push dword [edi + 0x24]
mov dword [edi + 0x40], eax
call esi
push str.InternetOpenUrlA
push dword [edi + 0x24]
mov dword [edi + 0x44], eax
call esi
push str.HttpQueryInfoA
push dword [edi + 0x24]
mov dword [edi + 0x48], eax
call esi
mov dword [edi + 0x4c], eax
pop esi
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4802d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4802a1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push esi
mov dword [ebp - 0x18], 0
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 2
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x480323
mov eax, dword [esi]
jmp 0x480325
mov eax, esi
mov byte [eax], 0
cmp dword [ebp + 0x24], 0x10
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
lea eax, [ebp + 0x10]
mov dword [ebp - 0x18], 1
cmovae eax, dword [ebp + 0x10]
push 0
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x480402
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 0x3c], 0x10
lea ecx, [ebp - 0x10]
push ecx
push 0
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x28]
cmovae eax, dword [ebp + 0x28]
push 0
push 0
push eax
push dword [ebp - 0x14]
mov byte [ebp - 4], 3
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4803fa
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4803fa
push edi
push eax
lea ecx, [ebp - 0x24]
call fcn.00408870
mov edi, dword [ebp - 0x24]
lea ecx, [ebp - 0x10]
cmp dword [ebp + 0x3c], 0x10
lea eax, [ebp + 0x28]
push ecx
cmovae eax, dword [ebp + 0x28]
push edi
push 0
push 0
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4803f9
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
cmp edi, eax
je 0x4803e6
sub eax, edi
lea ecx, [ebp - 0x3c]
push eax
push edi
call fcn.00406ab0
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call fcn.004084f0
lea ecx, [ebp - 0x3c]
call fcn.00405530
pop edi
lea ecx, [ebp - 0x24]
call fcn.00408760
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x24]
cmp eax, 0x10
jb 0x480420
inc eax
lea ecx, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
call fcn.00406de0
mov ecx, dword [ebp + 0x3c]
mov dword [ebp + 0x24], 0xf
mov dword [ebp + 0x20], 0
mov byte [ebp + 0x10], 0
cmp ecx, 0x10
jb 0x480447
inc ecx
push ecx
push dword [ebp + 0x28]
lea ecx, [ebp + 0x28]
call fcn.00406de0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4810e0
Capabilities:
Check http status code
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4812a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
push edi
push 1
push 0x1bb
sub esp, 0x18
mov dword [ebp - 0x24], 0x632e656c
mov edx, esp
mov dword [ebp - 0x2b], 0x672e7777
mov word [ebp - 0x1f], 0x6d
xor bl, bl
mov word [ebp - 0x27], 0x6f6f
mov esi, ecx
mov byte [ebp - 0x20], 0x6f
mov byte [ebp - 0x2c], 0x77
mov byte [ebp - 0x25], 0x67
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x48114c
mov eax, dword [edx]
jmp 0x48114e
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x2c], 0
jne 0x48115b
xor ecx, ecx
jmp 0x48116a
lea ecx, [ebp - 0x2c]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x481161
sub ecx, edi
push ecx
lea eax, [ebp - 0x2c]
mov ecx, edx
push eax
call fcn.00406ab0
mov ecx, esi
call fcn.0047f520
cmp byte [esi + 0x18], 0
je 0x481285
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.0047e090
add esp, 8
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 4], 0
jb 0x4811a4
mov eax, dword [eax]
push 0
push 0x803000
push 0
push 0
push str.HTTP_1.0
push 0x4ad0e4
push eax
push dword [esi + 0x20]
mov eax, dword [esi + 0x30]
call eax
mov ecx, dword [ebp - 0x30]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x4811e0
inc ecx
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x44]
call fcn.00406de0
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
test edi, edi
je 0x48126b
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 4
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi + 0x34]
push 0x1f
push edi
call eax
or dword [ebp - 0x10], 0x180
lea eax, [ebp - 0x10]
push 4
push eax
mov eax, dword [esi + 0x38]
push 0x1f
push edi
call eax
mov eax, dword [esi + 0x3c]
push 0
push 0
push 0
push 0
push edi
call eax
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], 4
push eax
mov eax, dword [esi + 0x4c]
push 0x20000013
push edi
call eax
cmp dword [ebp - 0x14], 0xc8
mov eax, 1
movzx ebx, bl
cmove ebx, eax
mov eax, dword [esi + 0x44]
push edi
call eax
cmp byte [esi + 0x18], 0
je 0x481285
push dword [esi + 0x20]
mov ecx, dword [esi + 0x44]
call ecx
push dword [esi + 0x1c]
mov ecx, dword [esi + 0x44]
call ecx
mov byte [esi + 0x18], 0
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4821d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 8
mov dword [esp], ecx
xor eax, eax
nop dword [eax + eax]
mov byte [eax + ecx], al
inc eax
cmp eax, 0x100
jl 0x4821e0
mov edx, dword [esp + 0x10]
push ebx
push ebp
push esi
movzx eax, dl
xor esi, esi
push edi
xor cl, cl
mov dword [esp + 0x14], eax
mov ebp, 0xff
xor ebx, ebx
lea edi, [ebx + 1]
cmp ebp, edi
jbe 0x482224
nop dword [eax]
lea edi, [edi*2 + 1]
cmp edi, ebp
jb 0x482210
jmp 0x482224
mov edx, dword [esp + 0x20]
movzx eax, cl
mov ecx, dword [esp + 0x10]
mov cl, byte [eax + ecx]
mov eax, dword [esp + 0x1c]
add cl, byte [esi + eax]
inc esi
cmp esi, dword [esp + 0x14]
jb 0x482240
xor esi, esi
add cl, dl
movzx edx, cl
inc ebx
and edx, edi
cmp ebx, 0xb
jbe 0x482251
mov eax, edx
xor edx, edx
div ebp
cmp edx, ebp
ja 0x482220
mov edi, dword [esp + 0x10]
movzx edx, dl
mov bl, byte [edi + ebp]
mov al, byte [edx + edi]
mov byte [edi + ebp], al
mov byte [edx + edi], bl
mov edx, dword [esp + 0x20]
sub ebp, 1
jne 0x482203
movzx eax, byte [edi + 1]
mov byte [edi + 0x100], al
movzx eax, byte [edi + 3]
mov byte [edi + 0x101], al
movzx eax, byte [edi + 5]
mov byte [edi + 0x102], al
movzx eax, byte [edi + 7]
mov byte [edi + 0x103], al
movzx eax, cl
movzx eax, byte [eax + edi]
mov byte [edi + 0x104], al
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
Function at 0x48c4e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e97e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x354
push esi
push edi
mov dword [ebp - 0x6c], 0
lea ecx, [ebp - 0x360]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1a], 0x38376138
mov dword [ebp - 0x1f], 0x30383962
mov word [ebp - 0x2f], 0x3435
mov dword [ebp - 0x2c], 0x33373264
mov dword [ebp - 0x23], 0x38336666
mov dword [ebp - 0x15], 0x30343363
mov word [ebp - 0x11], 0x64
mov dword [ebp - 0x28], 0x63323337
mov byte [ebp - 0x30], 0x36
mov byte [ebp - 0x16], 0x63
mov byte [ebp - 0x24], 0x34
mov byte [ebp - 0x2d], 0x61
mov byte [ebp - 0x1b], 0x62
call section..sk1i88
cmp byte [ebp - 0x30], 0
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
jne 0x48c583
xor ecx, ecx
jmp 0x48c599
lea ecx, [ebp - 0x30]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48c590
sub ecx, edx
push ecx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x50]
call fcn.00406ab0
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x48c5c7
mov eax, dword [ecx]
jmp 0x48c5c9
mov eax, ecx
push 0
push 0x4acd15
mov byte [eax], 0
call fcn.00406ab0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x360]
call section..viyuez
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 1
cmp eax, 0x10
jb 0x48c600
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.00406de0
mov eax, dword [ebp + 0x1c]
add eax, 0x10
mov word [ebp - 0x360], 0
push eax
call fcn.00449a95
add esp, 4
mov dword [ebp - 0x34], 0
cmp dword [ebp + 0x20], 0x10
lea ecx, [ebp + 0xc]
mov esi, eax
lea eax, [ebp - 0x34]
cmovae ecx, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 0x1c]
push ecx
lea ecx, [ebp - 0x360]
call fcn.00477130
lea ecx, [ebp - 0x88]
call fcn.0047a060
push dword [ebp - 0x34]
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 3
push esi
call fcn.004049c0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x88]
call fcn.0047d220
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
lea eax, [ebp - 0x68]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004069a0
mov edi, dword [ebp + 8]
push edi
call fcn.0048c710
push esi
call fcn.004495c9
mov eax, dword [ebp - 0x54]
add esp, 0x20
cmp eax, 0x10
jb 0x48c6bb
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.00406de0
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
call fcn.00403fb0
lea ecx, [ebp - 0x360]
call fcn.00409460
mov ecx, dword [ebp + 0x20]
cmp ecx, 0x10
jb 0x48c6f8
inc ecx
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00406de0
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x48e0e0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x12c
push esi
push edi
xor edi, edi
mov dword [esp + 0xc], 0x128
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x48e17f
lea eax, [esp + 0xc]
push eax
push esi
call sub.KERNEL32.dll_Process32First
cmp eax, 1
jne 0x48e178
push ebx
mov ebx, dword [esp + 0x144]
push ebp
mov ebp, dword [esp + 0x144]
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x144]
call fcn.004559df
add esp, 8
test eax, eax
jne 0x48e166
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov eax, dword [esp + 0x10]
cmp eax, 0x3e8
ja 0x48e15b
cmp eax, ebp
jne 0x48e166
mov eax, dword [esp + 0x1c]
mov edi, 1
mov dword [ebx], eax
lea eax, [esp + 0x14]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
cmp eax, 1
je 0x48e121
pop ebp
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
add esp, 0x12c
ret

Function at 0x48e190
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x1c
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x48e207
lea eax, [esp + 4]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x48e1fe
mov eax, dword [esp + 4]
push 0
push 0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
push 0x10
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
push eax
push 0
push dword [esp + 0x14]
mov dword [esp + 0x24], 1
mov dword [esp + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [esp]
call dword [0x4cd280]
add esp, 0x1c
ret
Function at 0x48e6a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e9a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push 0x4ad28c
push eax
call section..s388xe
mov esi, eax
push 0x4ad0e8
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00409600
push esi
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
call fcn.00409550
mov edx, dword [ebp - 0x1c]
or esi, 0xffffffff
add esp, 0x20
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48e71d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x20]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48e73b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 0
push eax
push 0x20019
push 0
push dword [ebp - 0x18]
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x48e789
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 4
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push str.State
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], 0
mov eax, esi
mov edx, dword [ebp - 0x18]
setne bl
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48e7aa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x48e7c9
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x48e8c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
push esi
lea eax, [esp + 4]
mov dword [esp + 9], 0x6c6c642e
push eax
xor esi, esi
mov dword [esp + 8], 0x6c64746e
mov byte [esp + 0xc], 0x6c
mov byte [esp + 0x11], 0
mov dword [esp + 0x14], 0x6554744e
mov dword [esp + 0x18], 0x6e696d72
mov dword [esp + 0x1e], 0x6f725065
mov word [esp + 0x25], 0x73
mov word [esp + 0x22], 0x6563
mov word [esp + 0x1c], 0x7461
mov byte [esp + 0x24], 0x73
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x48e947
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4cd230], eax
test eax, eax
je 0x48e947
push esi
push dword [esp + 0x2c]
call eax
test eax, eax
mov ecx, 1
cmove esi, ecx
mov eax, esi
pop esi
add esp, 0x20
ret