joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4282dc
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
mov dword [ebp - 0x11c], 0x114
lea eax, [ebp - 0x11c]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x42831f
mov eax, dword [ebp - 0x10c]
mov dword [0x4e28f0], eax
mov eax, 0x4e28f4
lea edx, [ebp - 0x108]
mov ecx, 0x80
call fcn.0040afe0
mov eax, 0x4e28f8
call fcn.0040a498
xor eax, eax
mov dword [0x4e28fc], eax
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [0x4e27b4], 0xa
jl 0x428475
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x428480
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x428475
xor eax, eax
push ebp
push 0x42846e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x4284dc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x4283ce
cmp dword [ebp - 8], 2
jle 0x4283ce
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x4283a1
adc edx, 0
mov eax, 0x4e28f8
call fcn.0040b0b8
lea eax, [ebp - 8]
push eax
mov eax, dword [0x4e28f8]
call fcn.0040af44
push eax
push 0
push 0
push 0x4284dc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
jmp 0x428428
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x4284fc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x428428
cmp dword [ebp - 8], 2
jle 0x428428
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x4283fd
adc edx, 0
mov eax, 0x4e28f8
call fcn.0040b0b8
lea eax, [ebp - 8]
push eax
mov eax, dword [0x4e28f8]
call fcn.0040af44
push eax
push 0
push 0
push 0x4284fc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
push 0x4e28fc
push 0
push 0
push 0x428510
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
je 0x428455
xor eax, eax
mov dword [0x4e28fc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428475
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
mov byte [0x4dd710], 1
mov esp, ebp
pop ebp
ret
Function at 0x4294f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.0040a97c
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00410294
mov edi, eax
cmp edi, 0x104
jbe 0x42949b
mov eax, edi
add eax, eax
call fcn.00406fc4
mov esi, eax
jmp 0x42949d
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00410294
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4294d6
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x4294c0
mov eax, esp
cmp esi, eax
je 0x4294e3
mov eax, esi
call fcn.00406fe0
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x42951c
cmp bl, 0
je 0x429518
cmp bl, 0x41
jl 0x429513
cmp bl, 0x5a
jg 0x429513
or bl, 0x20
xor al, bl
inc esi
jmp 0x4294f7
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42945c

Function at 0x429e14
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.0040afe0
add esp, 0x800
pop ebx
ret

Function at 0x42a3a4
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff800
mov esi, edx
mov edi, eax
mov eax, esi
call fcn.0040a498
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.0040af44
mov ebp, eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
mov ebx, eax
cmp ebx, 0x400
jge 0x42a3e9
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.0040a630
jmp 0x42a402
mov edx, ebx
dec edx
mov eax, esi
call fcn.0040b0b8
push ebx
mov eax, dword [esi]
call fcn.0040af44
push eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x42c89c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42c8bc
sub eax, 4
mov eax, dword [eax]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x42c8d6
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42c8d1
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x42c8db
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x42c949
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x42c992
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42c907
inc dword [ebp - 0xc]
jmp 0x42c91f
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x42c91f
cmp dword [ebp - 0xc], 0
jle 0x42c91f
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x42c941
xor eax, eax
jmp 0x42c93d
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42c93c
mov eax, esi
jmp 0x42c995
inc eax
cmp eax, ecx
jle 0x42c929
inc esi
cmp esi, dword [ebp - 8]
jl 0x42c8f3
jmp 0x42c992
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x42c992
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42c96a
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x42c98c
xor eax, eax
jmp 0x42c988
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42c987
mov eax, esi
jmp 0x42c995
inc eax
cmp eax, ecx
jle 0x42c974
inc esi
cmp esi, dword [ebp - 8]
jl 0x42c952
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42cb84
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x42cba3
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42cbb3
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x42ccd5
test ebx, ebx
jl 0x42ccd5
test esi, esi
jle 0x42ccd5
mov eax, dword [ebp - 8]
call fcn.0040af44
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040af44
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, eax
add ecx, eax
movzx eax, word [ebp - 0xa]
cmp ax, word [ebp + 0xc]
je 0x42cc72
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x42ccd5
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42cc57
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42cc26
inc dword [ebp - 0x14]
jmp 0x42cc36
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x42cc36
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x42cc41
or eax, 0xffffffff
jmp 0x42cc57
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42cc54
inc eax
jmp 0x42cc57
or eax, 0xffffffff
test eax, eax
jl 0x42cc5f
cmp esi, eax
jg 0x42cc14
cmp esi, eax
jg 0x42cc6a
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42ccd8
inc edx
dec dword [ebp - 0x1c]
jne 0x42cc10
jmp 0x42ccd5
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x42ccd5
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42ccbc
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42cc9b
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x42cca6
or eax, 0xffffffff
jmp 0x42ccbc
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42ccb9
inc eax
jmp 0x42ccbc
or eax, 0xffffffff
test eax, eax
jl 0x42ccc4
cmp esi, eax
jg 0x42cc84
cmp esi, eax
jg 0x42cccf
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42ccd8
inc edx
dec dword [ebp - 0x1c]
jne 0x42cc80
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43c47c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x43c484
mov eax, edx
pop esi
pop ebx
ret

Function at 0x43f0d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
add edx, eax
cmp edx, eax
jbe 0x43f0e7
movzx ebx, byte [eax]
xor ecx, ebx
imul ecx, ecx, 0x1000193
inc eax
cmp edx, eax
ja 0x43f0d7
mov eax, ecx
pop ebx
ret
Function at 0x4b4cc8
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x4b4d0b
cmp byte [ebx + 0x11], 0
jne 0x4b4d0b
cmp byte [ebx + 0x24], 0
jne 0x4b4d0b
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4b4d22
mov ecx, dword [0x4dec6c]
mov dl, 1
mov eax, dword [0x48650c]
call fcn.0042726c
call fcn.00409b90
pop ebx
ret
mov ecx, dword [0x4dec6c]
mov dl, 1
mov eax, dword [0x48650c]
call fcn.0042726c
call fcn.00409b90
pop ebx
ret

Function at 0x4b5694
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4b56e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004b4b74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b56fb
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4b5704
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004b4b74
dec esi
jne 0x4b5726
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret
Function at 0x4d1278
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4d1437
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a8d0
mov eax, dword [ebp - 4]
call fcn.004d0bc4
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x4d12ca
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0040b348
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004d1ecc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4d13ab
xor eax, eax
push ebp
push 0x4d13a4
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004d0e64
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.004d146c
test al, al
je 0x4d1380
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.0040a630
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x4d1380
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.0040af44
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004d0dc4
test al, al
je 0x4d137a
mov eax, dword [ebp - 8]
call fcn.0040af44
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0040afa4
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.004d1278
dec ebx
cmp ebx, 0xffffffff
jne 0x4d1329
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d13ab
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.004d0e64
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
cmp byte [0x4e5900], 0
je 0x4d13eb
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.0040af44
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004d0e50
push eax
call sub.advapi32.dll_RegDeleteKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004d0dc4
mov ebx, eax
jmp 0x4d1412
mov eax, dword [ebp - 4]
call fcn.0040af44
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004d0e50
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004d0dc4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d143e
lea eax, [ebp - 0x3c]
call fcn.0040a498
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a4f8
pop eax
jmp eax
Function at 0x4d1da8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.004d0bdc
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.0040af44
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.004d0dc4
test al, al
jne 0x4d1e10
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4debd0]
mov dl, 1
mov eax, dword [0x4cf9a8]
call fcn.00427340
call fcn.00409b90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4d1e1c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.0040af44
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.004d0dc4
test al, al
jne 0x4d1e7d
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4deddc]
mov dl, 1
mov eax, dword [0x4cf9a8]
call fcn.00427340
call fcn.00409b90
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004d0c0c
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4d2494
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4d25c0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.004d0e64
xor eax, eax
push ebp
push 0x4d2599
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004d146c
test al, al
je 0x4d257b
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004d236c
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040a630
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x4d257b
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040af44
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumValueW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004d0dc4
test al, al
je 0x4d2577
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040af44
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.0040afa4
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004d236c
pop ecx
inc edi
dec ebx
jne 0x4d251f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d25a0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.004d0e64
pop eax
jmp eax
Function at 0x4d25d0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4d2828
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.004d0e64
xor eax, eax
push ebp
push 0x4d27fc
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004d146c
test al, al
je 0x4d27de
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040a630
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x4d27de
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.0040af44
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004d0dc4
test al, al
je 0x4d27d2
mov eax, dword [ebp - 4]
call fcn.0040af44
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.0040afa4
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004d1ecc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4d27d2
xor eax, eax
push ebp
push 0x4d27cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0xc]
call fcn.004d0e64
xor eax, eax
push ebp
push 0x4d27ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040af44
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.0040afa4
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004d0e68
mov eax, dword [ebp - 4]
call fcn.0040af44
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.0040afa4
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004d1ecc
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x4d2786
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.004d2494
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.004d25d0
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d278d
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x4d265b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d2803
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.004d0e64
pop eax
jmp eax
Function at 0x4d292c
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff9a0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a58c
mov eax, dword [ebp - 8]
call fcn.0040a58c
xor eax, eax
push ebp
push 0x4d2a35
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
xor esi, esi
push 0
push 0
push 0
push 0
push 0x4d2a48
call sub.wininet.dll_InternetOpenW
mov edi, eax
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040af44
push eax
push edi
call sub.wininet.dll_InternetOpenUrlW
mov ebx, eax
test ebx, ebx
je 0x4d2a12
mov eax, dword [ebp - 8]
push eax
call fcn.004d2c64
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x260]
call fcn.00407c44
call fcn.00407138
mov edx, 1
lea eax, [ebp - 0x260]
call fcn.00408010
call fcn.00407138
lea eax, [ebp - 0x10]
push eax
push 0x400
lea eax, [ebp - 0x660]
push eax
push ebx
call sub.wininet.dll_InternetReadFile
push 0
lea edx, [ebp - 0x660]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x260]
call fcn.00407d8c
call fcn.00407138
add esi, dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0
jne 0x4d29c5
lea eax, [ebp - 0x260]
call fcn.00407dac
call fcn.00407138
mov dword [ebp - 0xc], esi
push edi
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d2a3c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a4f8
pop eax
jmp eax

Function at 0x4d2b98
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a58c
xor eax, eax
push ebp
push 0x4d2c53
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.0040a498
lea eax, [ebp - 0x5c]
xor ecx, ecx
mov edx, 0x10
call fcn.00407e18
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.00407e18
mov dword [ebp - 0x4c], 0x44
mov dword [ebp - 0x20], 1
test bl, bl
je 0x4d2bff
mov word [ebp - 0x1c], 5
jmp 0x4d2c05
mov word [ebp - 0x1c], 0
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0x10
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.0040af44
push eax
mov eax, dword [ebp - 4]
call fcn.0040af44
push eax
call sub.kernel32.dll_CreateProcessW
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d2c5a
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a4f8
pop eax
jmp eax