joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44fe90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x8b5cdc]
xor edx, edx
cmp eax, edx
jne 0x44feb6
xor eax, eax
mov byte [eax + 0x8b5bdc], al
inc eax
cmp eax, 0x100
jl 0x44fe9e
mov dword [0x8b5cdc], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x8b5bdc
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x44ff47
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x44ff1a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x44fee8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x44ff50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x44ffa3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x44ff8a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x456920
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48360e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00457240
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x88829c
call fcn.00475302
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4569b3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00475302
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4569ac
push 0
mov ecx, eax
call fcn.0044dac0
mov dword [esi + 0xc], eax
jmp 0x4569b5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4569b5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x477968
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4779a0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00475a1c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004759f4
jmp 0x4779ac
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x479056
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x479098
call fcn.0047eb33
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x479098
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47908f
xor eax, eax
jmp 0x4790a0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004790a6
pop edi
pop esi
pop ebx
ret 4

Function at 0x47f063
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47f091
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47f0af
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047efc9
jmp 0x47f0af
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47f0af
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047efc9
test edi, edi
mov eax, edi
jne 0x47f099
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x403226
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push dword [ebp + 0x10]
mov dword [0x40f5dc], eax
lea eax, [ebp - 0x104]
push str.SetupHelper:__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esi, 0x40f5e0
push 0x103
push esi
call fcn.004062f5
pop ecx
test eax, eax
pop ecx
jne 0x403282
push 0x40f5d8
push esi
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push dword [ebp + 0x10]
mov esi, 0x40f6e4
push esi
call sub.MSVCRT.dll_strcpy
push esi
call dword [sym.imp.MSVCRT.dll__strlwr]
add esp, 0xc
xor ebx, ebx
mov dword [ebp + 0x10], ebx
mov edi, 0x40e140
push dword [edi]
push esi
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
test eax, eax
pop ecx
jne 0x4032c1
add edi, 8
inc ebx
cmp edi, str._delete_image
jl 0x4032a4
jmp 0x4032cb
call dword [ebx*8 + 0x40e144]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x404716
Capabilities:
Check os version
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push 0x94
lea eax, [ebp - 0x94]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp + 0xc], 0
push dword [ebp + 8]
je 0x40475d
call fcn.00406283
pop ecx
jmp 0x404763
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40477c
cmp dword [ebp - 0x90], 5
jb 0x40477c
push 4
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
leave
ret
Function at 0x404b08
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, esi
push edi
je 0x404c20
cmp dword [ebp + 0xc], esi
je 0x404c20
push ebx
call sub.MSVCRT.dll_strlen
cmp eax, 0x104
pop ecx
jae 0x404c20
mov edi, 0x94
lea eax, [ebp - 0xd4]
push edi
push esi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0xd4]
mov dword [ebp - 0xd4], edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xd0], 5
jb 0x404c20
lea eax, [ebp - 8]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push esi
push esi
push 4
push 1
mov dword [ebp - 0xc], esi
pop edi
mov dword [ebp - 8], esi
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoA]
test eax, eax
jne 0x404c20
push dword [ebp + 0xc]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_BuildTrusteeWithNameA]
lea eax, [ebp + 8]
mov dword [ebp + 8], esi
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_GetEffectiveRightsFromAclA]
test eax, eax
jne 0x404c17
mov eax, dword [ebp + 8]
push 3
or eax, dword [ebp + 0x10]
push edi
push eax
mov dword [ebp + 8], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.ADVAPI32.dll_BuildExplicitAccessWithNameA]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x40]
push dword [ebp - 4]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclA]
test eax, eax
jne 0x404c17
push esi
push dword [ebp + 0xc]
push esi
push esi
push 4
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoA]
push dword [ebp - 8]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
cmp edi, esi
sete al
jmp 0x404c22
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x406256
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x406268
xor eax, eax
ret
and eax, 0x10
cmp al, 0x10
jne 0x406279
xor eax, eax
cmp dword [esp + 8], eax
setne al
ret
xor eax, eax
cmp dword [esp + 8], eax
sete al
ret

Function at 0x406283
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push dword [ebp + 8]
lea eax, [ebp - 0x124]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x124]
push eax
call sub.MSVCRT.dll_strlen
xor ecx, ecx
add esp, 0xc
mov byte [ebp + eax - 0x123], cl
lea eax, [ebp - 0x124]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x14], ecx
mov word [ebp - 0x10], 0x414
mov dword [ebp - 0xe], ecx
mov dword [ebp - 0xa], ecx
mov dword [ebp - 6], ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
je 0x4062f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
leave
ret
push 1
pop eax
leave
ret
Function at 0x406373
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push ebx
xor ebx, ebx
push eax
push 0xf003f
push ebx
push str.SOFTWARESandai_Technologies_Inc.ThunderOem
push SysReAllocStringLen
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4063a1
xor eax, eax
jmp 0x406403
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 1
push eax
lea eax, [ebp - 0xc]
push esi
push eax
push ebx
push str.Path
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4063f7
push eax
push esi
call fcn.00406256
pop ecx
test eax, eax
pop ecx
je 0x4063f7
push esi
call sub.MSVCRT.dll_strlen
pop ecx
add eax, esi
cmp eax, esi
jbe 0x4063f0
cmp byte [eax], 0x5c
je 0x4063f0
dec eax
jmp 0x4063e4
and byte [eax + 1], 0
push 1
pop ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop esi
pop ebx
leave
ret

Function at 0x406406
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push esi
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x10c]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
lea eax, [ebp - 8]
pop ecx
push eax
lea eax, [ebp - 0x10c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov edi, eax
push edi
push esi
lea eax, [ebp - 0x10c]
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x406513
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x40d090
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x406513
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
dec edx
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
je 0x4064fc
dec edx
je 0x4064e1
dec edx
je 0x4064c2
dec edx
je 0x40649f
push 0x40ed50
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_wsprintfA]
jmp 0x406520
movzx edx, cx
shr ecx, 0x10
push edx
push ecx
movzx ecx, ax
shr eax, 0x10
push ecx
push eax
push str._d._d._d._d
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
jmp 0x406522
shr ecx, 0x10
push ecx
movzx ecx, ax
shr eax, 0x10
push ecx
push eax
push str._d._d._d
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp 0x406522
movzx ecx, cx
shr eax, 0x10
push ecx
push eax
push str._d._d
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x406522
shr eax, 0x10
push eax
push 0x40e02c
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x406522
push 0x40ed50
push dword [ebp + 0x10]
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push edi
call fcn.0040a147
pop ecx
push 1
pop eax
pop edi
pop esi
leave
ret
Function at 0x406a92
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x406b34
push dword [ebp + 8]
call sub.MSVCRT.dll_strlen
cmp eax, 1
pop ecx
jb 0x406b34
push ebx
push edi
push esi
lea eax, [ebp - 0x104]
push 0x17
push eax
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
call esi
push dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x208]
push str._s_s.lnk
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
call ebx
push 0
lea eax, [ebp - 0x104]
push 2
push eax
push 0
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x208]
push str._s_s.lnk
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
call ebx
push 1
pop eax
pop edi
pop ebx
jmp 0x406b36
xor eax, eax
pop esi
leave
ret

Function at 0x406b39
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x406bda
push dword [ebp + 8]
call sub.MSVCRT.dll_strlen
cmp eax, 1
pop ecx
jb 0x406bda
push ebx
push edi
push esi
lea eax, [ebp - 0x104]
push 0x19
push eax
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
call esi
push dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x208]
push str._s_s.lnk
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
call ebx
xor eax, eax
lea ecx, [ebp - 0x104]
push eax
push eax
push ecx
push eax
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x208]
push str._s_s.lnk
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
call ebx
push 1
pop eax
pop edi
pop ebx
jmp 0x406bdc
xor eax, eax
pop esi
leave
ret
Function at 0x406c5e
Capabilities:
Delete registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
lea eax, [ebp - 4]
push edi
mov dword [ebp - 4], ebx
push eax
je 0x406c7f
push str.SoftwareThunder_NetworkThunderOem
jmp 0x406c84
push str.SoftwareSandai_Technologies_Inc.ThunderOem
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov edi, SysReAllocStringLen
push edi
call esi
cmp eax, ebx
jne 0x406d33
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 1
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
mov ebx, str.ThunderOemArray
mov dword [ebp - 8], 0x103
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x406d05
cmp dword [ebp - 8], eax
jbe 0x406d05
push dword [ebp + 0xc]
lea eax, [ebp - 0x110]
push eax
call fcn.00406bdf
lea eax, [ebp - 0x110]
push eax
call sub.MSVCRT.dll_strlen
add esp, 0xc
inc eax
push eax
lea eax, [ebp - 0x110]
push eax
push 1
push 0
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
cmp dword [ebp + 0x10], 0
je 0x406d48
cmp dword [ebp + 8], 0
lea eax, [ebp - 4]
push eax
je 0x406d27
push str.SoftwareThunder_NetworkThunderOem
jmp 0x406d2c
push str.SoftwareSandai_Technologies_Inc.ThunderOem
push edi
call esi
test eax, eax
je 0x406d37
xor eax, eax
jmp 0x406d4b
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push dword [ebp - 4]
call ebx
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40735d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
and byte [ebp - 0x208], 0
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x207]
rep stosd dword es:[edi], eax
push dword [ebp + 0xc]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x208]
push str.____
push eax
call esi
push dword [ebp + 0x10]
lea eax, [ebp - 0x208]
push eax
call esi
lea eax, [ebp - 0x208]
push 0x40f000
push eax
call esi
push 0
lea eax, [ebp - 0x208]
push 0
push eax
push str.CrackFW.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop esi
leave
ret

Function at 0x4073e0
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
xor ebx, ebx
push eax
push 0x20019
push ebx
push str.http_shellopencommand
push SysReAllocStringLen
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4074d2
push 0x40
lea edi, [ebp - 0x10b]
pop ecx
mov byte [ebp - 0x10c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
lea eax, [ebp - 0x10c]
push eax
push ebx
push ebx
push 0x40f5d8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
jne 0x4074d2
cmp byte [ebp - 0x10c], 0x22
lea edi, [ebp - 0x10c]
jne 0x40746d
lea edi, [ebp - 0x10b]
push 0x40f000
push edi
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
cmp eax, ebx
pop ecx
jne 0x407488
push edi
call sub.MSVCRT.dll_strlen
pop ecx
add eax, edi
sub eax, edi
mov esi, eax
lea eax, [ebp - 0x210]
push esi
push edi
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x210]
mov edi, str.open
mov byte [ebp + esi - 0x210], bl
push 1
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteA]
push ebx
push dword [ebp + 8]
push eax
push edi
push ebx
call esi
cmp eax, 0x20
jg 0x4074e5
push 1
push ebx
push ebx
push dword [ebp + 8]
push edi
push ebx
call esi
jmp 0x4074e5
push 1
push ebx
push ebx
push dword [ebp + 8]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40acc8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov edi, dword [ebp + 8]
mov edi, dword [edi]
push edi
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
pop edi
mov esi, ecx
not esi
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0xc]
lea eax, [eax + 0x10]
push dword [eax]
xor eax, eax
push edx
mov ecx, dword [edx + 0x30]
movzx ebx, byte [eax + edi]
movzx edx, byte [ecx + eax*2]
sub ebx, edx
cmp ebx, 0
je 0x40ad0f
cmp ebx, 0x20
je 0x40ad0f
cmp ebx, 0xffffffe0
je 0x40ad0f
jne 0x40ad18
add eax, 1
cmp esi, eax
je 0x40ad25
jne 0x40acf4
pop edx
mov edx, dword [edx]
xor eax, eax
pop ebx
cmp ebx, edx
push ebx
je 0x40ad29
jne 0x40acf0
pop edx
mov eax, dword [edx + 0x18]
leave
ret 4

Function at 0x40ad3d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ebx, dword [ebp + 8]
cmp ebx, 0
je 0x40ad82
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov edx, dword [eax + 0x78]
add edx, ebx
mov ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x20]
push ecx
push ecx
push eax
xor eax, eax
or ecx, 0xffffffff
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
repne scasb al, byte es:[edi]
not ecx
pop eax
push ecx
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
mov esi, dword [eax + ebx]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
pop ecx
je 0x40ad88
add eax, 4
pop esi
dec esi
push esi
jne 0x40ad6a
xor eax, eax
leave
ret 8
pop esi
pop ecx
sub ecx, esi
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx eax, word [eax + ebx]
mov ecx, dword [edx + 0x1c]
lea eax, [ecx + eax*4]
mov eax, dword [eax + ebx]
add eax, ebx
leave
ret 8

Function at 0x429fa1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
push esi
mov esi, dword [eax]
test esi, esi
jne 0x429fc6
xor eax, eax
jmp 0x429fcb
mov eax, dword [esi + 4]
add eax, eax
mov dword [ebp - 8], eax
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x45ebe0
call fcn.0045d3f0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x42a001
push ebx
call fcn.0045d3ea
add esp, 4
pop eax
mov dword [ebp - 4], eax
test esi, esi
je 0x42a00e
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x42a063
lea edx, [esi + 8]
mov dword [ebp - 0x14], 0x33323130
mov dword [ebp - 0x10], 0x37363534
mov dword [ebp - 0xc], 0x42413938
mov dword [ebp - 8], 0x46454443
test edx, edx
je 0x42a063
test eax, eax
je 0x42a063
lea esi, [edx + ecx]
cmp edx, esi
jae 0x42a063
nop
movzx ecx, byte [edx]
shr ecx, 4
inc edx
movzx ecx, byte [ebp + ecx - 0x14]
mov byte [eax], cl
movzx ecx, byte [edx - 1]
and ecx, 0xf
lea eax, [eax + 2]
movzx ecx, byte [ebp + ecx - 0x14]
mov byte [eax - 1], cl
cmp edx, esi
jb 0x42a03f
pop esi
mov eax, dword [ebp - 4]
leave
ret 4
Function at 0x45e5a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x500530
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.004f48d7
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.00463e90
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x45e5f4
jmp dword [ecx*4 + 0x45e75c]
mov al, byte [esi]
test al, al
je 0x45e622
cmp al, 0x20
je 0x45e60e
cmp al, 0xa1
jne 0x45e622
cmp byte [esi + 1], al
jne 0x45e622
test al, 0x80
je 0x45e61a
mov al, byte [esi + 1]
inc esi
test al, al
je 0x45e622
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x45e601
test ecx, ecx
je case.default.0x45e5f4
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x45e5f4
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x45e668
cmp dl, 0xa1
jne 0x45e65c
cmp byte [eax + 1], 0xa1
jne 0x45e65c
test ecx, ecx
jne 0x45e654
mov edi, eax
mov ecx, 1
inc eax
jmp 0x45e67c
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x45e696
jmp 0x45e67c
cmp dl, 0x20
jne 0x45e67a
test ecx, ecx
jne 0x45e673
mov edi, eax
mov ecx, 1
jmp 0x45e67c
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x45e63c
cmp ecx, 1
jne case.default.0x45e5f4
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x45e5f4
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x45e5f4
mov al, byte [esi]
test al, al
je 0x45e6ee
test al, 0x80
mov byte [esp + 0x3c], al
je 0x45e6d4
mov cl, byte [esi + 1]
test cl, cl
je 0x45e6ee
cmp al, 0xa1
jne 0x45e6c4
cmp cl, al
je 0x45e6d1
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.00464160
inc esi
jmp 0x45e6e6
cmp al, 0x20
je 0x45e6e6
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.004641a0
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x45e6ad
push 0
lea ecx, [esp + 0x14]
call fcn.004641a0
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0046d8c0
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x45e721
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0xdf2dc8
call fcn.00464090
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004f4869
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret