joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10015790
Capabilities:
Get system information on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002528b
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
mov eax, dword [0x1002f00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x80000
mov dword [0x1002fd00], 0x100278d0
mov dword [0x1002fd08], 0x10027a34
push 0
mov dword [ebp - 0x14], 0x1002fd00
mov dword [0x1002fd1c], 1
mov dword [0x1002fd18], 0x100
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x10015807
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea eax, [ecx + 0x80000]
mov dword [0x1002fd14], ecx
mov dword [0x1002fd10], eax
mov edx, 0x7ff
mov eax, dword [0x1002fd18]
mov dword [0x1002fd0c], ecx
nop dword [eax + eax]
add eax, ecx
mov dword [ecx], eax
mov eax, dword [0x1002fd18]
add ecx, eax
sub edx, 1
jne 0x10015830
mov dword [ecx], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], 0x1002fd20
mov dword [ebp - 0x18], 0x1002fd20
mov dword [ebp - 0x1c], 0x1002fd20
mov dword [0x1002fd20], 0x100266cc
mov dword [0x1002fd24], edx
mov dword [0x1002fd28], edx
mov byte [ebp - 4], 1
mov dword [0x1002fd20], 0x100265d0
mov dword [0x1002fd2c], edx
mov dword [0x1002fd34], edx
mov dword [0x1002fd30], edx
mov dword [0x1002fd38], 0x40
mov byte [ebp - 4], 2
mov dword [0x1002fd38], 0x80
mov byte [ebp - 4], 5
mov dword [0x1002fd3c], edx
mov byte [ebp - 4], 6
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x1002fd50
mov dword [ebp - 0x20], 0x1002fd50
call esi
mov byte [ebp - 4], 7
mov dword [0x1002fd68], 0
mov byte [ebp - 4], 8
push 0x1002fd74
mov dword [ebp - 0x24], 0x1002fd74
call esi
mov byte [ebp - 4], 9
mov dword [0x1002fd8c], 0x3e8
mov dword [ebp - 0x28], 0x1002fda0
mov dword [ebp - 0x2c], 0x1002fda0
mov dword [0x1002fda0], 0x100266cc
mov dword [0x1002fda4], 0
mov dword [0x1002fda8], 0
mov byte [ebp - 4], 0xa
mov dword [0x1002fda0], 0x100265d0
mov dword [0x1002fdac], 0
mov dword [0x1002fdb4], 0
mov dword [0x1002fdb0], 0
mov dword [0x1002fdb8], 0x40
mov byte [ebp - 4], 0xb
mov dword [0x1002fdb8], 0x80
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x3c]
mov dword [0x1002fd94], 0x3e80
mov dword [0x1002fd98], 1
mov dword [0x1002fd9c], 0
lea eax, [eax*2 + 2]
mov dword [0x1002fd90], eax
mov byte [ebp - 4], 0xe
push 0x1002fdbc
call esi
mov byte [ebp - 4], 0xf
push ecx
mov ecx, 0x1002fdd4
call fcn.100148c0
mov byte [ebp - 4], 0x10
mov dword [0x1002fd40], 0
mov dword [0x1002fdfc], 0
movsd xmm0, qword [0x100280b8]
movsd qword [0x1002fd48], xmm0
xorps xmm0, xmm0
mov dword [0x1002fe00], 0
mov dword [0x1002fe04], 0
mov dword [0x1002fe08], 0
mov dword [0x1002fd44], 0
movq qword [0x1002fd6c], xmm0
mov dword [ebp - 4], 0xffffffff
mov eax, 0x1002fd00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10018e80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002568d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x1002f00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x30], vtable.CVolCommonBaseWithMemManager.0
mov dword [ebp - 0x30], vtable.CVolObject.0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], vtable.CVolMem.0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0x40
mov dword [ebp - 4], 1
mov eax, dword [ebx + 0x14]
mov esi, dword [ebp - 0x18]
lea edi, [eax*4 + 6]
mov eax, edi
cdq
idiv esi
mov eax, dword [ebp - 0x30]
sub esi, edx
add esi, edi
push esi
mov eax, dword [eax]
cmp eax, method.CWString.virtual_0
jne 0x10018f36
mov ecx, 0x1002fd08
call fcn.10019650
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x10018f3e
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea ecx, [ebp - 0x30]
call eax
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], edi
mov esi, eax
mov dword [ebp - 0x24], eax
mov word [eax], cx
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebx + 0xc]
xor ebx, ebx
cmp dword [ecx + 0x14], ebx
jle 0x10018f84
nop dword [eax + eax]
movzx eax, byte [edi]
push eax
push str._02X
push esi
call fcn.10016fc0
mov eax, dword [ebp - 0x14]
lea edi, [edi + 1]
inc ebx
add esp, 0xc
add esi, 4
cmp ebx, dword [eax + 0x14]
jl 0x10018f60
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x10018f9b
cmp dword [edi + 0x24], ecx
mov ecx, 0x100269ac
je 0x10018f9b
mov ecx, dword [edi + 0x1c]
cmp eax, ecx
je 0x10018fde
mov dword [edi + 0xc], 0
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x10018fba
mov eax, dword [edi + 0x10]
push ecx
lea ecx, [edi + 0x10]
call dword [eax + 0xc]
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x1c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x20], 0
cmp word [eax], 0
je 0x10018fde
push eax
lea ecx, [edi + 0x10]
call fcn.10018c10
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x30], vtable.CVolMem.0
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x10019019
mov eax, dword [ebp - 0x30]
push edx
mov eax, dword [eax + 0xc]
cmp eax, method.CWString.virtual_12
jne 0x10019014
mov ecx, 0x1002fd08
call fcn.10019740
jmp 0x10019019
lea ecx, [ebp - 0x30]
call eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov dword [ebp - 0x30], vtable.CVolObject.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x406080
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ebx, eax
cmp byte [ebx], 0
jne 0x4060b2
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ebx, [ebp - 0x10c]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push ebx
call fcn.00405ef0
add esp, 0x14
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
lea eax, [edx + eax*4]
push eax
call fcn.00403d00
pop ecx
mov esi, eax
test esi, esi
jne 0x4060e5
push 1
call fcn.00405930
pop ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
lea eax, [esi + eax*4]
push eax
push esi
push ebx
jmp 0x46d08c

Function at 0x406120
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test eax, eax
jne 0x40613b
mov ebx, dword [0x40d890]
mov esi, ebx
xor ecx, ecx
jmp 0x40615e
mov edx, esi
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x406146
inc eax
mov dword [ebp - 4], eax
cmp byte [esi], 0x3d
je 0x406159
add ecx, dword [ebp - 4]
mov eax, dword [ebp - 4]
add esi, eax
cmp byte [esi], 0
jne 0x406141
lea eax, [ecx + 1]
push eax
call fcn.00403d00
pop ecx
mov edi, eax
mov dword [0x40d270], eax
cmp dword [0x40d270], 0
jne 0x406185
push 1
call fcn.00405930
pop ecx
mov esi, ebx
jmp 0x4061ba
mov edx, esi
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x40618e
inc eax
mov dword [ebp - 4], eax
cmp byte [esi], 0x3d
je 0x4061b5
mov ecx, edi
mov edx, esi
push ecx
sub ecx, edx
mov al, byte [edx]
mov byte [ecx + edx], al
inc edx
test al, al
jne 0x4061a5
pop eax
mov eax, dword [ebp - 4]
add edi, eax
mov eax, dword [ebp - 4]
add esi, eax
cmp byte [esi], 0
jne 0x406189
mov byte [edi], 0
cmp ebx, dword [0x40d890]
je 0x4061d1
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4013e0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10004
call fcn.00402400
mov eax, dword [0x413100]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
push 0xfffc
push eax
mov word [ebp - 0x10004], ax
lea eax, [ebp - 0x10002]
push eax
call fcn.00402430
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x7fff
lea eax, [ebp - 0x10004]
push eax
push str.STEAM_COMPAT_PROTON
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
push 0
setne bl
call dword [sym.imp.KERNEL32.dll_SetLastError]
test bl, bl
pop ebx
jne 0x401460
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004023e9
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10004]
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.004023e9
mov esp, ebp
pop ebp
ret

Function at 0x401510
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20004
call fcn.00402400
mov eax, dword [0x413100]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xfffe
lea eax, [ebp - 0x20004]
push 0
push eax
call fcn.00402430
push 0xfffe
lea eax, [ebp - 0x10004]
push 0
push eax
call fcn.00402430
add esp, 0x18
lea eax, [ebp - 0x20004]
push 0x7fff
push eax
push 0x40e260
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push 0x4141e0
lea eax, [ebp - 0x10004]
push 0x7fff
push eax
call fcn.00402342
lea eax, [ebp - 0x20004]
push 0x7fff
push eax
call fcn.004023ae
add esp, 0x14
test eax, eax
je 0x4015c6
push 0x40e25c
lea eax, [ebp - 0x10004]
push 0x7fff
push eax
call fcn.00402342
lea eax, [ebp - 0x20004]
push eax
lea eax, [ebp - 0x10004]
push 0x7fff
push eax
call fcn.00402342
add esp, 0x18
lea eax, [ebp - 0x10004]
push eax
push 0x40e260
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004023e9
mov esp, ebp
pop ebp
ret
Function at 0x4087ca
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x413100]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [section..data]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004043dd
mov dword [ebp - 0x14], eax
cmp dword [0x424f30], esi
jne 0x4088bd
push 0x800
push esi
push 0x40f9c4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40884a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40899d
push esi
push esi
push 0x40f9c4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40899d
push 0x40f9dc
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40899d
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x424f30], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x424f34], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x424f38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x424f40], eax
test eax, eax
je 0x4088ba
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x424f3c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4088e2
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4088d5
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4088f7
push 4
pop eax
jmp 0x40899f
cmp dword [ebp - 0x14], esi
je 0x4088f7
push dword [0x424f30]
call dword [0x413004]
push 3
jmp 0x4088dc
mov eax, dword [0x424f3c]
mov ebx, dword [0x413004]
cmp eax, edi
je 0x408955
cmp dword [0x424f40], edi
je 0x408955
push eax
call ebx
push dword [0x424f40]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x408955
test eax, eax
je 0x408955
call ecx
test eax, eax
je 0x40894a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40894a
test byte [ebp - 8], 1
jne 0x408955
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x408985
mov eax, dword [0x424f34]
cmp eax, edi
je 0x408982
push eax
call ebx
test eax, eax
je 0x408982
call eax
mov esi, eax
test esi, esi
je 0x408982
mov eax, dword [0x424f38]
cmp eax, edi
je 0x408982
push eax
call ebx
test eax, eax
je 0x408982
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x424f30]
call ebx
test eax, eax
je 0x40899d
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40899f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004023e9
mov esp, ebp
pop ebp
ret
Function at 0x408ebe
Capabilities:
Get file attributes
Get file size
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
xor eax, eax
push eax
push eax
push 3
push eax
push 7
push closesocket
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x408fa2
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x408f96
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
or ebx, 0xffffffff
mov dword [ebp - 0x18], eax
or eax, ecx
mov dword [ebp - 0x14], ecx
je 0x408fa2
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x408fa2
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 8], eax
and dword [ebp - 8], 1
je 0x408f3e
and eax, 0xfffffffe
push eax
push edi
call esi
test byte [ebp + 0x14], 1
jne 0x408f67
cmp dword [ebp - 0x14], 0
ja 0x408f53
cmp dword [ebp - 0x18], 0x180000
jb 0x408f67
push dword [ebp + 0x14]
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
push edi
push dword [ebp + 0xc]
call fcn.00408c42
jmp 0x408f79
push dword [ebp + 0x14]
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
push edi
push dword [ebp + 0xc]
call fcn.00408782
add esp, 0x10
cmp dword [ebp - 8], 0
mov dword [ebp - 4], eax
je 0x408fa2
push dword [ebp - 0xc]
test eax, eax
je 0x408f93
push dword [ebp + 0x10]
call esi
jmp 0x408fa2
push edi
call esi
cmp ebx, 0xffffffff
je 0x408fa2
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
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 0x40f69d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [ebx + 0x40fffffc], edi
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.0040ee30
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040ede5
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.0040ee30
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040ede5
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
Function at 0x406550
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x4334c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x4343bc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x24c], ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x434100]
cmp eax, dword [ecx + 4]
jg 0x406717
cmp dword [0x433498], 0
jne 0x4066fa
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
call fcn.00407330
test al, al
jne 0x406609
push esi
lea eax, [ebp - 0x1c]
push str._05d
push eax
call fcn.00401250
mov esi, eax
add esp, 0xc
cmp esi, 0x433488
je 0x4066f1
mov ecx, dword [0x43349c]
cmp ecx, 0xf
jbe 0x4066ae
mov edx, dword [0x433488]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4066a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40674d
jmp 0x4066a4
push edi
push 0
push 2
mov dword [ebp - 0x24c], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x228
mov edi, eax
lea eax, [ebp - 0x244]
push 0
push eax
call fcn.0040fb90
add esp, 0xc
mov dword [ebp - 0x248], 0x22c
lea eax, [ebp - 0x248]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x406677
cmp dword [ebp - 0x240], esi
je 0x40666b
lea eax, [ebp - 0x248]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x406650
jmp 0x406677
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x24c], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push dword [ebp - 0x24c]
lea eax, [ebp - 0x1c]
push str._05d__05d
push eax
call fcn.00401250
add esp, 0x10
mov esi, eax
cmp esi, 0x433488
pop edi
jmp 0x4065c6
push ecx
push edx
call fcn.0040e163
add esp, 8
mov dword [0x433498], 0
mov dword [0x43349c], 0xf
mov byte [0x433488], 0
movups xmm0, xmmword [esi]
movups xmmword [0x433488], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x433498], xmm0
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov dword [esi + 0x14], 0xf
lea ecx, [ebp - 0x1c]
call fcn.004014b0
pop esi
push 0x433488
mov ecx, ebx
call fcn.004027e0
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0040e171
mov esp, ebp
pop ebp
ret
push 0x434100
call fcn.0040e444
add esp, 4
cmp dword [0x434100], 0xffffffff
jne 0x40658d
push 0x427520
call fcn.0040e3de
push 0x434100
call fcn.0040e3f3
add esp, 8
jmp 0x40658d
call fcn.0041157f
int3
Function at 0x406760
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426766
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x4334c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x24c], esi
call fcn.0040fb90
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x218]
push 0x7e
push eax
call fcn.0040f890
lea ecx, [ebp - 0x218]
add esp, 8
mov edx, eax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4067e5
sub ecx, edi
mov dword [ebp - 0x220], 0
sar ecx, 1
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 0
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x230]
movups xmmword [ebp - 0x230], xmm0
push eax
test edx, edx
je 0x4068de
call fcn.00401f10
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.0040b960
push eax
push esi
mov byte [ebp - 4], 1
call fcn.00406d70
mov ecx, dword [ebp - 0x234]
add esp, 0x10
cmp ecx, 0xf
jbe 0x40688f
mov edx, dword [ebp - 0x248]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406885
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406923
push ecx
push edx
call fcn.0040e163
add esp, 8
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x406906
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4068fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406923
jmp 0x4068fc
call fcn.00401f10
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 2
push eax
push esi
call fcn.0040b960
add esp, 8
jmp 0x4068aa
push ecx
push edx
call fcn.0040e163
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040e171
mov esp, ebp
pop ebp
ret
call fcn.0041157f
int3
Function at 0x40ebc0
Capabilities:
Parse pe header

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

Function at 0x419cc4
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00419c46

Function at 0x41c55e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x434a98]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41c59e
cmp byte [ebx], 0xa
jne 0x41c59e
or byte [edi + eax + 0x28], 4
jmp 0x41c5a3
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x41c6a2
mov dl, byte [eax]
cmp dl, 0x1a
je 0x41c685
inc eax
cmp dl, 0xd
je 0x41c5cf
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x41c5f5
cmp eax, ecx
jae 0x41c603
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x41c5b7
jmp 0x41c6a2
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41c680
cmp dword [ebp - 0x10], 0
je 0x41c680
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x434a98]
test byte [eax + edi + 0x28], 0x48
je 0x41c65a
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41c645
mov byte [esi], dl
jmp 0x41c656
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x434a98]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41c6a2
cmp byte [ebp - 1], 0xa
jne 0x41c669
cmp esi, ebx
jne 0x41c669
mov byte [esi], 0xa
jmp 0x41c6a1
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041cfad
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41c6a2
mov byte [esi], 0xd
jmp 0x41c6a1
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x434a98]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41c69f
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41c6a2
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret