joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ff80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4fa2a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4fb44c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4fb44c
call edx
add eax, 0x10
mov dword [esi], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.00436fe0
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 1
push 0
push 0x4d5530
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x410057
lea eax, [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x210]
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0
push str.ChannelID
push eax
mov dword [ebp - 0x218], 1
mov dword [ebp - 0x214], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x410037
push ebx
sub eax, edx
lea edx, [ebp - 0x20c]
sar eax, 1
push edx
push esi
mov ebx, eax
call fcn.00403540
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.0042cf77
mov esp, ebp
pop ebp
ret

Function at 0x410070
Capabilities:
Delete file

Disassembly:
mov eax, dword [0x4ff104]
push ebx
push esi
test eax, eax
jne 0x41009c
push 0x24d8
call fcn.0042d9bc
add esp, 4
test eax, eax
je 0x410095
mov esi, eax
call fcn.00411420
jmp 0x410097
xor eax, eax
mov dword [0x4ff104], eax
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call ebx
cmp byte [edi + 0x2084], 0
je 0x4100bc
lea eax, [edi + 0x208]
push eax
mov ecx, edi
call fcn.00411270
mov eax, dword [0x4ff104]
test eax, eax
jne 0x4100e6
push 0x24d8
call fcn.0042d9bc
add esp, 4
test eax, eax
je 0x4100df
mov esi, eax
call fcn.00411420
jmp 0x4100e1
xor eax, eax
mov dword [0x4ff104], eax
add eax, 0x1658
push eax
call ebx
mov eax, dword [0x4ff104]
test eax, eax
jne 0x410126
push 0x24d8
call fcn.0042d9bc
add esp, 4
test eax, eax
je 0x41011f
mov esi, eax
call fcn.00411420
mov dword [0x4ff104], eax
add eax, 0x1860
push eax
call ebx
pop esi
pop ebx
ret
xor eax, eax
mov dword [0x4ff104], eax
add eax, 0x1860
push eax
call ebx
pop esi
pop ebx
ret
Function at 0x410140
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
push ebx
push esi
push edi
push 0x4d55b4
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push ecx
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
mov edi, eax
mov eax, dword [ebp + 8]
lea edx, [ebp + 8]
push edx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 8

Function at 0x410270
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4fa2a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
mov esi, ecx
mov ebx, edx
call fcn.00436fe0
lea edx, [ebp - 0x20c]
add esp, 0xc
mov eax, esi
sub edx, esi
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4102b0
lea edi, [ebx + 0x208]
mov edx, edi
mov eax, esi
sub edx, esi
jmp 0x4102d0
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4102d0
lea eax, [ebp - 0x20c]
add eax, 0xfffffffe
jmp 0x4102f0
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4102f0
mov ecx, dword [str.program.7z]
mov edx, dword [0x4d5be8]
mov dword [eax], ecx
mov ecx, dword [0x4d5bec]
mov dword [eax + 4], edx
mov edx, dword [0x4d5bf0]
mov dword [eax + 8], ecx
mov ecx, dword [0x4d5bf4]
mov dword [eax + 0xc], edx
mov edx, dword [0x4d5bf8]
push 0
mov dword [eax + 0x10], ecx
push edi
mov dword [eax + 0x14], edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x20c]
push eax
push 0x8d
call fcn.00410140
lea ecx, [ebx + 0x1860]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x410393
push str.UnPackEx2
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41037f
add ebx, 0x1658
push ebx
lea edx, [ebp - 0x20c]
push edx
push edi
call eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042cf77
mov esp, ebp
pop ebp
ret 4
Function at 0x410c90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4fa2a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.00436fe0
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 1
push 0
push 0x4d5530
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x410d2d
lea eax, [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x210]
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0
push str.SetupPath
push eax
mov dword [ebp - 0x218], 1
mov dword [ebp - 0x214], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x20c]
call fcn.00403290
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042cf77
mov esp, ebp
pop ebp
ret

Function at 0x410d50
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0xc
push ebx
lea eax, [ebp - 4]
push eax
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x410de9
push esi
push edi
push ebx
push 2
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, dword [ebp - 4]
mov edi, eax
mov eax, dword [ebp + 8]
push edi
push ebx
push edx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0x4d4c6c
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0xc]
movzx edx, word [eax + 0x10]
movzx ecx, word [eax + 0x12]
movzx edi, word [eax + 0x16]
movzx eax, word [eax + 0x14]
push eax
push edi
push edx
mov edx, dword [ebp + 0xc]
push ecx
push str._d._d._d._d
call fcn.0040be60
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x410ec0
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x4fa2a0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov dword [ebp - 0x438], 0x22c
mov word [ebp - 0x20c], ax
call fcn.00436fe0
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x410f1e
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042cf77
mov esp, ebp
pop ebp
ret
push esi
lea edx, [ebp - 0x438]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x410f66
mov esi, dword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x410f40
lea eax, [ebp - 0x414]
push eax
push str.NeoCell.exe
call fcn.0042f26e
add esp, 8
test eax, eax
je 0x410f82
lea ecx, [ebp - 0x438]
push ecx
push edi
call esi
test eax, eax
jne 0x410f40
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, 0x4d4b10
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042cf77
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x430]
push edx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x410fe1
lea eax, [ebp - 0x440]
push eax
push 4
lea ecx, [ebp - 0x43c]
push ecx
push esi
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x440], 0
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
mov eax, dword [ebp - 0x43c]
push 0x104
lea edx, [ebp - 0x20c]
push edx
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
lea eax, [ebp - 0x20c]
pop edi
call fcn.0042cf77
mov esp, ebp
pop ebp
ret
Function at 0x411000
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4fa2a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
mov edi, ecx
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.00436fe0
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea eax, [ebp - 0x20c]
lea esi, [edi + 0x1658]
mov edx, esi
mov ecx, eax
sub edx, ecx
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x411070
add edi, 0x1860
lea eax, [ebp - 0x20c]
mov edx, edi
mov ecx, eax
sub edx, ecx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x411091
push str.7z.dll
push 0x104
push esi
call fcn.0042f67a
push str.Client7z.dll
push 0x104
push edi
call fcn.0042f67a
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x18
push esi
call ebx
test eax, eax
je 0x4110d7
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push 0x89
call fcn.00410140
push edi
call ebx
test eax, eax
je 0x4110f0
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push 0x8a
call fcn.00410140
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042cf77
mov esp, ebp
pop ebp
ret
Function at 0x411110
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x4fa2a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
mov dword [ebp - 0x41c], eax
call esi
test eax, eax
jne 0x411259
push edi
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x412]
push edx
mov word [ebp - 0x414], cx
call fcn.00436fe0
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.00436fe0
add esp, 0x18
lea edx, [ebp - 0x414]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x20c]
push eax
push 0
push str.retmp
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 3
lea edx, [ebp - 0x20c]
push edx
push ebx
call edi
test eax, eax
jne 0x41124b
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
lea esi, [ebp - 0x418]
call fcn.00403290
mov ecx, dword [ebp - 0x41c]
push ecx
lea edx, [ebp - 0x414]
push edx
mov eax, esi
push eax
call fcn.0040a110
mov esi, dword [ebp - 0x418]
push 3
push esi
push ebx
call edi
test eax, eax
je 0x41120f
push 3
lea ecx, [ebp - 0x20c]
push ecx
push esi
call edi
test eax, eax
jne 0x41121d
push 5
push 0
push ebx
call edi
push 3
push 0
push esi
call edi
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411258
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042cf77
mov esp, ebp
pop ebp
ret 4
push 5
push 0
lea ecx, [ebp - 0x20c]
push ecx
call edi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042cf77
mov esp, ebp
pop ebp
ret 4
Function at 0x411270
Capabilities:
Check if file exists
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x26c
mov eax, dword [0x4fa2a0]
xor eax, esp
mov dword [esp + 0x268], eax
mov eax, dword [0x4fb44c]
mov edx, dword [eax + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x14], ecx
push edi
mov ecx, 0x4fb44c
call edx
add eax, 0x10
push esi
push str._s.
lea edi, [esp + 0x1c]
mov dword [esp + 0x1c], eax
call fcn.00403dd0
mov ecx, dword [esp + 0x1c]
add esp, 8
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x4113df
mov ecx, 0x4d59b8
lea eax, [esp + 0x4c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x411308
test dx, dx
je 0x411304
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x411308
add eax, 4
add ecx, 4
test dx, dx
jne 0x4112e2
xor eax, eax
jmp 0x41130d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4113c0
mov ecx, 0x4d59bc
lea eax, [esp + 0x4c]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x411346
test dx, dx
je 0x411342
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x411346
add eax, 4
add ecx, 4
test dx, dx
jne 0x411320
xor eax, eax
jmp 0x41134b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4113c0
mov edx, dword [0x4fb44c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4fb44c
call eax
lea ecx, [esp + 0x4c]
push ecx
add eax, 0x10
push esi
push str._s_s
lea edi, [esp + 0x1c]
mov dword [esp + 0x1c], eax
call fcn.00403dd0
mov ebx, dword [esp + 0x1c]
add esp, 0xc
test byte [esp + 0x20], 0x10
push ebx
je 0x411394
mov ecx, dword [esp + 0x1c]
call fcn.00411270
jmp 0x4113a4
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4113a4
push esi
call fcn.00411110
lea eax, [ebx - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4113c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4112d9
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411406
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x274]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042cf77
mov esp, ebp
pop ebp
ret 4
Function at 0x4115b0
Capabilities:
Get common file path
Get program files directory
Identify system language via api
Query environment variable
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x4fa2a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
call fcn.0040c910
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test eax, eax
jne 0x4115e3
xor edi, edi
jmp 0x4115f6
push 0xf01ff
push 0x4d5c58
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0x228]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov edi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0x104
lea ecx, [ebx + 0x1c70]
push ecx
push str._localappdata_NeoCell
call edi
push 0x104
lea edx, [ebx + 0x1e78]
push edx
push str._localappdata_GamePPSdk
call edi
mov ecx, ebx
call fcn.0040fe60
push esi
push ebx
call fcn.004103b0
mov ecx, ebx
call fcn.00410590
lea eax, [ebx + 0x820]
lea esi, [ebp - 0x22c]
call fcn.00403290
mov esi, dword [ebp - 0x22c]
cmp dword [esi - 0xc], 0
jne 0x411683
push 0x4d4de0
lea eax, [ebx + 0x820]
push 0x104
push eax
call fcn.004303e9
add esp, 0xc
add esi, 0xfffffff0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41169f
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
push 0
push 0
push 0
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
push ebx
call fcn.00410df0
mov ecx, ebx
call fcn.00411000
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20a]
push edx
mov word [ebp - 0x20c], cx
call fcn.00436fe0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push str._localappdata_NeoCell
call edi
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea edx, [ebp - 0x22c]
push edx
push 0x26
push 0
mov dword [ebp - 0x22c], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x41173d
mov ecx, dword [ebp - 0x22c]
lea eax, [ebx + 0x618]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov edx, dword [ebp - 0x22c]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebx + 0x618]
lea edi, [eax - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x411746
mov ecx, dword [0x4d4c6c]
mov dword [edi], ecx
pop edi
add eax, 0xfffffffe
pop esi
nop
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x411760
mov edx, dword [0x4d4de0]
mov dword [eax], edx
mov ecx, dword [0x4d4de4]
mov dword [eax + 4], ecx
mov edx, dword [0x4d4de8]
mov dword [eax + 8], edx
mov ecx, dword [0x4d4dec]
mov dword [eax + 0xc], ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, dword [ebp - 4]
mov edx, 0x804
cmp ax, dx
sete al
xor ecx, ebp
mov byte [ebx + 0x24d0], al
call fcn.0042cf77
mov esp, ebp
pop ebp
ret
Function at 0x4117c0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x4fa2a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 2
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x234], esi
cmp esi, 0xffffffff
je 0x411873
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x41186c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
jmp 0x411820
lea ecx, [ebp - 0x20c]
push ecx
push str.NeoCell.exe
call fcn.0042f26e
add esp, 8
test eax, eax
jne 0x411858
mov edx, dword [ebp - 0x228]
push edx
push eax
push 1
call edi
mov esi, eax
push 0
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x411820
pop edi
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042cf77
mov esp, ebp
pop ebp
ret

Function at 0x411890
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4fa2a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
push edi
push 2
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4118d3
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042cf77
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x411912
lea ecx, [ebp - 0x20c]
push ecx
push ebx
call fcn.0042f26e
add esp, 8
test eax, eax
je 0x41190d
lea edx, [ebp - 0x230]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4118e5
jmp 0x411912
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0042cf77
mov esp, ebp
pop ebp
ret
Function at 0x411930
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa80
mov eax, dword [0x4fa2a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
push 0x7fe
mov esi, ecx
push eax
lea ecx, [ebp - 0x806]
push ecx
mov ebx, edx
mov word [ebp - 0x808], ax
call fcn.00436fe0
lea edx, [ebp - 0x808]
add esp, 0xc
mov eax, esi
sub edx, esi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x411971
lea eax, [ebp - 0x808]
add eax, 0xfffffffe
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x411990
mov edx, dword [str..]
mov ecx, dword [0x4d59b0]
mov dword [eax], edx
mov dx, word [0x4d59b4]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
lea eax, [ebp - 0xa78]
push eax
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xa7c], eax
cmp eax, 0xffffffff
jne 0x4119f6
push 0x4d5ccc
call fcn.0042fb87
add esp, 4
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042cf77
mov esp, ebp
pop ebp
ret
mov esi, 8
jmp 0x411a00
mov ecx, 0x4d59b8
lea eax, [ebp - 0xa4c]
jmp 0x411a10
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x411a36
test dx, dx
je 0x411a32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x411a36
add eax, 4
add ecx, 4
test dx, dx
jne 0x411a10
xor eax, eax
jmp 0x411a3b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x411af3
mov ecx, 0x4d59bc
lea eax, [ebp - 0xa4c]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x411a76
test dx, dx
je 0x411a72
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x411a76
add eax, 4
add ecx, 4
test dx, dx
jne 0x411a50
xor eax, eax
jmp 0x411a7b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x411af3
test byte [ebp - 0xa78], 0x10
je 0x411af3
xor edx, edx
lea eax, [ebp - 0xa4c]
mov word [ebp - 0x824], dx
mov dword [ebp - 0x810], 7
mov dword [ebp - 0x814], 0
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411ab0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0xa4c]
lea ecx, [ebp - 0x824]
call fcn.004125a0
lea eax, [ebp - 0x824]
call fcn.00412130
cmp dword [ebp - 0x810], esi
jb 0x411af3
mov eax, dword [ebp - 0x824]
push eax
call fcn.0042d960
add esp, 4
mov edx, dword [ebp - 0xa7c]
lea ecx, [ebp - 0xa78]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x411a00
mov eax, dword [ebp - 0xa7c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0042cf77
mov esp, ebp
pop ebp
ret

Function at 0x412fc0
Capabilities:
Create thread

Disassembly:
xor edx, edx
push edi
mov edi, 0x413210
lea eax, [esi + 8]
test edi, edi
mov dword [esi], vtable.CSimpleThread.0
mov dword [esi + 0x18], 0x413210
mov dword [esi + 0x1c], ecx
mov dword [esi + 4], edx
mov dword [eax], 0xffffffff
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edx
pop edi
je 0x413007
push eax
push edx
push ecx
push 0x413210
push edx
push edx
call fcn.00430511
add esp, 0x18
mov dword [esi + 4], eax
mov eax, esi
ret