joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1012475
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x10015e0
call fcn.010127c8
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x10124b2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10124b2
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x10124ca
cmp eax, 0x20b
je 0x10124b7
mov dword [ebp - 0x1c], ebx
jmp 0x10124de
cmp dword [ecx + 0x84], 0xe
jbe 0x10124b2
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x10124d8
cmp dword [ecx + 0x74], 0xe
jbe 0x10124b2
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1015010], 0xffffffff
or dword [0x1015014], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x101500c]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1015008]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1015018], eax
call fcn.010127c2
cmp dword [0x10149d0], ebx
jne 0x1012539
push fcn.010127c2
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.010127b0
push 0x1001234
push 0x1001230
call sub.msvcrt.dll__initterm
mov eax, dword [0x1015004]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x1015000]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x30], eax
push 0x100122c
push 0x1001228
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
cmp byte [esi], 0x22
jne 0x10125cf
inc esi
mov dword [ebp - 0x34], esi
mov al, byte [esi]
cmp al, bl
je 0x10125a3
cmp al, 0x22
jne 0x1012595
cmp byte [esi], 0x22
jne 0x10125ac
inc esi
mov dword [ebp - 0x34], esi
mov al, byte [esi]
cmp al, bl
je 0x10125b6
cmp al, 0x20
jbe 0x10125a8
mov dword [ebp - 0x4c], ebx
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x4c], 1
je 0x10125da
movzx eax, word [ebp - 0x48]
jmp 0x10125dd
cmp byte [esi], 0x20
jbe 0x10125ac
inc esi
mov dword [ebp - 0x34], esi
jmp 0x10125cf
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call main
mov esi, eax
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x10125fa
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x101262f
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01012801
ret

Function at 0x10001430
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10003020]
jne 0x1000143a
repz ret
jmp fcn.100017d0
Function at 0x6d841c2a
Capabilities:
Check mutex on windows

Disassembly:
push 0x428
push 0x6d85a6b0
call fcn.6d84a590
xor ebx, ebx
cmp dword [0x6d85ea68], ebx
jne 0x6d841d87
mov dword [ebp - 0x438], ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x328], bl
mov esi, dword [sym.imp.kernel32.dll_GetCurrentProcessId]
call esi
push eax
push str.java_plug_in_multi_versioning_mutex:ver1.1_d
lea eax, [ebp - 0x328]
push eax
call fcn.6d84e4e3
add esp, 0xc
lea eax, [ebp - 0x328]
push eax
push ebx
push ebx
call dword [sym.imp.kernel32.dll_CreateMutexA]
mov dword [ebp - 0x438], eax
push 0xffffffffffffffff
push eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov byte [ebp - 0x120], bl
call esi
push eax
push str.java_plug_in_jvm_loaded:ver1.1_d
lea eax, [ebp - 0x120]
push eax
call fcn.6d84e4e3
add esp, 0xc
mov byte [ebp - 0x224], bl
call esi
push eax
push str.java_plug_in_10.0.0_jvm_loaded:ver1.1_d
lea eax, [ebp - 0x224]
push eax
call fcn.6d84e4e3
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
push ebx
mov edi, 0x1f0003
push edi
mov esi, dword [sym.imp.kernel32.dll_OpenEventA]
call esi
mov dword [ebp - 0x430], eax
cmp eax, ebx
je 0x6d841d23
lea eax, [ebp - 0x224]
push eax
push ebx
push edi
call esi
mov dword [ebp - 0x434], eax
cmp eax, ebx
jne 0x6d841d23
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x6d85dbf4
call fcn.6d84a780
add esp, 0xc
xor eax, eax
jmp 0x6d841d8c
push 0x104
lea eax, [ebp - 0x42c]
push eax
push dword [0x6d85ea6c]
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
lea eax, [ebp - 0x120]
push eax
xor edi, edi
inc edi
push edi
push ebx
push ebx
mov esi, dword [sym.imp.kernel32.dll_CreateEventA]
call esi
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x224]
push eax
push edi
push ebx
push ebx
call esi
mov dword [ebp - 0x434], eax
mov dword [0x6d85ea68], edi
mov dword [ebp - 4], 0xfffffffe
call fcn.6d841d94
mov eax, dword [0x6d85ea68]
call fcn.6d84a5d8
ret
Function at 0x6d842183
Capabilities:
Delete registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x6d85dbf4]
xor eax, ebp
mov dword [ebp + 0x19c], eax
push ebx
push esi
push edi
mov edi, 0x6d85d1ac
xor ebx, ebx
mov eax, dword [edi - 4]
mov esi, dword [edi + 4]
mov dword [ebp - 0x80], eax
mov eax, dword [edi]
mov dword [ebp - 0x70], eax
cmp esi, 0xffffffff
jne 0x6d8421fa
lea eax, [ebp + 0x98]
push eax
mov byte [ebp + 0x98], bl
call fcn.6d841ea4
pop ecx
test eax, eax
je 0x6d842276
push dword [0x6d85d1a4]
lea eax, [ebp + 0x98]
push eax
lea eax, [ebp - 0x6c]
push str._s_s
push eax
mov byte [ebp - 0x6c], bl
call fcn.6d84e4e3
add esp, 0x10
lea esi, [ebp - 0x6c]
push ebx
push ebx
push 0x2001f
push ebx
push ebx
push dword [ebp - 0x80]
lea ecx, [ebp - 0x7c]
push 0x80000000
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
call fcn.6d84e4e3
cmp eax, ebx
jne 0x6d84226e
push 0xffffffffffffffff
push ebx
push dword [ebp - 0x70]
lea ecx, [ebp - 0x7c]
cmp esi, ebx
je 0x6d842237
push esi
call fcn.6d84e4e3
mov esi, eax
jmp 0x6d84224f
push 0x6d855641
call fcn.6d84e4e3
push dword [ebp - 0x70]
mov esi, eax
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp esi, ebx
jne 0x6d84226e
lea ecx, [ebp - 0x7c]
call fcn.6d841078
add edi, 0x10
cmp edi, 0x6d85d23c
jl 0x6d8421a8
xor eax, eax
jmp 0x6d84227b
lea ecx, [ebp - 0x7c]
call fcn.6d841078
mov eax, 0x80040201
mov ecx, dword [ebp + 0x19c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d84a2c3
add ebp, 0x1a0
leave
ret

Function at 0x6d842670
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x6d85dbf4]
xor eax, ebp
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0xa8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.6d84e4e3
mov ebx, eax
cmp ebx, esi
je 0x6d8426e3
lea ecx, [ebp - 0x74]
call fcn.6d841078
mov eax, ebx
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d84a2c3
add ebp, 0xa0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x6d8426fb
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.6d842670
cmp eax, esi
jne 0x6d84272d
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x68], 0x100
call ebx
test eax, eax
je 0x6d8426eb
lea ecx, [ebp - 0x74]
call fcn.6d841078
push dword [ebp - 0x78]
mov ecx, edi
call fcn.6d84192a
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.6d841078
mov eax, esi
jmp 0x6d8426c9

Function at 0x6d8429e4
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8
Function at 0x6d8466da
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
sub esp, 0x400
lea ebp, [esp - 4]
mov eax, dword [0x6d85dbf4]
xor eax, ebp
mov dword [ebp + 0x400], eax
push 0x6c
mov eax, 0x6d854b18
call fcn.6d84a2d2
mov esi, ecx
xor ecx, ecx
inc ecx
cmp dword [esi + 0x98], ecx
je 0x6d846875
xor ebx, ebx
push ebx
push 0x6d841abe
push dword [esi + 0x50]
mov dword [esi + 0x98], ecx
push 0x65
push dword [0x6d85ea6c]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp eax, 0x2711
jne 0x6d846875
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ebx
mov esi, dword [esi + 0x14]
mov eax, dword [esi]
lea ecx, [ebp - 0x1c]
push ecx
push 0x6d856b60
push esi
mov byte [ebp - 4], 3
call dword [eax]
cmp eax, ebx
jne 0x6d846795
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x6d856b50
push 0x6d856b40
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
call dword [ecx + 0x78]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
call dword [ecx + 0x98]
mov eax, dword [ebp - 0x18]
mov edi, dword [sym.imp.kernel32.dll_lstrlenW]
mov byte [ebp], bl
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x6d8467b3
push eax
call edi
inc eax
cmp eax, 0x3fffffff
jle 0x6d8467b8
mov dword [ebp - 0x20], ebx
jmp 0x6d8467d3
lea esi, [eax + eax]
mov eax, esi
call fcn.6d84ae20
mov eax, esp
push 3
push esi
push dword [ebp - 0x24]
push eax
call fcn.6d84e4e3
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x6d8467e8
push eax
call edi
inc eax
cmp eax, 0x3fffffff
jle 0x6d8467ec
xor eax, eax
jmp 0x6d846804
lea esi, [eax + eax]
mov eax, esi
call fcn.6d84ae20
mov eax, esp
push 3
push esi
push dword [ebp - 0x24]
push eax
call fcn.6d84e4e3
push dword [ebp - 0x20]
push eax
lea eax, [ebp]
push 0x6d8563d4
push eax
call fcn.6d84e4e3
push 0x44
pop esi
push esi
lea eax, [ebp - 0x78]
push ebx
push eax
call fcn.6d84a3a0
add esp, 0x1c
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x78]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp]
push eax
push ebx
mov dword [ebp - 0x78], esi
call dword [sym.imp.kernel32.dll_CreateProcessA]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x6d846854
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x6d846865
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x18]
call esi
xor eax, eax
lea esp, [ebp - 0x88]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x400]
xor ecx, ebp
call fcn.6d84a2c3
add ebp, 0x404
leave
ret 0x10
Function at 0x6d849663
Capabilities:
Accept command line arguments

Disassembly:
push ebp
sub esp, 0x100
lea ebp, [esp - 4]
mov eax, dword [0x6d85dbf4]
xor eax, ebp
mov dword [ebp + 0x100], eax
push 0x28
mov eax, 0x6d854cc7
call fcn.6d84a2d2
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov esi, 0x20019
push esi
push str.SOFTWARE
push SysStringLen
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.6d84e4e3
test eax, eax
je 0x6d849704
lea ecx, [ebp - 0x24]
call fcn.6d841078
lea ecx, [ebp - 0x18]
call fcn.6d841078
lea ecx, [ebp - 0x30]
call fcn.6d841078
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x100]
xor ecx, ebp
call fcn.6d84a2c3
add ebp, 0x104
leave
ret
mov dword [ebp - 0x34], 0x100
xor edi, edi
call dword [sym.imp.kernel32.dll_GetCommandLineA]
push str.etscp
push eax
call fcn.6d84b080
pop ecx
pop ecx
push esi
lea ecx, [ebp - 0x18]
test eax, eax
je 0x6d849776
push str.Netscape
push dword [ebp - 0x30]
call fcn.6d84e4e3
lea ecx, [ebp - 0x24]
test eax, eax
jne 0x6d8496ca
push esi
push str.Netscape_6
push dword [ebp - 0x18]
call fcn.6d84e4e3
lea ecx, [ebp - 0x24]
test eax, eax
jne 0x6d8496ca
lea eax, [ebp - 0x34]
push eax
push 0x6d856a5c
lea eax, [ebp]
push eax
call fcn.6d84e4e3
test eax, eax
jne 0x6d8496c7
push 0x6d856a6c
jmp 0x6d8497be
push str.mozilla.org
push dword [ebp - 0x30]
call fcn.6d84e4e3
lea ecx, [ebp - 0x24]
test eax, eax
jne 0x6d8496ca
push esi
push str.Mozilla
push dword [ebp - 0x18]
call fcn.6d84e4e3
test eax, eax
jne 0x6d8497cc
lea eax, [ebp - 0x34]
push eax
push str.CurrentVersion
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x24]
call fcn.6d84e4e3
test eax, eax
jne 0x6d8497cc
push 0x6d856a94
lea eax, [ebp]
push eax
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
js 0x6d8497cf
xor edi, edi
inc edi
mov eax, edi
dec eax
mov byte [0x6d85eaf0], bl
je 0x6d8497f9
lea ecx, [ebp - 0x24]
call fcn.6d841078
lea ecx, [ebp - 0x18]
call fcn.6d841078
lea ecx, [ebp - 0x30]
call fcn.6d841078
mov eax, ebx
jmp 0x6d8496e1
push str.jpioji.dll
push 0x6d85eaf0
call dword [sym.imp.kernel32.dll_lstrcatA]
mov esi, 0x6d8555e8
mov edi, 0x6d85eae0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor ebx, ebx
movsd dword es:[edi], dword [esi]
inc ebx
jmp 0x6d8497da
Function at 0x6d84981c
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x44d4]
mov eax, 0x44d4
call fcn.6d84ad00
push 0xffffffffffffffff
push 0x6d854cf7
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x6d85dbf4]
xor eax, ebp
mov dword [ebp + 0x44d0], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp + 0x43cd]
push ebx
push eax
mov byte [ebp + 0x43cc], bl
call fcn.6d84a3a0
push esi
lea eax, [ebp + 0x42c9]
push ebx
push eax
mov byte [ebp + 0x42c8], bl
call fcn.6d84a3a0
push 0x1f9f
lea eax, [ebp + 1]
push ebx
push eax
mov byte [ebp], bl
call fcn.6d84a3a0
push 0x2327
lea eax, [ebp + 0x1fa1]
push ebx
push eax
mov byte [ebp + 0x1fa0], bl
call fcn.6d84a3a0
add esp, 0x30
inc esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
push 0x20019
push str.SOFTWAREJavaSoftJava_Runtime_Environment1.7.0
push SysStringLen
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.6d84e4e3
lea ecx, [ebp - 0x18]
test eax, eax
je 0x6d84990b
call fcn.6d841078
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp + 0x44d0]
xor ecx, ebp
call fcn.6d84a2c3
add ebp, 0x44d4
leave
ret
lea eax, [ebp - 0x1c]
push eax
push str.JavaHome
lea eax, [ebp + 0x43cc]
push eax
call fcn.6d84e4e3
test eax, eax
je 0x6d849930
lea ecx, [ebp - 0x18]
call fcn.6d841078
mov eax, ebx
jmp 0x6d8498e9
push esi
lea eax, [ebp + 0x42c8]
push eax
lea eax, [ebp + 0x43cc]
push eax
call dword [sym.imp.kernel32.dll_GetShortPathNameA]
push 0x1fa0
lea eax, [ebp]
push eax
push 0x6d856ad8
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
lea eax, [ebp]
push eax
lea eax, [ebp + 0x42c8]
push eax
lea eax, [ebp + 0x1fa0]
push str._s_bin__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp + 0x1fa0]
push eax
push str.PATH
call dword [sym.imp.kernel32.dll_SetEnvironmentVariableA]
xor ebx, ebx
inc ebx
jmp 0x6d849924

Function at 0x6d849ca0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x6d85ec1c], 0
push esi
push edi
jne 0x6d849c16
call fcn.6d849b82
test eax, eax
je 0x6d849c5b
mov eax, dword [0x6d85ec1c]
cmp eax, 1
jne 0x6d849c37
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x6d849c5b
jmp 0x6d849c9d
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x6d849c9d
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x6d849c5f
xor eax, eax
jmp 0x6d849c9d
mov eax, dword [esi]
push dword [0x6d85ec1c]
call edi
mov edi, eax
test edi, edi
je 0x6d849c81
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x6d849c9d
lea edi, [esi + 0xff0]
push esi
push dword [0x6d85ec1c]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x6d849c87
mov eax, esi
pop edi
pop esi
ret
jmp 0x6d849c02
Function at 0x6d84a2c3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d85dbf4]
jne 0x6d84a2cd
repz ret
jmp fcn.6d84c78c
Function at 0x4039c1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x4039d0
pop dword [ebp - 0x18]
mov eax, 0x1c2e7655
add eax, 0xe411c37b
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x7f9ca059
sub dword [ebp - 0x28], 0x314a5b0e
mov dword [ebp - 0x24], 0x286bdce3
sub dword [ebp - 0x24], 0xf638909e
mov dword [ebp - 0x20], 0x3ffa5654
add dword [ebp - 0x20], 0xc51edda
mov dword [ebp - 0x1c], 0x3970336f
add dword [ebp - 0x1c], 0xc68fcc91
lea eax, [ebp - 0x28]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x93964993
add dword [ebp - 0x28], 0xe0dc1fc3
mov dword [ebp - 0x24], 0xa4d0deca
add dword [ebp - 0x24], 0x9c9b82ab
mov dword [ebp - 0x20], 0x30eeeaba
sub dword [ebp - 0x20], 0xcd7f7e4e
mov dword [ebp - 0x1c], 0xe37c35e8
sub dword [ebp - 0x1c], 0xe37c35e8
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0xd25125e9
sub eax, 0xd210e561
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x342a8
push 0
call eax
mov ecx, 0x9142c3e0
sub ecx, 0x9142860f
xor ebx, ebx
add ebx, eax
mov edx, 0x73432816
sub edx, 0x7302a016
add edx, dword [ebp - 0x18]
mov edi, 0xb8d77f2f
sub edi, 0x49dd522f
add dword [ebp - 0xc], esi
mov esi, dword [edx]
xor dword [ebp - 0xc], 0x749d8f17
add esi, edi
add dword [ebp - 0xc], 0x132b6885
mov dword [ebx], esi
xor dword [ebp - 0x14], ecx
add ebx, 0xc3182859
sub ebx, 0xc3182855
add edx, 4
loop 0x403aef
add eax, 0xea17
xor ebx, ebx
add ebx, eax
add eax, 0xd7950e59
add eax, 0x286af1ac
mov ecx, 0x828bb001
add ecx, 0x7db44fff
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x4209ab
Capabilities:
Parse pe header

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

