joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417e90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452318
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x46b008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push edi
call fcn.00403360
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
test esi, esi
je 0x417eed
lea eax, [ebp - 0x2c]
cmp ecx, 8
jb 0x417ee7
mov eax, edx
cmp word [eax], 0x2f
je 0x417f0f
lea eax, [ebp - 0x2c]
cmp ecx, 8
jb 0x417ef7
mov eax, edx
push 0x2f
push eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00411a60
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x2c]
cmp ecx, 8
jb 0x417f19
mov eax, edx
cmp word [eax + esi*2 - 2], 0x2f
je 0x417f50
cmp esi, ecx
jae 0x417f3e
lea eax, [esi + 1]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmp ecx, 8
jb 0x417f35
mov eax, edx
mov dword [eax + esi*2], 0x2f
jmp 0x417f50
push 0x2f
mov byte [ebp - 0x60], 0
push dword [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00404290
push 0x13
xor eax, eax
mov dword [ebp - 0x34], 0
push str.https:__www.easy.ac
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.004013c0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x44]
call fcn.00404a30
cmp dword [edi + 0x10], 0
je 0x417ff3
mov edx, dword [ebx + 0x88]
test edx, edx
je 0x417ff3
lea ecx, [ebp - 0x5c]
call fcn.004133b0
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.00404a30
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x417fe6
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417fdc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4180b1
push edx
push ecx
call fcn.0041b657
add esp, 8
push 0x464254
lea ecx, [ebp - 0x44]
call fcn.00403660
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
jb 0x417fff
mov eax, dword [ebp - 0x44]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x418049
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41803f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4180b6
push edx
push ecx
call fcn.0041b657
add esp, 8
mov edx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp edx, 8
jb 0x418093
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418089
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4180bb
push edx
push ecx
call fcn.0041b657
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041b616
mov esp, ebp
pop ebp
ret 4
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
int3
Function at 0x418ea0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4523a8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x46b008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
xor eax, eax
mov byte [ebp - 0x45], 1
push eax
push 0x400
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x4c], 0x800
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.004088b0
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.00419b90
cmp dword [esi + 0x14], 8
mov eax, esi
mov dword [esi + 0x10], 0
jb 0x418f25
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
jb 0x418f36
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x4c]
push ecx
push eax
lea eax, [ebp - 0x54]
push eax
push 0
push str.GamesInstalled
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
sub eax, 0
je 0x418ffd
sub eax, 2
je 0x419064
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x44]
push 0x4642fc
push eax
call fcn.004123b0
mov edi, eax
add esp, 0xc
cmp esi, edi
je 0x418fb9
mov ecx, esi
call fcn.00401280
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x418ff3
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418fe9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4190bb
push edx
push ecx
call fcn.0041b657
add esp, 8
mov eax, dword [ebp - 0x18]
xor bl, bl
mov ecx, dword [ebp - 0x2c]
jmp 0x41906d
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x2c]
push 0
shr eax, 1
push eax
call fcn.004011e0
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
cmp eax, 8
jb 0x41901d
mov esi, ecx
test esi, esi
je 0x41906a
mov edi, dword [ebp - 0x50]
cmp word [esi], 0
je 0x419064
push esi
call fcn.00439ec2
add esp, 4
test eax, eax
je 0x41904b
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push edi
push eax
push ecx
lea eax, [ebp - 0x5c]
mov ecx, ebx
push eax
call fcn.00419df0
push 0x4642f8
push esi
call fcn.004331df
mov esi, eax
add esp, 8
test esi, esi
je 0x419064
add esi, 2
jne 0x419024
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov bl, byte [ebp - 0x45]
cmp eax, 8
jb 0x41909d
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x419093
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4190c0
push edx
push ecx
call fcn.0041b657
add esp, 8
invalid
Function at 0x4197a0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x46b008]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x10], ebx
mov eax, esi
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], ebx
jb 0x4197cc
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
lea eax, [esp + 0x10]
push eax
push 0xf003f
push ecx
push 0x4642a8
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4198ac
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x4642a8
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x4198b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x18]
push str.RegDeleteKeyW_failed_with__i
push eax
call fcn.004123b0
mov edi, eax
add esp, 0xc
cmp esi, edi
je 0x41986d
mov ecx, esi
call fcn.00401280
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
xor eax, eax
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [esp + 0x28]
cmp edx, 8
jb 0x419959
mov ecx, dword [esp + 0x14]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41994f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41996d
jmp 0x41994f
cmp eax, 2
jne 0x4198ca
mov ebx, 2
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0041b616
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x18]
push str.RegOpenKeyEx_failed_with__i
push eax
call fcn.004123b0
mov edi, eax
add esp, 0xc
cmp esi, edi
je 0x419921
mov ecx, esi
call fcn.00401280
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
xor eax, eax
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [esp + 0x28]
cmp edx, 8
jb 0x419959
mov ecx, dword [esp + 0x14]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41994f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419972
push edx
push ecx
call fcn.0041b657
add esp, 8
mov ecx, dword [esp + 0x2c]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041b616
mov esp, ebp
pop ebp
ret
call fcn.00436a89
call fcn.00436a89
int3
Function at 0x41a740
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x46b008]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov esi, edx
xor bl, bl
push edi
mov edi, ecx
mov eax, esi
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x41a76e
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
test edi, edi
jne 0x41a799
push 0x12
push str.Invalid_parameters
mov ecx, esi
call fcn.004013c0
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0041b616
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x28]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x41a82a
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x430
je 0x41a82a
call edi
push eax
lea eax, [esp + 0x14]
push str.DeleteService_failed_with__i
push eax
call fcn.004123b0
add esp, 0xc
mov ecx, esi
push eax
call fcn.004032f0
mov edx, dword [esp + 0x24]
cmp edx, 8
jb 0x41a82c
mov ecx, dword [esp + 0x10]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41a80c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a840
push edx
push ecx
call fcn.0041b657
add esp, 8
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0041b616
mov esp, ebp
pop ebp
ret
mov bl, 1
mov ecx, dword [esp + 0x44]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041b616
mov esp, ebp
pop ebp
ret
call fcn.00436a89
int3
Function at 0x41b440
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x230
mov eax, dword [0x46b008]
xor eax, esp
mov dword [esp + 0x22c], eax
push esi
mov esi, ecx
push edi
mov eax, esi
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x41b46f
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [0x46f5b4]
test eax, eax
jne 0x41b5aa
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.SHGetKnownFolderPath
push str.shell32.dll
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46f5b4], eax
test eax, eax
jne 0x41b5aa
cmp dword [0x46f5a8], eax
jne 0x41b4e8
push str.SHGetFolderPathW
push str.shell32.dll
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
mov eax, dword [0x46f5b4]
mov dword [0x46f5a8], ecx
test eax, eax
jne 0x41b5aa
test ecx, ecx
jne 0x41b4e8
push 0x7f
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x41b5f5
lea eax, [esp + 0x10]
push str._EAC_Service___Warning__Falling_back_to_deprecated_SHGetFolderPathW_WinAPI.
push eax
call fcn.004122c0
add esp, 8
lea eax, [esp + 0x10]
cmp dword [esp + 0x24], 0x10
jb 0x41b509
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [esp + 0x24]
cmp edx, 0x10
jb 0x41b546
mov ecx, dword [esp + 0x10]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b53c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b610
push edx
push ecx
call fcn.0041b657
add esp, 8
lea eax, [esp + 0x28]
mov dword [esp + 0x20], 0
push eax
push 0
push 0
push 0x1a
push 0
mov dword [esp + 0x38], 0xf
mov byte [esp + 0x24], 0
call dword [0x46f5a8]
test eax, eax
jne 0x41b5f5
lea ecx, [esp + 0x28]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b580
sub ecx, edx
lea eax, [esp + 0x28]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004013c0
push 0x464824
mov ecx, esi
call fcn.00403660
jmp 0x41b5f5
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 0x454420
call eax
test eax, eax
jne 0x41b5f5
mov edx, dword [esp + 0xc]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b5c7
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.004013c0
push 0x464824
mov ecx, esi
call fcn.00403660
push dword [esp + 0xc]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [esi + 0x10], 0
mov ecx, dword [esp + 0x234]
pop edi
setne al
pop esi
xor ecx, esp
call fcn.0041b616
mov esp, ebp
pop ebp
ret
call fcn.00436a89
int3

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
sub eax, edx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0xc], edx
sbb esi, esi
not esi
and esi, eax
je 0x422b7c
movzx eax, byte [edx]
xor eax, dword [ecx]
imul eax, eax, 0x1000193
inc edx
inc edi
mov dword [ecx], eax
cmp edi, esi
jne 0x422b67
jmp 0x422b7e
mov eax, dword [ecx]
pop edi
pop esi
pop ebp
ret 8
Function at 0x44d9aa
Capabilities:
Encode data using xor

Disassembly:
cld
inc esi
add byte [ebx], al
cmp eax, 0x46ff30
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
mov ecx, 0x78312c59
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x4e496a64
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46f008]
jne 0x40100a
repz ret
jmp fcn.00401720

Function at 0x40829b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004034fe
and dword [ebp - 4], 0
cmp dword [0x4711c0], 0
mov ebx, eax
jne 0x40834c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4083fd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4083fd
push eax
call fcn.0040348c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4711c0], eax
call esi
push eax
call fcn.0040348c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4711c4], eax
call esi
push eax
call fcn.0040348c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4711c8], eax
call esi
push eax
call fcn.0040348c
pop ecx
mov dword [0x4711d0], eax
test eax, eax
je 0x40834c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040348c
pop ecx
mov dword [0x4711cc], eax
mov eax, dword [0x4711cc]
cmp eax, ebx
je 0x4083a4
cmp dword [0x4711d0], ebx
je 0x4083a4
push eax
call fcn.00403507
push dword [0x4711d0]
mov esi, eax
call fcn.00403507
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4083a4
test edi, edi
je 0x4083a4
call esi
test eax, eax
je 0x40839b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40839b
test byte [ebp - 0xc], 1
jne 0x4083a4
or dword [ebp + 0x10], 0x200000
jmp 0x4083dd
mov eax, dword [0x4711c4]
cmp eax, ebx
je 0x4083dd
push eax
call fcn.00403507
pop ecx
test eax, eax
je 0x4083dd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4083dd
mov eax, dword [0x4711c8]
cmp eax, ebx
je 0x4083dd
push eax
call fcn.00403507
pop ecx
test eax, eax
je 0x4083dd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4711c0]
call fcn.00403507
pop ecx
test eax, eax
je 0x4083fd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4083ff
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x46b6c0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x46f008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x566d6c]
push ebx
push esi
mov esi, dword [0x566bb4]
mov ebx, eax
cmp eax, 0x5dd
jne 0x46b6fd
push 0
lea eax, [ebp - 0x404]
push eax
push str.cakidofegisuxumuvehopohewiwafuhu
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov eax, dword [0x46ff70]
call fcn.0046b5c0
cmp dword [0x566d6c], 0x2f
jne 0x46b718
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push esi
call fcn.0046b600
add esp, 4
cmp dword [0x566d6c], 0x568
pop esi
pop ebx
jne 0x46b74a
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov ecx, dword [ebp - 0x408]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret
Function at 0x10002cc5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x10155e70
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x101c4d60], 1
jge 0x10155edf
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x10155eb5
mov edx, dword [ebx + 8]
movzx eax, word [edx]
movzx ecx, word [ebx + 0xc]
cmp eax, ecx
je 0x10155eb5
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x10155e92
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x10155ecb
mov eax, dword [ebx + 8]
mov dword [ebp - 4], eax
jmp 0x10155ed2
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
jmp 0x10155fcf
movzx ecx, word [ebx + 0xc]
movd xmm0, ecx
movaps xmmword [ebp - 0x30], xmm0
pshuflw xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
pshufd xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
mov edx, dword [ebx + 8]
and edx, 0xfff
cmp edx, 0xff0
ja 0x10155fa0
mov eax, dword [ebx + 8]
movups xmm0, xmmword [eax]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pxor xmm0, xmmword [ebp - 0x20]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pcmpeqw xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x40]
pcmpeqw xmm0, xmmword [ebp - 0x30]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
por xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pmovmskb ecx, xmm0
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x10155f95
bsf edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebx + 8]
mov dword [ebx + 8], eax
mov ecx, dword [ebx + 8]
movzx edx, word [ecx]
movzx eax, word [ebx + 0xc]
cmp edx, eax
jne 0x10155f89
mov ecx, dword [ebx + 8]
mov dword [ebp - 0xc], ecx
jmp 0x10155f90
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
jmp 0x10155fcf
mov edx, dword [ebx + 8]
add edx, 0x10
mov dword [ebx + 8], edx
jmp 0x10155fca
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x10155fb3
mov eax, dword [ebx + 8]
jmp 0x10155fcf
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x10155fc1
xor eax, eax
jmp 0x10155fcf
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x10155eff
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret

Function at 0x10005a47
Capabilities:
Query environment variable

Disassembly:
jmp 0x1013e772
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x1013e786
xor edi, edi
jmp 0x1013e7ca
push ebx
push esi
call fcn.1013e66b
push 0x40
mov ebx, eax
push str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
sub ebx, esi
and ebx, 0xfffffffe
push 2
push ebx
call fcn.1000651e
mov edi, eax
add esp, 0x14
test edi, edi
je 0x1013e7b7
push ebx
push esi
push edi
call fcn.10005bff
add esp, 0xc
push 2
push 0
call fcn.10006f32
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret
Function at 0x402ebc
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x449390]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x402f37
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
jne 0x402f3e
cmp dword [ebp + 0x10], ebx
jne 0x402f2b
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp - 4]
call fcn.00402ebc
test eax, eax
jne 0x402f3e
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
jmp 0x402efe
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.004065b8
cmp eax, ebx
je 0x402f63
push ebx
push dword [0x449390]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402f37
cmp dword [0x449390], ebx
jne 0x402f34
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x402f34
jmp 0x402f37
Function at 0x4033a1
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
cmp eax, edi
jl 0x4033ce
mov ecx, dword [0x449338]
push edi
add eax, ecx
push edi
push eax
mov dword [0x421474], eax
push dword [0x40a64c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
pop esi
push esi
call fcn.004034cc
cmp eax, edi
jl 0x4034c5
lea eax, [ebp - 4]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
push eax
lea eax, [ebp + 8]
push esi
push eax
push dword [0x40a64c]
call ebx
test eax, eax
je 0x4034c2
cmp dword [ebp - 4], esi
jne 0x4034c2
push dword [ebp + 8]
add dword [0x421474], esi
call fcn.004034cc
cmp eax, edi
mov dword [ebp - 8], eax
jl 0x4034c5
cmp dword [ebp + 0x10], edi
jne 0x403491
cmp dword [ebp + 8], edi
jle 0x4034bd
mov esi, 0x41d470
mov edi, 0x4000
cmp dword [ebp + 8], edi
jge 0x403441
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push 0
push eax
push edi
push esi
push dword [0x40a64c]
call ebx
test eax, eax
je 0x4034c2
cmp edi, dword [ebp - 4]
jne 0x4034c2
lea eax, [ebp + 0x14]
push 0
push eax
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40348d
cmp dword [ebp + 0x14], edi
jne 0x40348d
mov eax, dword [ebp - 4]
add dword [ebp - 8], eax
sub dword [ebp + 8], eax
add dword [0x421474], eax
cmp dword [ebp + 8], 0
jg 0x403434
jmp 0x4034bd
push 0xfffffffffffffffe
jmp 0x4034c4
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x40349c
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push edi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a64c]
call ebx
test eax, eax
je 0x4034c2
mov eax, dword [ebp - 4]
add dword [0x421474], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x4034c5
push 0xfffffffffffffffd
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10