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

Disassembly:
jmp 0x412d00
push ebx
mov ebx, dword [esp + 0xc]
push edi
xor edi, edi
test ebx, ebx
je 0x412e87
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
nop dword [eax]
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xae
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xde
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x2a
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xee
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xcb
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x3e
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x94
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x28
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x72
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x97
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xb9
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x50
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xd9
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x40
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xbf
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xb7
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xba
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x73
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x48
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x19
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xf
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xef
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x91
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x30
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xaf
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x4c
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xa
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xc7
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xbe
inc edi
cmp edi, ebx
jb 0x412d20
pop esi
pop ebp
pop edi
pop ebx
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x451c59
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x451c6a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405902
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49b112
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49b123
pop esi
ret
push ebx
push edi
push esi
call fcn.0049aff9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fd5
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49b14b
push ebx
push esi
push edi
call fcn.004056f5
add esp, 0xc
push 0
call fcn.0040623f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x402bf1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x402c00
pop dword [ebp - 0x48]
mov eax, 0x402c00
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x520cb351
sub dword [ebp - 0x58], 0x3ba6e06
mov dword [ebp - 0x54], 0x7c4f705e
add dword [ebp - 0x54], 0xb5e3dbe7
mov dword [ebp - 0x50], 0xe30c0268
sub dword [ebp - 0x50], 0x96bfbe3a
mov dword [ebp - 0x4c], 0x5b281805
add dword [ebp - 0x4c], 0xa4d7e7fb
lea eax, [ebp - 0x58]
push eax
mov eax, 0x1277a690
add eax, 0xedc8c9d4
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xaa8d82d1
add dword [ebp - 0x58], 0xc9e4e685
mov dword [ebp - 0x54], 0x8f6d1732
add dword [ebp - 0x54], 0xb1ff4a43
mov dword [ebp - 0x50], 0x94f7a6c1
add dword [ebp - 0x50], 0xce77c5ab
mov dword [ebp - 0x4c], 0xb19c058b
add dword [ebp - 0x4c], 0x4e63fa75
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0xcd7d1c97
add eax, 0x32c35411
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x37caa
push 0
call eax
mov ecx, 0x4c69
mov edx, eax
mov edi, 0x442f31e8
add edi, 0xbc11ce18
add edi, dword [ebp - 0x48]
mov esi, 0x2ad44e8
sub esi, 0xdef97bd1
add dword [ebp - 0x28], edi
mov ebx, dword [edi]
xor dword [ebp - 0x28], ecx
add ebx, esi
add dword [ebp - 0x3c], 0xf370c561
mov dword [edx], ebx
mov dword [ebp - 0x2c], 0x13a257a1
add edx, 0x40b274d
sub edx, 0x40b2749
add edi, 0x656f1073
sub edi, 0x656f106f
loop 0x402d17
add eax, 0xddd430bf
add eax, 0x222cf3b8
xor ebx, ebx
add ebx, eax
add eax, 0x85c46104
sub eax, 0x85c460ff
mov ecx, 0x82a44308
sub ecx, 0x82644308
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x401110
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c4
mov eax, dword [0x405004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push esi
xor esi, esi
mov dword [ebp - 0x4c0], 0x4031f0
push edi
mov dword [ebp - 0x4bc], str.ProcessHacker.exe
mov dword [ebp - 0x4b8], str.tcpview.exe
mov dword [ebp - 0x4b4], str.autoruns.exe
mov dword [ebp - 0x4b0], str.autorunsc.exe
mov dword [ebp - 0x4ac], str.filemon.exe
mov dword [ebp - 0x4a8], str.procmon.exe
mov dword [ebp - 0x4a4], str.regmon.exe
mov dword [ebp - 0x4a0], str.procexp.exe
mov dword [ebp - 0x49c], str.ida.exe
mov dword [ebp - 0x498], str.idaq.exe
mov dword [ebp - 0x494], str.idaq64.exe
mov dword [ebp - 0x490], str.ImmunityDebugger.exe
mov dword [ebp - 0x48c], str.Wireshark.exe
mov dword [ebp - 0x488], str.dumpcap.exe
mov dword [ebp - 0x484], str.HookExplorer.exe
mov dword [ebp - 0x480], str.ImportREC.exe
mov dword [ebp - 0x47c], str.PETools.exe
mov dword [ebp - 0x478], str.LordPE.exe
mov dword [ebp - 0x474], str.SysInspector.exe
mov dword [ebp - 0x470], str.proc_analyzer.exe
mov dword [ebp - 0x46c], str.sysAnalyzer.exe
mov dword [ebp - 0x468], str.sniff_hit.exe
mov dword [ebp - 0x464], str.windbg.exe
mov dword [ebp - 0x460], str.joeboxcontrol.exe
mov dword [ebp - 0x45c], str.joeboxserver.exe
mov dword [ebp - 0x458], str.joeboxserver.exe
mov dword [ebp - 0x454], str.ResourceHacker.exe
mov dword [ebp - 0x450], str.x32dbg.exe
mov dword [ebp - 0x44c], str.x64dbg.exe
mov dword [ebp - 0x448], str.Fiddler.exe
mov dword [ebp - 0x444], str.httpdebugger.exe
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x440], esi
nop
push 0x200
lea eax, [ebp - 0x208]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edi, dword [ebp + esi*4 - 0x4c0]
lea eax, [ebp - 0x208]
add esp, 0xc
push edi
push str.Checking_process_of_malware_analysis_tool:__s
push 0x100
push eax
call fcn.00401010
add esp, 0x10
lea eax, [ebp - 0x438]
mov ecx, 0x22c
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4012c2
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x401347
lea eax, [ebp - 0x438]
mov dword [ebp - 0x438], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x401340
push edi
lea eax, [ebp - 0x414]
push eax
call ebx
test eax, eax
je 0x40137b
lea eax, [ebp - 0x438]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x401340
nop dword [eax]
push edi
lea eax, [ebp - 0x414]
push eax
call ebx
test eax, eax
je 0x40137b
lea eax, [ebp - 0x438]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x401320
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x43c]
mov esi, dword [ebp - 0x440]
inc esi
mov dword [ebp - 0x440], esi
cmp esi, 0x20
jl 0x401280
xor eax, eax
test ecx, ecx
mov ecx, dword [ebp - 4]
pop edi
setne al
xor ecx, ebp
pop esi
pop ebx
call fcn.00401a44
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x430], 0
je 0x401347
mov ecx, 1
mov dword [ebp - 0x43c], ecx
jmp 0x40134d
Function at 0x401560
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402ac5
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x405004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 4
call fcn.00401a52
mov dword [ebp - 0x24], eax
mov dword [eax], 0x401510
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
push ecx
push 0
push eax
push 0x4019f0
push 0
push 0
call esi
add esp, 0x1c
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4016b0
push 4
mov dword [ebp - 4], 1
call fcn.00401a52
mov dword [ebp - 0x24], eax
mov dword [eax], 0x4013a0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
push ecx
push 0
push eax
push 0x4019f0
push 0
push 0
call esi
add esp, 0x1c
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4016a1
mov byte [ebp - 4], 3
cmp dword [ebp - 0x14], 0
je 0x401699
mov esi, dword [sym.imp.MSVCP140.dll__Thrd_id]
call esi
mov ecx, dword [ebp - 0x14]
cmp ecx, eax
je 0x401691
push 0
push ecx
push dword [ebp - 0x18]
call dword [sym.imp.MSVCP140.dll__Thrd_join]
add esp, 0xc
test eax, eax
jne 0x401689
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
cmp dword [ebp - 0x1c], eax
je 0x401699
call esi
mov ecx, dword [ebp - 0x1c]
cmp ecx, eax
je 0x401691
push 0
push ecx
push dword [ebp - 0x20]
call dword [sym.imp.MSVCP140.dll__Thrd_join]
add esp, 0xc
test eax, eax
jne 0x401689
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
cmp dword [ebp - 0x14], eax
je 0x40166d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401a44
mov esp, ebp
pop ebp
ret
push 2
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 6
mov dword [ebp - 0x1c], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 6
mov dword [ebp - 0x14], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x509570
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ac500
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
call fcn.004fbe20
mov dword [ebp - 4], 0xffffffff
call fcn.0050c840
cmp eax, 1
je 0x5095bd
mov dword [ebp - 4], 2
push 1
call fcn.004cc910
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 4
push 0
call fcn.00509490
mov ecx, eax
call fcn.00574e14
mov dword [ebp - 4], 0xffffffff
push 0x10
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [0x5b84d0]
push 1
call fcn.005613f0
mov eax, 0x50959b
ret
Function at 0x552760
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d7010
push 0x55f67c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [edi], esi
mov ebx, dword [ebp + 0xc]
mov dword [ebx], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], 4
lea eax, [ebp - 0x24]
push eax
push 0x20019
push esi
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push 0x80000002
call dword [0x5b8018]
cmp eax, esi
jne 0x5527d8
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x1c]
push edx
push esi
push esi
push 0x5d6fd8
mov eax, dword [ebp - 0x24]
push eax
call dword [0x5b801c]
mov ecx, dword [ebp - 0x1c]
mov dword [edi], ecx
wait
mov dword [ebp - 4], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
lea edx, [ebp - 0x3c]
push edx
call dword [0x5b8294]
test eax, eax
je 0x552867
lea eax, [ebp - 0x2c]
push eax
mov edi, dword [0x5b8298]
call edi
push esi
push 5
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
call fcn.005623d0
add dword [ebp - 0x2c], eax
adc dword [ebp - 0x28], edx
rdtsc
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
lea eax, [ebp - 0x34]
push eax
call edi
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 0x28]
jb 0x552832
ja 0x55284a
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x2c]
jb 0x552832
rdtsc
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
fild qword [ebp - 0x44]
fild qword [ebp - 0x4c]
fsubp st(1)
fmul dword [0x5d6fd4]
call fcn.005606e4
mov dword [ebx], eax
wait
jmp 0x552873
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5625eb
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x5da958
call fcn.00562eb8
mov edi, 0x94
mov eax, edi
call fcn.0055f780
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [0x5b8214]
mov ecx, dword [esi + 0x10]
mov dword [0x7e3b84], ecx
mov eax, dword [esi + 4]
mov dword [0x7e3b90], eax
mov edx, dword [esi + 8]
mov dword [0x7e3b94], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x7e3b88], esi
cmp ecx, 2
je 0x56264b
or esi, 0x8000
mov dword [0x7e3b88], esi
shl eax, 8
add eax, edx
mov dword [0x7e3b8c], eax
xor esi, esi
push esi
mov edi, dword [0x5b82a0]
call edi
cmp word [eax], 0x5a4d
jne 0x562686
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x562686
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x56269e
cmp eax, 0x20b
je 0x56268b
mov dword [ebp - 0x1c], esi
jmp 0x5626b2
cmp dword [ecx + 0x84], 0xe
jbe 0x562686
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x5626ac
cmp dword [ecx + 0x74], 0xe
jbe 0x562686
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.0056396f
pop ecx
test eax, eax
jne 0x5626c6
push 0x1c
call fcn.005625c7
pop ecx
call fcn.00565204
test eax, eax
jne 0x5626d7
push 0x10
call fcn.005625c7
pop ecx
call fcn.00568011
mov dword [ebp - 4], esi
call fcn.00568d76
test eax, eax
jge 0x5626f0
push 0x1b
call fcn.005625a2
pop ecx
call dword [0x5b8158]
mov dword [0x7e55c0], eax
call fcn.00569e57
mov dword [0x7e3bc8], eax
call fcn.00569db5
test eax, eax
jge 0x562716
push 8
call fcn.005625a2
pop ecx
call fcn.00569b82
test eax, eax
jge 0x562727
push 9
call fcn.005625a2
pop ecx
push 1
call fcn.005612c3
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x56273d
push eax
call fcn.005625a2
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [0x5b8154]
call fcn.00569b25
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x56275e
movzx eax, word [ebp - 0x40]
jmp 0x562761
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.00571032
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x56277f
push edi
call fcn.005613f0
call fcn.00561412
jmp 0x5627b1
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.00562ef3
ret
Function at 0x5644fe
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x56452c
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x564533
cmp ebx, dword [eax + 4]
jae 0x564533
xor eax, eax
jmp 0x564723
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x564544
xor eax, eax
inc eax
jmp 0x564722
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x56455a
cmp ecx, edx
jae 0x56469f
cmp dword [eax + 4], 0
je 0x564563
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x56454b
cmp dword [ebp + 8], 0
je 0x564585
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x56469f
cmp eax, esi
jae 0x56469f
mov eax, dword [0x7e3d30]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x5645aa
cmp dword [esi*4 + 0x7e3d38], edi
je 0x5646a3
inc esi
cmp esi, eax
jl 0x564598
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x5b8218]
test eax, eax
je 0x56471f
cmp dword [ebp - 8], 0x1000000
jne 0x56471f
test byte [ebp - 0xc], 0xcc
je 0x564628
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x56471f
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x56471f
cmp word [eax + 0x18], 0x10b
jne 0x56471f
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x56471f
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x564628
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x564628
test byte [ecx + 0x27], 0x80
jne 0x56469f
push 1
push 0x7e3d78
call dword [0x5b8204]
test eax, eax
jne 0x56453c
mov ecx, dword [0x7e3d30]
test ecx, ecx
mov edx, ecx
jle 0x56465c
lea eax, [ecx*4 + 0x7e3d34]
cmp dword [eax], edi
je 0x56465c
dec edx
sub eax, 4
test edx, edx
jg 0x564650
test edx, edx
jne 0x56468d
push 0xf
pop ebx
cmp ecx, ebx
jg 0x564669
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x564681
lea eax, [edx*4 + 0x7e3d38]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x56466f
cmp ecx, 0x10
jge 0x56468d
inc ecx
mov dword [0x7e3d30], ecx
push 0
push 0x7e3d78
call dword [0x5b8204]
jmp 0x56453c
xor eax, eax
jmp 0x564722
test esi, esi
jle 0x56453c
mov ebx, dword [0x5b8204]
push 1
push 0x7e3d78
call ebx
test eax, eax
jne 0x56453c
cmp dword [esi*4 + 0x7e3d38], edi
je 0x5646f9
mov eax, dword [0x7e3d30]
lea esi, [eax - 1]
test esi, esi
jl 0x5646e7
cmp dword [esi*4 + 0x7e3d38], edi
je 0x5646e3
dec esi
jns 0x5646d7
test esi, esi
jge 0x5646f7
cmp eax, 0x10
jge 0x5646f2
inc eax
mov dword [0x7e3d30], eax
lea esi, [eax - 1]
jmp 0x5646f9
je 0x564711
xor ecx, ecx
test esi, esi
jl 0x564711
lea eax, [ecx*4 + 0x7e3d38]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x5646ff
push 0
push 0x7e3d78
call ebx
jmp 0x56453c
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x414fb0
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x41515a
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x53
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x39
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0xc7
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 6
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xa7
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0xd6
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xe9
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x94
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x14
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 3
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xbe
add esp, 0x40
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x37
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x27
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x21
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x4c
add esp, 0x30
inc esi
cmp esi, edi
jb 0x414fd0
pop ebx
pop edi
pop esi
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x453329
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x45333a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405920
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49c7e2
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49c7f3
pop esi
ret
push ebx
push edi
push esi
call fcn.0049c6c9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fe9
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49c81b
push ebx
push esi
push edi
call fcn.00405713
add esp, 0xc
push 0
call fcn.00406262
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret