joyce8/EMBER2024-capa huggingface dataset:
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 0x401ae8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebx, section..text
push 0x67
push dword [0x4028f4]
call dword [sym.imp.USER32.dll_LoadBitmapA]
sub ebx, 0x1000
mov dword [0x4028f4], ebx
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x401b11
push esp
mov eax, str.contents
mov dword [ebp - 4], eax
lea eax, [0x401187]
mov dword [ebp - 0x24], eax
mov ecx, dword [0x4028f4]
mov dword [ebp - 0x18], ecx
call dword [sym.imp.USER32.dll_RegisterClassA]
push 0x67
push dword [0x4028f4]
call dword [sym.imp.USER32.dll_LoadBitmapA]
xor eax, eax
push eax
push dword [0x4028f4]
push eax
push eax
push 0x1f4
push 0x2f4
push 0x578
push 0xce4
push 0
mov ecx, str.frantically
push eax
push str.contents
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x402904], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x402904]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401bc9
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401bb0
pop ebp
ret 0x10
Function at 0x43cf57
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x43ccda
mov ecx, dword [esp]
add esp, 4
inc eax
call fcn.0043cf7f
xor dword [esi], ecx
sub eax, 0x8bced569
sub edi, eax
inc esi
add eax, eax
cmp esi, edx
jne fcn.0043cf57
ret
Function at 0x40102a
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push ebx
push esi
push edi
push str._JAVA_LAUNCHER_DEBUG
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xor ebx, ebx
pop ecx
test eax, eax
je 0x401078
push str.Windows_original_main_args:_n
call fcn.004010f9
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
mov esi, ebx
pop ecx
call edi
cmp dword [eax], ebx
jle 0x401078
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argv]
mov eax, dword [eax]
push dword [eax + esi*4]
push esi
push str.wwwd_args__d____s_n
call fcn.004010f9
add esp, 0xc
inc esi
call edi
cmp esi, dword [eax]
jl 0x401058
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
mov edi, eax
lea ecx, [edi*4 + 4]
push ecx
call sub.jli.dll_JLI_MemAlloc
pop ecx
pop ecx
mov esi, eax
call sub.jli.dll_JLI_GetStdArgs
mov edx, ebx
test edi, edi
jle 0x4010b2
mov ecx, dword [eax + edx*8]
mov dword [esi + edx*4], ecx
inc edx
cmp edx, edi
jl 0x4010a7
mov ecx, dword [str.java]
mov dword [esi + edx*4], ebx
test ecx, ecx
jne 0x4010c1
mov ecx, dword [esi]
mov eax, dword [section..data]
test eax, eax
jne 0x4010cc
mov eax, dword [esi]
push ebx
push ebx
push ebx
push 1
push ecx
push eax
push 0x4021b0
push 0x4021b4
push 0x40300c
push 2
push 0x403004
push 2
push esi
push edi
call sub.jli.dll_JLI_Launch
add esp, 0x38
pop edi
pop esi
pop ebx
ret
Function at 0x40166c
Capabilities:
Create process on windows

Disassembly:
push 0x14
mov eax, 0x40abb9
call fcn.00409c2a
call fcn.00401509
lea eax, [ebp - 0x18]
push eax
mov edi, str.SolvusoftWMDiskOptimizer
call fcn.00401bae
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov edi, str.SolvusoftWMDefragSrv.exe
mov dword [ebp - 4], ebx
call fcn.00401bae
mov byte [ebp - 4], 1
call fcn.0040110b
test al, al
je 0x4016b9
push str.SolvusoftWMDefragSrv64.exe
lea eax, [ebp - 0x14]
push eax
call fcn.00401c56
mov eax, dword [0x40f984]
add eax, 0xfffffff0
call fcn.004020e5
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push 0x40cbe0
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00401de5
pop ecx
pop ecx
mov byte [ebp - 4], 3
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x10]
call fcn.004021cb
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00402447
push ebx
push ebx
push 0x40cbe4
push dword [ebp - 0x10]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0x1c], esp
push eax
mov edi, 0x40cc78
call fcn.00401bae
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x20], esp
mov esi, esp
call fcn.004020e5
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 2
call fcn.004019cb
add esp, 0xc
cmp eax, ebx
setne al
cmp al, bl
jne 0x4017c0
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.00401bae
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov esi, esp
call fcn.004020e5
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 2
call fcn.004019cb
add esp, 0xc
cmp eax, ebx
setne al
cmp al, bl
jne 0x4017c0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00402447
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00402447
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00402447
mov eax, ebx
call fcn.00409c93
ret
xor ebx, ebx
inc ebx
jmp 0x401797
Function at 0x4017c5
Capabilities:
Create process on windows

Disassembly:
push 0x10
mov eax, 0x40ab6e
call fcn.00409c2a
call fcn.00401509
lea eax, [ebp - 0x1c]
push eax
mov edi, str.SolvusoftWMDiskOptimizer
call fcn.00401bae
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov edi, str.SolvusoftWMDefragSrv.exe
call fcn.00401bae
mov byte [ebp - 4], 1
call fcn.0040110b
test al, al
je 0x401811
push str.SolvusoftWMDefragSrv64.exe
lea eax, [ebp - 0x10]
push eax
call fcn.00401c56
mov eax, dword [0x40f984]
add eax, 0xfffffff0
call fcn.004020e5
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push 0x40cbe0
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00401de5
pop ecx
pop ecx
mov byte [ebp - 4], 3
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.004021cb
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00402447
mov esi, dword [ebp - 0x14]
push 0
push 0
push str._Remove
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esi - 0x10]
call fcn.00402447
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00402447
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00402447
xor eax, eax
inc eax
call fcn.00409c93
ret

Function at 0x4018c5
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x7ac]
sub esp, 0x82c
mov eax, dword [0x40e13c]
xor eax, ebp
mov dword [ebp + 0x7a8], eax
push esi
mov esi, dword [ebp + 0x7bc]
push edi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x820
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00403870
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40193f
lea eax, [ebp - 0x80]
push eax
lea edi, [ebp - 0x78]
call fcn.00401bae
lea eax, [ebp - 0x80]
call fcn.00401c06
mov eax, dword [ebp - 0x80]
add eax, 0xfffffff0
call fcn.00402447
lea eax, [ebp - 0x7c]
push eax
mov edi, esi
call fcn.00401bae
lea eax, [ebp - 0x7c]
call fcn.00401cb5
lea eax, [ebp - 0x7c]
call fcn.00401cde
mov eax, dword [ebp - 0x7c]
cmp dword [eax - 0xc], 0
je 0x4019a5
push str.killservice
lea esi, [ebp - 0x7c]
call fcn.00401c8a
test eax, eax
jl 0x401979
call fcn.00401509
push str.installservice
lea esi, [ebp - 0x7c]
call fcn.00401c8a
test eax, eax
jl 0x40198f
call fcn.0040166c
push str.removeservice
lea esi, [ebp - 0x7c]
call fcn.00401c8a
test eax, eax
jl 0x4019a5
call fcn.004017c5
mov eax, dword [ebp - 0x7c]
add eax, 0xfffffff0
call fcn.00402447
mov ecx, dword [ebp + 0x7a8]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00403029
add ebp, 0x7ac
leave
ret 0x10
Function at 0x4023d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4023e7
pop esi
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x40241c
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x402418
cmp edi, eax
jae 0x40241c
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x40240a
cmp edi, eax
jb 0x402420
xor eax, eax
jmp 0x402429
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret

Function at 0x4024cb
Capabilities:
Link many functions at runtime

Disassembly:
or dword [esi + 0x38], 0xffffffff
or dword [esi + 0x3c], 0xffffffff
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ebx, ebx
push edi
mov dword [esi], vtable.CEnumProcess.0
mov byte [esi + 4], bl
push str.Kernel32
mov byte [esi + 5], bl
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x40], eax
cmp eax, ebx
je 0x402595
push 0x40cc90
push eax
mov dword [esi + 0x44], 0x22c
mov dword [esi + 0x270], 0x428
call edi
push str.Process32First
push dword [esi + 0x40]
mov dword [esi + 0x698], eax
call edi
push str.Process32Next
push dword [esi + 0x40]
mov dword [esi + 0x69c], eax
call edi
push str.Module32First
push dword [esi + 0x40]
mov dword [esi + 0x6a0], eax
call edi
push str.Module32Next
push dword [esi + 0x40]
mov dword [esi + 0x6a4], eax
call edi
mov dword [esi + 0x6a8], eax
cmp dword [esi + 0x698], ebx
je 0x402595
cmp dword [esi + 0x69c], ebx
je 0x402595
cmp dword [esi + 0x6a0], ebx
je 0x402595
cmp dword [esi + 0x6a4], ebx
je 0x402595
cmp eax, ebx
je 0x402595
mov byte [esi + 5], 1
push str.PSAPI
call ebp
mov dword [esi + 0xc], eax
cmp eax, ebx
je 0x4025e7
push str.EnumProcesses
push eax
mov dword [esi + 0x10], 0x100
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
call edi
push str.EnumProcessModules
push dword [esi + 0xc]
mov dword [esi + 0x2c], eax
call edi
push str.GetModuleFileNameEx
push dword [esi + 0xc]
mov dword [esi + 0x30], eax
call edi
mov dword [esi + 0x34], eax
cmp dword [esi + 0x2c], ebx
je 0x4025e7
cmp dword [esi + 0x30], ebx
je 0x4025e7
cmp eax, ebx
je 0x4025e7
mov byte [esi + 4], 1
mov ecx, esi
mov dword [esi + 8], ebx
call fcn.0040268e
push 2
pop ecx
mov edx, eax
pop edi
or edx, ecx
pop ebp
pop ebx
cmp eax, edx
jne 0x402602
mov dword [esi + 8], ecx
xor ecx, ecx
inc ecx
mov edx, eax
or edx, ecx
cmp eax, edx
jne 0x402610
mov dword [esi + 8], ecx
mov eax, esi
ret
Function at 0x4029fd
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x40e13c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push dword [ebp + 8]
xor ebx, ebx
push ebx
push 0x10
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x50], eax
cmp eax, ebx
je 0x402a98
push 0xf4
lea eax, [ebp - 0x148]
push ebx
push eax
mov dword [ebp - 0x14c], ebx
call fcn.00403870
mov esi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
add esp, 0xc
push ebx
push 0x40
lea eax, [ebp - 0x4c]
push eax
push edi
push dword [ebp - 0x50]
call esi
mov eax, 0x5a4d
cmp ax, word [ebp - 0x4c]
jne 0x402a7b
push ebx
push 0xf8
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 0x10]
add edi, eax
push edi
push dword [ebp - 0x50]
call esi
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14c], 0x4550
jne 0x402a98
mov eax, dword [ebp - 0x118]
jmp 0x402a9a
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403029
leave
ret 4

Function at 0x403029
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40e13c]
jne 0x403033
repz ret
jmp fcn.00404e2c
Function at 0x407e9d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040483b
and dword [ebp - 4], 0
cmp dword [0x40f868], 0
mov ebx, eax
jne 0x407f4e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407fff
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407fff
push eax
call fcn.004047c9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40f868], eax
call esi
push eax
call fcn.004047c9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40f86c], eax
call esi
push eax
call fcn.004047c9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40f870], eax
call esi
push eax
call fcn.004047c9
pop ecx
mov dword [0x40f878], eax
test eax, eax
je 0x407f4e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004047c9
pop ecx
mov dword [0x40f874], eax
mov eax, dword [0x40f874]
cmp eax, ebx
je 0x407fa6
cmp dword [0x40f878], ebx
je 0x407fa6
push eax
call fcn.00404844
push dword [0x40f878]
mov esi, eax
call fcn.00404844
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x407fa6
test edi, edi
je 0x407fa6
call esi
test eax, eax
je 0x407f9d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407f9d
test byte [ebp - 0xc], 1
jne 0x407fa6
or dword [ebp + 0x10], 0x200000
jmp 0x407fdf
mov eax, dword [0x40f86c]
cmp eax, ebx
je 0x407fdf
push eax
call fcn.00404844
pop ecx
test eax, eax
je 0x407fdf
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407fdf
mov eax, dword [0x40f870]
cmp eax, ebx
je 0x407fdf
push eax
call fcn.00404844
pop ecx
test eax, eax
je 0x407fdf
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40f868]
call fcn.00404844
pop ecx
test eax, eax
je 0x407fff
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408001
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..pdata
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x2d287baf
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
mov eax, section..pdata_1
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x14c65cc5
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x10002de0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10002e39
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10002e39
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x10002e2a
cmp esi, edx
jae 0x10002e39
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x10002e18
cmp esi, edx
jae 0x10002e39
cmp word [esi], 0
je 0x10002e39
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x10003270
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b00b
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x1002b064]
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, ecx
cmp byte [esi + 0x4bc], 0
jne 0x10003483
call fcn.100048c0
test eax, eax
je 0x100033fe
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10008cc0
mov eax, dword [ebp + 8]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x100032da
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.10001700
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10008cc0
mov edi, dword [ebp + 0xc]
add esp, 0x14
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x1000330a
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.10001700
add esp, 8
cmp dword [edi + 0x10], 0
jne 0x10003333
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.100034a0
jmp 0x10003483
xor eax, eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
push 1
push 0x1001c354
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], eax
call fcn.100015e0
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003370
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.10001460
push 2
push 0x1001c358
lea ecx, [ebp - 0x438]
call fcn.10001460
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100033b0
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.10001460
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
mov ecx, esi
cmovae eax, dword [ebp - 0x438]
push eax
call fcn.100034a0
lea ecx, [ebp - 0x438]
call fcn.10001380
jmp 0x10003483
push 0x104
lea edi, [esi + 0xa8]
mov byte [esi + 0x4bc], 1
push 0
push edi
call fcn.10008cc0
mov eax, dword [ebp + 8]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x10003426
mov eax, dword [eax]
push eax
push edi
call fcn.10001700
push 0x104
lea edi, [esi + 0x2b0]
push 0
push edi
call fcn.10008cc0
mov eax, dword [ebp + 0xc]
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x1000344e
mov eax, dword [eax]
push eax
push edi
call fcn.10001700
mov eax, dword [ebp + 0x10]
add esp, 8
mov eax, dword [eax]
mov dword [esi + 0x4b8], eax
lea eax, [ebp - 0x43c]
push eax
push 0
push esi
push 0x10003520
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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.100067b0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100034a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
lea eax, [ebp - 0x10]
mov dword [ebp - 0x54], 0x44
push eax
lea eax, [ebp - 0x54]
xorps xmm0, xmm0
push eax
push 0
push 0
push 0
push 1
push 0
push 0
push dword [ebp + 8]
movlpd qword [ebp - 0x50], xmm0
push 0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
movups xmmword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10003511
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret 4
Function at 0x10003910
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b0e0
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x1002b064]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x274], edi
mov edx, dword [ebp + 8]
xor eax, eax
test edx, edx
je 0x10003aec
mov ecx, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003966
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.100015e0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.10004950
push 0x22c
lea eax, [ebp - 0x26c]
push 0
push eax
call fcn.10008cc0
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x270], ebx
cmp ebx, 0xffffffff
je 0x10003ae0
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x26c], 0x22c
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x10003ad9
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003a00
sub ecx, edx
lea eax, [ebp - 0x248]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.100015e0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
mov ecx, edi
call fcn.10004950
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov ebx, dword [ebp - 0x14]
lea esi, [ebp - 0x28]
cmovae eax, dword [ebp - 0x40]
cmp ebx, 8
mov edi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
cmovae esi, edi
cmp edx, dword [ebp - 0x30]
jne 0x10003a83
test edx, edx
je 0x10003a67
sub esi, eax
mov cx, word [esi + eax]
cmp cx, word [eax]
jne 0x10003a83
add eax, 2
sub edx, 1
jne 0x10003a56
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x264]
lea ecx, [ebp - 0x28]
call fcn.10001380
jmp 0x10003ae2
mov byte [ebp - 4], 0
cmp ebx, 8
jb 0x10003ab7
lea ecx, [ebx*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x10003aad
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003b0a
push ecx
push edi
call fcn.1000679d
add esp, 8
mov ebx, dword [ebp - 0x270]
lea eax, [ebp - 0x26c]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x10003ad9
mov edi, dword [ebp - 0x274]
jmp 0x100039e0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
lea ecx, [ebp - 0x40]
call fcn.10001380
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100067b0
mov esp, ebp
pop ebp
ret 4
call fcn.1000a8e9
int3
Function at 0x100048c0
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x1002b064]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.10008cc0
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 5
jg 0x10004932
cmp dword [ebp - 0x118], 2
jg 0x10004932
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100067b0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.100067b0
mov esp, ebp
pop ebp
ret