Function at 0x433160
Capabilities:
Parse pe header

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

Function at 0x4038fa
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
add ecx, 4
mov dword [0x4040fa], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404658], eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4045ec], eax
mov dword [0x4040f2], eax
mov dword [0x4045d8], 0x30
mov dword [0x4045dc], 2
jmp 0x40393f
mov dword [0x4045e0], 0x403153
mov dword [0x4045e4], 0
mov dword [0x4045e8], 0
mov dword [0x404600], 0x40454e
mov dword [0x4045f8], 0xf
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4045f0], eax
mov dword [0x404604], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4045f4], eax
push 0x4045d8
fadd dword [ebp + 0x40]
add bh, bh
adc eax, sym.imp.user32.dll_RegisterClassExA
push 0
push dword [0x4040f2]
push 0
push 0
push 0x1e5
push 0x203
push 0xfffff98e
push 0xfffff9c0
push 0xcf0000
push str.asdlkjalsdj_ai8
push 0x40454e
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404650], eax
push 5
push dword [0x404650]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404650]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404608]
jmp 0x403a13
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x403a05
mov eax, dword [0x404610]
jmp 0x403a2e
call 0x402bd5
ret

Function at 0x1000b4b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x1000b4bf
pop dword [ebp - 0x38]
mov eax, 0x1000b4bf
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x36805
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0xa7b11537
sub ecx, 0xa7b0cf9d
mov ebx, eax
mov esi, 0xd8c9b2eb
add esi, 0x3737e515
add esi, dword [ebp - 0x38]
mov edi, 0xc0e3a2a1
sub edi, 0x25a75d62
add dword [ebp - 0x2c], edx
mov edx, dword [esi]
xor dword [ebp - 0x14], eax
add edx, edi
mov dword [ebx], edx
add ebx, 4
add esi, 0x59a55cd6
add esi, 0xa65aa32e
loop 0x1000b514
add eax, 0x1093b
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x40d910
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x481a8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004766b8
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40d992
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004745ca
mov eax, dword [eax]
push 0x569cb8
push eax
call fcn.00467074
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00476943
test bl, bl
je 0x40d992
push 0x569cb8
lea ecx, [esp + 0xc]
call fcn.00476cd3
push 0x569cc4
lea ecx, [esp + 0xc]
call fcn.00476cd3
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40d9ce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00476943
jmp 0x40da99
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40da52
lea edx, [esp + 0x7c]
push 0x569cc0
push edx
call fcn.00467074
add esp, 8
test eax, eax
je 0x40da52
lea eax, [esp + 0x7c]
push 0x569cbc
push eax
call fcn.00467074
add esp, 8
test eax, eax
je 0x40da52
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40d9e2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00476943
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40e2a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40e302
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc