joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4012f8
Capabilities:
Initialize winsock library

Disassembly:
jmp 0x419e80
mov eax, dword [0x45b8d8]
sub esp, 0x190
test eax, eax
je 0x419e9b
mov eax, 1
add esp, 0x190
ret
lea eax, [esp]
push eax
push 0x101
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0x419eda
mov ax, word [esp]
cmp al, 1
jne 0x419ed5
xor ecx, ecx
mov cl, ah
cmp cl, al
jne 0x419ed5
mov dword [0x45b8d8], 1
mov eax, 1
add esp, 0x190
ret
call sub.WS2_32.dll_WSACleanup
xor eax, eax
add esp, 0x190
ret

Function at 0x401334
Capabilities:
Accept command line arguments

Disassembly:
jmp 0x402310
push 0xffffffffffffffff
push 0x449250
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x18], ecx
xor ebx, ebx
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString_2
push ebx
push 0x2d
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], ebx
call sub.MFC42u.DLL_CString::Find_2
mov esi, eax
cmp esi, 0xffffffff
je 0x4023bf
mov edi, dword [sym.imp.MSVCRT.dll__wcsicoll]
inc esi
push 3
lea eax, [esp + 0x18]
push esi
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::Mid_1
mov ecx, dword [esp + 0x14]
push 0x455780
push ecx
mov byte [esp + 0x2c], 1
call edi
add esp, 8
cmp eax, ebx
je 0x4023ad
push esi
push 0x2d
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::Find_2
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x24], bl
call sub.MFC42u.DLL_CString::CString
cmp esi, 0xffffffff
jne 0x402361
jmp 0x4023bf
lea ecx, [esp + 0x14]
mov ebp, 1
mov byte [esp + 0x24], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42u.DLL_CString::CString
cmp ebp, ebx
jne 0x4023f6
mov edx, dword [esp + 0x18]
lea ecx, [edx + 0xc8]
call fcn.0040170d
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x40137a
Capabilities:
Copy file

Disassembly:
jmp 0x413e60
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x413ef0
mov ebx, dword [sym.imp.MSVCRT.dll_wcslen]
push edi
call ebx
add esp, 4
test eax, eax
je 0x413ef0
mov esi, dword [esp + 0x14]
test esi, esi
je 0x413ef0
push esi
call ebx
add esp, 4
test eax, eax
je 0x413ef0
push edi
call fcn.0040172b
add esp, 4
test eax, eax
je 0x413ef0
push esi
push edi
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x413ef0
push esi
call fcn.004011e5
add esp, 4
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x413ee7
mov eax, dword [esp + 0x18]
test eax, eax
je 0x413ef0
push 0
push 0
push 0x240
push esi
push 0
push edi
push 0
push 0
call dword [sym.imp.SETUPAPI.dll_SetupInstallFileW]
test eax, eax
je 0x413ef0
pop edi
pop esi
mov eax, 1
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x4013e3
Capabilities:
Encode data using xor

Disassembly:
jmp 0x418b20
push ebx
mov ebx, dword [esp + 8]
test ebx, ebx
push esi
je 0x418b84
mov esi, dword [esp + 0x10]
test esi, esi
je 0x418b84
mov edx, dword [esp + 0x14]
test edx, edx
je 0x418b84
mov ecx, dword [esp + 0x1c]
xor eax, eax
test ecx, ecx
je 0x418b46
mov dword [ecx], esi
mov ecx, dword [esp + 0x18]
cmp ecx, esi
jb 0x418b86
push ebp
mov ebp, ecx
push edi
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebp
and ecx, 3
rep stosb byte es:[edi], al
pop edi
pop ebp
test esi, esi
jbe 0x418b7a
mov ecx, ebx
mov eax, edx
sub ecx, edx
mov dl, byte [ecx + eax]
xor dl, 0x54
mov byte [eax], dl
inc eax
dec esi
jne 0x418b6e
pop esi
mov eax, 1
pop ebx
ret 0x14
xor eax, eax
pop esi
pop ebx
ret 0x14

Function at 0x401415
Capabilities:
Delete file

Disassembly:
jmp 0x4036c0
push 0xffffffffffffffff
push 0x449540
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov ebx, ecx
push edi
push ebx
lea ecx, [esp + 0x14]
xor esi, esi
call sub.MFC42u.DLL_CString::CString_1
push str.AKernel3.exe
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], esi
call fcn.0041bc96
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x10]
push eax
call fcn.0040172b
add esp, 4
test eax, eax
je 0x40374a
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40375a
call ebp
cmp eax, 5
jne 0x40375a
mov ecx, dword [0x459f38]
push 0x1388
inc ecx
mov esi, 1
mov dword [0x459f38], ecx
call edi
jmp 0x40374e
test esi, esi
je 0x40375a
cmp dword [0x459f38], 0xb4
jl 0x403708
mov eax, dword [ebx]
push eax
call fcn.004011d1
add esp, 4
test eax, eax
pop edi
pop esi
pop ebp
pop ebx
jne 0x4037ab
push str.Remove_Kernels_temp_Folder_failed.
lea ecx, [esp + 8]
call sub.MFC42u.DLL_CString::CString_2
lea ecx, [esp + 4]
mov byte [esp + 0x10], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42u.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
lea ecx, [esp]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 8]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x401573
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x4177e0
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44acf0
push eax
mov dword fs:[0], esp
sub esp, 0x10
xor eax, eax
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov esi, ecx
push edi
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x417860
mov edi, dword [sym.imp.MSVCRT.dll_strchr]
push 0x3d
push ebp
call edi
add esp, 8
test eax, eax
jne 0x417860
push 0x3b
push ebp
call edi
add esp, 8
test eax, eax
jne 0x417860
lea ecx, [esp + 0x2c]
call fcn.0041c620
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
push ebp
mov dword [esp + 0x2c], 0
call fcn.0040139d
test eax, eax
je 0x417876
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.0041d0c0
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
mov edx, dword [esp + 0x30]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x1c]
push edx
push ecx
call fcn.00431990
add esp, 0xc
mov edi, eax
add esi, 4
push ebp
lea edx, [esp + 0x18]
push esi
push edx
mov byte [esp + 0x30], 1
call fcn.0041d7f0
push 0x3d
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x2c], 2
push eax
call fcn.0041e800
push edi
lea ecx, [esp + 0x10]
push eax
push ecx
mov byte [esp + 0x30], 3
call fcn.0041d630
push 0x3b
lea edx, [esp + 0x34]
push eax
push edx
mov byte [esp + 0x30], 4
call fcn.0041e800
push eax
mov ecx, esi
mov byte [esp + 0x28], 5
call fcn.0041d260
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 4
call fcn.0041d0c0
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 3
call fcn.0041d0c0
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 2
call fcn.0041d0c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.0041d0c0
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 0
call fcn.0041d0c0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.0041d0c0
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x40160e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
jmp 0x402950
push 0xffffffffffffffff
push 0x449318
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
push 0x459f34
lea ecx, [esp + 8]
call sub.MFC42u.DLL_CString::CString_2
lea eax, [esp + 4]
mov ecx, esi
push eax
mov dword [esp + 0x1c], 0
call fcn.004016bd
test eax, eax
pop esi
je 0x402a2c
push 0x459f34
lea ecx, [esp + 8]
call sub.MFC42u.DLL_CString::CString_2
mov eax, dword [esp]
mov byte [esp + 0x14], 1
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x402a00
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402a00
test al, 0x10
je 0x402a00
push 0x27
lea ecx, [esp + 4]
call sub.MFC42u.DLL_CString::TrimRight_1
lea ecx, [esp]
push str.AgentSetup.log
lea edx, [esp + 0xc]
push ecx
push edx
call sub.MFC42u.DLL_operator_1
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x18], 2
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 8]
mov byte [esp + 0x14], 1
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 4]
push eax
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x402a10
push 2
jmp 0x402a12
push 3
push 3
call sym.ASetup.exe_void___cdecl_Dll_SetLogOutput_unsigned_long_int__unsigned_long_int__unsigned_short_int_const__
add esp, 0xc
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call sub.MFC42u.DLL_CString::CString
jmp 0x402a3a
push 0
push 0
push 0
call sym.ASetup.exe_void___cdecl_Dll_SetLogOutput_unsigned_long_int__unsigned_long_int__unsigned_short_int_const__
add esp, 0xc
lea ecx, [esp]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x401645
Capabilities:
Create directory

Disassembly:
jmp 0x416be0
push 0xffffffffffffffff
push 0x44aae0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
cmp esi, ebx
push edi
mov dword [esp + 0x10], ecx
je 0x416d09
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
je 0x416d09
push esi
lea ecx, [esp + 0x28]
call sub.MFC42u.DLL_CString::CString_2
cmp word [esi], 0x5c
mov dword [esp + 0x1c], ebx
jne 0x416c56
cmp word [esi + 2], 0x5c
jne 0x416c56
push 3
push 0x5c
lea ecx, [esp + 0x2c]
call sub.MFC42u.DLL_CString::Find_2
inc eax
lea ecx, [esp + 0x24]
push eax
push 0x5c
call sub.MFC42u.DLL_CString::Find_2
jmp 0x416c61
push 0x5c
lea ecx, [esp + 0x28]
call sub.MFC42u.DLL_CString::Find
mov esi, eax
cmp esi, 0xffffffff
je 0x416cc1
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [esp + 0xc]
push esi
push eax
lea ecx, [esp + 0x2c]
call sub.MFC42u.DLL_CString::Left
mov ecx, dword [esp + 0xc]
mov byte [esp + 0x1c], 1
push ecx
mov ecx, dword [esp + 0x14]
call fcn.004014e2
test eax, eax
jne 0x416ca0
mov edx, dword [esp + 0xc]
push ebx
push edx
call edi
test eax, eax
je 0x416ceb
inc esi
lea ecx, [esp + 0x24]
push esi
push 0x5c
call sub.MFC42u.DLL_CString::Find_2
lea ecx, [esp + 0xc]
mov esi, eax
mov byte [esp + 0x1c], bl
call sub.MFC42u.DLL_CString::CString
cmp esi, 0xffffffff
jne 0x416c6e
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x14]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x4016bd
Capabilities:
Accept command line arguments

Disassembly:
jmp 0x402450
push 0xffffffffffffffff
push 0x449280
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_2
push 0
push 0x2d
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0
call sub.MFC42u.DLL_CString::Find_2
mov esi, eax
cmp esi, 0xffffffff
je 0x4024e7
mov edi, dword [sym.imp.MSVCRT.dll__wcsicoll]
inc esi
push 3
lea eax, [esp + 0x14]
push esi
push eax
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::Mid_1
mov ecx, dword [esp + 0x10]
push 0x45578c
push ecx
mov byte [esp + 0x28], 1
call edi
add esp, 8
test eax, eax
je 0x40250d
push esi
push 0x2d
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::Find_2
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x20], 0
call sub.MFC42u.DLL_CString::CString
cmp esi, 0xffffffff
jne 0x40249c
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42u.DLL_CString::CString
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
add esi, 3
lea edx, [esp + 8]
push esi
push edx
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::Mid
lea ecx, [esp + 8]
mov byte [esp + 0x20], 2
call sub.MFC42u.DLL_CString::TrimLeft
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x40258a
mov ax, word [eax]
cmp ax, 0x22
jne 0x40258a
push 0x22
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::TrimLeft_1
push 1
push 0x22
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::Find_2
cmp eax, 0xffffffff
je 0x40258a
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::Left
mov ecx, dword [esp + 0x28]
push eax
mov byte [esp + 0x24], 3
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x18]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x401717
Capabilities:
Create directory

Disassembly:
jmp 0x413a90
push 0xffffffffffffffff
push 0x44a540
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, dword [esp + 0x1c]
xor ebx, ebx
cmp esi, ebx
push edi
je 0x413bb0
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
je 0x413bb0
push esi
lea ecx, [esp + 0x24]
call sub.MFC42u.DLL_CString::CString_2
cmp word [esi], 0x5c
mov dword [esp + 0x18], ebx
jne 0x413b00
cmp word [esi + 2], 0x5c
jne 0x413b00
push 3
push 0x5c
lea ecx, [esp + 0x28]
call sub.MFC42u.DLL_CString::Find_2
inc eax
lea ecx, [esp + 0x20]
push eax
push 0x5c
call sub.MFC42u.DLL_CString::Find_2
jmp 0x413b0b
push 0x5c
lea ecx, [esp + 0x24]
call sub.MFC42u.DLL_CString::Find
mov esi, eax
cmp esi, 0xffffffff
je 0x413b6a
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [esp + 0xc]
push esi
push eax
lea ecx, [esp + 0x28]
call sub.MFC42u.DLL_CString::Left
mov ecx, dword [esp + 0xc]
mov byte [esp + 0x18], 1
push ecx
call fcn.004010c8
add esp, 4
test eax, eax
jne 0x413b49
mov edx, dword [esp + 0xc]
push ebx
push edx
call edi
test eax, eax
je 0x413b92
inc esi
lea ecx, [esp + 0x20]
push esi
push 0x5c
call sub.MFC42u.DLL_CString::Find_2
lea ecx, [esp + 0xc]
mov esi, eax
mov byte [esp + 0x18], bl
call sub.MFC42u.DLL_CString::CString
cmp esi, 0xffffffff
jne 0x413b18
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42u.DLL_CString::CString
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x10]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x40172b
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x412c20
push 0xffffffffffffffff
push 0x44a328
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
lea ecx, [esp + 4]
call sub.MFC42u.DLL_CFileFind::CFileFind
mov eax, dword [esp + 0x30]
push 0
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
call sub.MFC42u.DLL_CFileFind::FindFile
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.0041bdb6
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x4017fd
Capabilities:
Get hostname
Resolve dns

Disassembly:
jmp 0x408770
sub esp, 0x118
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], 0
push 0x100
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
jne 0x4087ad
xor eax, eax
pop edi
add esp, 0x118
ret 4
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
mov dword [esp + 4], eax
jne 0x4087ca
pop edi
add esp, 0x118
ret 4
mov eax, dword [eax + 0xc]
push ebx
mov ebx, dword [esp + 0x124]
cmp dword [eax], 0
je 0x40883b
push ebp
push esi
xor ebp, ebp
mov eax, dword [eax + ebp]
mov esi, dword [ebx + 8]
xor edx, edx
push 0xffffffffffffffff
mov ecx, dword [eax]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], edx
mov ecx, ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], edx
lea edx, [esi + 1]
mov dword [esp + 0x1c], 0xffffff
push edx
call fcn.004015e6
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x10]
lea eax, [esi + esi*4]
lea esi, [esp + 0x14]
add ebp, 4
lea edi, [ecx + eax*4]
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
mov eax, dword [edx + 0xc]
cmp dword [eax + ebp], 0
jne 0x4087de
pop esi
pop ebp
mov eax, dword [ebx + 8]
pop ebx
pop edi
add esp, 0x118
ret 4
Function at 0x40182a
Capabilities:
Create process on windows

Disassembly:
jmp 0x403820
push 0xffffffffffffffff
push 0x449568
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push str.Create_process_to_run_kernel.exe..._r_n
lea ecx, [esp + 8]
call sub.MFC42u.DLL_CString::CString_2
mov eax, dword [esp + 4]
push 0
push 2
push eax
mov dword [esp + 0x7c], 0
call fcn.004012df
add esp, 0xc
lea ecx, [esp + 0xc]
push esi
call sub.MFC42u.DLL_CString::CString_1
push str.AKernel3.exe
lea ecx, [esp + 0x10]
mov byte [esp + 0x74], 1
call fcn.0041bc96
mov ecx, dword [0x459e74]
push ecx
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::CString_2
push str._Unpack
lea ecx, [esp + 0xc]
mov byte [esp + 0x74], 2
call fcn.0041bc96
mov edx, dword [0x459ec4]
pop esi
mov eax, dword [edx - 8]
test eax, eax
je 0x4038be
push 0x459ec4
lea ecx, [esp + 8]
call fcn.0041bca2
xor eax, eax
push edi
mov dword [esp + 0x18], eax
mov ecx, 0x10
mov dword [esp + 0x1c], eax
lea edi, [esp + 0x28]
mov dword [esp + 0x24], 0x44
lea edx, [esp + 0x24]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], eax
push ecx
push edx
mov ecx, dword [esp + 0x14]
push eax
push eax
push eax
push eax
push eax
push eax
mov eax, dword [esp + 0x28]
push eax
push ecx
mov dword [esp + 0x3c], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
pop edi
jne 0x40394b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 4]
push str.Run_Process:_Create_Process_failed__LastError:_d_n
push edx
call sub.MFC42u.DLL_CString::Format
mov eax, dword [esp + 0xc]
push 0
push 1
push eax
call fcn.004012df
add esp, 0x18
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 5
push 0x44fd88
push ecx
call sub.MSVCRT.dll__CxxThrowException
push 0x84
push 0x81
call fcn.0040182f
mov edx, dword [esp + 0x18]
add esp, 8
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4039af
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 4]
push str.Wait_for_Process_failed__LastError:_d_r_n
push eax
call sub.MFC42u.DLL_CString::Format
mov ecx, dword [esp + 0xc]
push 0
push 1
push ecx
call fcn.004012df
add esp, 0x18
lea edx, [esp + 0xc]
mov dword [esp + 0xc], 2
push 0x44fd88
push edx
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [esp + 4]
mov byte [esp + 0x6c], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x6c], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp]
mov dword [esp + 0x6c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x64]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x70
ret
Function at 0x409750
Capabilities:
Get system information on windows

Disassembly:
mov eax, dword [0x45a300]
test eax, eax
jne 0x4097ce
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x45a0a0
mov dword [0x45a300], 1
mov dword [0x45a0a0], 0x114
call esi
mov edx, dword [0x45a0b0]
xor eax, eax
cmp edx, 2
push 0x45a1e0
sete al
mov dword [0x456a60], eax
mov dword [0x45a1e0], 0x11c
call esi
push 0x456d00
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop esi
mov dword [0x45a2fc], eax
test eax, eax
push 0x45a1b8
je 0x4097c8
call eax
ret
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
ret
Function at 0x432310
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x43231b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp edi, 8
mov esi, edi
not eax
jb 0x43241d
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x44e6b4]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x44e6b4]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x44e6b4]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x44e6b4]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x44e6b4]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x44e6b4]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x44e6b4]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x44e6b4]
xor eax, edx
inc ecx
dec edi
jne 0x432336
test esi, esi
je 0x43243f
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x44e6b4]
xor eax, edx
inc ecx
dec esi
jne 0x432421
pop edi
pop esi
not eax
pop ebx
ret
Function at 0x4351d0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x108]
push edi
mov dword [esp + 0x14], ecx
xor edx, edx
xor eax, eax
mov al, byte [edx + 0x44eb3c]
mov ecx, eax
and eax, 7
sar ecx, 3
mov bl, byte [eax*2 + 0x44eacc]
mov cl, byte [ecx + esi]
test bl, cl
setne al
mov byte [esp + edx + 0x50], al
inc edx
cmp edx, 0x38
jl 0x4351e7
mov eax, 0x1e
xor ebx, ebx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x110], 1
je 0x435228
lea eax, [ebx + ebx]
lea edi, [esp + eax*4 + 0x8c]
lea ebp, [esp + eax*4 + 0x88]
xor eax, eax
xor ecx, ecx
mov cl, byte [ebx + 0x44eb74]
mov dword [edi], 0
mov esi, ecx
mov dword [ebp], 0
mov edx, esi
cmp edx, 0x1c
jge 0x43525c
mov cl, byte [esp + edx + 0x50]
jmp 0x435260
mov cl, byte [esp + edx + 0x34]
mov byte [esp + eax + 0x18], cl
inc eax
inc edx
cmp eax, 0x1c
jl 0x435251
mov eax, 0x1c
lea edx, [esi + 0x1c]
cmp edx, 0x38
jge 0x43527e
mov cl, byte [esp + edx + 0x50]
jmp 0x435282
mov cl, byte [esp + edx + 0x34]
mov byte [esp + eax + 0x18], cl
inc eax
inc edx
cmp eax, 0x38
jl 0x435273
xor edx, edx
mov eax, 0x44eadc
xor ecx, ecx
mov cl, byte [edx + 0x44eb84]
cmp byte [esp + ecx + 0x18], 0
je 0x4352ad
mov ecx, dword [eax]
mov esi, dword [ebp]
or esi, ecx
mov dword [ebp], esi
xor ecx, ecx
mov cl, byte [edx + 0x44eb9c]
cmp byte [esp + ecx + 0x18], 0
je 0x4352c4
mov ecx, dword [eax]
mov esi, dword [edi]
or esi, ecx
mov dword [edi], esi
add eax, 4
inc edx
cmp eax, 0x44eb3c
jl 0x435294
mov eax, dword [esp + 0x10]
inc ebx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x43521b
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x88]
push edx
call fcn.00435310
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf8
ret 8