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

Disassembly:
sub esp, 0x210
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
mov dword [esp + 4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 4]
mov dword [esp + 8], 0x104
push eax
push 1
push 0
push str.SoftwareFeitianePass2003
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
pop edi
jne 0x40467f
lea ecx, [esp + 4]
lea edx, [esp + 8]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x10]
push str.Version
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x404674
xor al, al
add esp, 0x210
ret
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x214]
lea edx, [esp + 8]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
mov al, 1
add esp, 0x210
ret
Function at 0x407370
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4170b1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
push esi
mov esi, ecx
push edi
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x1e]
mov word [esp + 0x1c], 0
mov dword [esp + 0x10], 0
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0x104
push eax
push 1
push 0
push str.SoftwareFeitianePass2003
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4074d8
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x20]
push 0x42342c
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x1c]
lea ecx, [esp + 8]
push edx
call sub.MFC42u.DLL_CString::CString_1
mov eax, dword [esp + 8]
mov dword [esp + 0x230], 0
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x407523
push ebx
push 0x423428
lea ecx, [esp + 0x14]
call fcn.00415fd6
lea ecx, [esp + 0x1c]
push 1
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 1
call sub.MFC42u.DLL_CString::Right
mov edx, dword [esp + 0x10]
mov eax, dword [eax]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
setne bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x234], 0
call sub.MFC42u.DLL_CString::CString
test bl, bl
pop ebx
je 0x4074b4
push 0x423428
lea ecx, [esp + 0x10]
call fcn.00415fd6
lea ecx, [esp + 0xc]
mov byte [esp + 0x230], 2
push ecx
lea ecx, [esp + 0xc]
call fcn.00415fd0
lea ecx, [esp + 0xc]
mov byte [esp + 0x230], 0
call sub.MFC42u.DLL_CString::CString
mov edx, dword [esi + 0x32b]
mov eax, dword [esi + 0x32f]
cmp edx, eax
jne 0x4074f1
lea ecx, [esp + 8]
mov dword [esp + 0x230], 0xffffffff
call sub.MFC42u.DLL_CString::CString
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
add esp, 0x22c
ret
mov eax, dword [esi + 0x32b]
lea ecx, [esp + 8]
push eax
call fcn.00415fca
mov al, byte [esi + 0x32a]
test al, al
je 0x407523
mov eax, dword [esp + 8]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 8]
mov dword [esp + 0x230], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x228]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x22c
ret

Function at 0x407560
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x308]
lea eax, [esi + 0x308]
test ecx, ecx
jne 0x4075b6
push eax
call fcn.00415ce0
push 4
call sub.MFC42u.DLL_operatornew
add esp, 8
test eax, eax
je 0x407596
test esi, esi
jne 0x40758f
mov dword [eax], esi
jmp 0x407598
mov esi, dword [esi + 0x20]
mov dword [eax], esi
jmp 0x407598
xor eax, eax
push 0
push 0
push eax
push 0x405190
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret
Function at 0x409b20
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4174ad
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push ebp
push esi
mov esi, dword [esp + 0xb4]
push edi
mov edi, ecx
push str.windowinit
mov ecx, esi
call dword [sym.imp.FtUiKit_u.dll_public:_bool___thiscall_DuiLib::CDuiString::operator_unsigned_short_int_const__const]
test al, al
je 0x409cb6
lea esi, [edi + 0xc]
push ebx
push str.FSTitle
mov ecx, esi
mov dword [esp + 0x28], esi
call dword [sym.imp.FtUiKit_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_unsigned_short_int_const__const]
mov ebx, eax
xor ebp, ebp
cmp ebx, ebp
je 0x409c8d
lea ecx, [esp + 0x28]
call dword [sym.imp.FtUiKit_u.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_void_]
mov eax, dword [edi - 0x20]
lea ecx, [edi - 0x20]
lea edx, [esp + 0x28]
mov dword [esp + 0xb4], ebp
push edx
call dword [eax + 0x94]
test eax, eax
je 0x409bd5
mov esi, dword [sym.imp.FtUiKit_u.dll_public:_unsigned_short_int_const____thiscall_DuiLib::CDuiString::operator_unsigned_short_int_const__void_const]
lea ecx, [esp + 0x28]
call esi
push eax
mov eax, dword [edi - 0x1c]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [ebx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], edx
call esi
mov edx, dword [esp + 0x10]
push eax
mov ecx, ebx
call dword [edx + 0x2c]
jmp 0x409c74
mov eax, dword [edi - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea esi, [eax + 1]
lea ecx, [esp + 0x17]
push ebp
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0xbc], 1
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
call fcn.00401e80
cmp esi, ebp
mov byte [esp + 0xb4], 3
mov dword [esp + 0x10], ebp
je 0x409c1f
lea edx, [esi + esi]
push edx
call sub.MFC42u.DLL_operatornew
add esp, 4
jmp 0x409c21
xor eax, eax
lea edx, [esp + 0x10]
lea ecx, [eax + esi*2]
push edx
push esi
push eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ecx
call fcn.0040a510
add esp, 0xc
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [edi - 0x1c]
push esi
push eax
push ecx
mov byte [esp + 0xc0], 4
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esp + 0x18]
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x2c]
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x409c74
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0xb4], 0xffffffff
call dword [sym.imp.FtUiKit_u.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov esi, dword [esp + 0x24]
mov eax, dword [edi + 0x2d4]
pop ebx
cmp eax, ebp
jne 0x409cbf
push str.minbtn
mov ecx, esi
call dword [sym.imp.FtUiKit_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_unsigned_short_int_const__const]
cmp eax, ebp
je 0x409cbf
mov edx, dword [eax]
push ebp
mov ecx, eax
call dword [edx + 0xcc]
jmp 0x409cbf
push esi
mov ecx, edi
call dword [sym.imp.FtUiKit_u.dll_public_virtual:_void___thiscall_DuiLib::WindowImplBase::Notify_struct_DuiLib::tagTNotifyUI__]
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0xa8
ret 4
Function at 0x40b1a0
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x244]
push ebx
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x23c]
lea ebp, [esi + 0x23c]
mov esi, dword [eax]
cmp esi, eax
je 0x40b270
mov ecx, dword [esp + 0x18]
cmp dword [esi + 8], ecx
je 0x40b1ec
mov esi, dword [esi]
cmp esi, eax
jne 0x40b1d2
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40b229
mov ecx, 0x4278d0
call fcn.004152a0
test al, al
je 0x40b214
mov eax, dword [esi + 0x20]
test eax, eax
je 0x40b229
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x40b229
mov eax, dword [esi + 0x24]
test eax, eax
je 0x40b229
push 0
push 0x40e110
push eax
call dword [sym.imp.USER32.dll_EnumThreadWindows]
mov eax, dword [esi + 0x1c]
mov edi, dword [eax]
cmp edi, eax
je 0x40b254
mov ebx, edi
mov edi, dword [edi]
lea ecx, [ebx + 8]
call fcn.0040c480
test ebx, ebx
je 0x40b24b
push ebx
call sub.MFC42u.DLL_operatordelete
add esp, 4
cmp edi, dword [esi + 0x1c]
jne 0x40b232
mov ebx, dword [esp + 0x10]
mov eax, dword [esi + 0x1c]
push ecx
mov ecx, ebp
mov dword [eax], eax
mov eax, dword [esi + 0x1c]
mov dword [eax + 4], eax
mov eax, esp
mov dword [eax], esi
lea eax, [esp + 0x1c]
push eax
call fcn.0040e180
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x40f450
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push 0
push 0
mov eax, dword [eax]
push 3
push 0
push 1
push 0x80000000
mov dword [esp + 0x1c], ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40f4e0
push ebp
push esi
push edi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
lea edi, [ebp + 2]
push edi
call sub.MFC42u.DLL_operatornew
mov ecx, edi
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x1c]
push eax
push ebp
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x10]
push ebp
push esi
call fcn.0040f590
push esi
mov bl, al
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
xor al, al
pop ebx
pop ecx
ret 4
Function at 0x4124c0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x418427
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
lea ecx, [esi + 4]
call fcn.0040f0b0
xor ebx, ebx
mov al, 1
lea edi, [esi + 0x18]
mov dword [esp + 0x24], ebx
mov dword [esi + 0x10], ebx
mov byte [esi + 0x14], al
mov byte [esi + 0x15], bl
mov byte [esi + 0x16], bl
mov dword [esp + 0x18], edi
mov byte [esp + 0x24], al
lea ebp, [edi + 8]
lea eax, [esp + 0x13]
push ebx
push eax
mov ecx, ebp
mov dword [edi], ebx
mov dword [edi + 4], ebx
call fcn.00401e80
push 0x10
mov byte [esp + 0x28], 3
call sub.MFC42u.DLL_operatornew
lea ecx, [eax + 0x10]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [ebp], ecx
add esp, 4
mov word [eax], bx
lea edi, [esi + 0x24]
mov dword [esp + 0x18], edi
lea ebp, [edi + 8]
lea edx, [esp + 0x13]
push ebx
push edx
mov ecx, ebp
mov byte [esp + 0x2c], 5
mov dword [edi], ebx
mov dword [edi + 4], ebx
call fcn.00401e80
push 0x10
mov byte [esp + 0x28], 7
call sub.MFC42u.DLL_operatornew
lea ecx, [eax + 0x10]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [ebp], ecx
add esp, 4
mov word [eax], bx
lea edi, [esi + 0x34]
mov dword [esi + 0x30], 0x1fffffff
mov dword [esp + 0x18], edi
lea ebp, [edi + 8]
lea edx, [esp + 0x13]
push ebx
push edx
mov ecx, ebp
mov byte [esp + 0x2c], 9
mov dword [edi], ebx
mov dword [edi + 4], ebx
call fcn.00401e80
mov byte [esp + 0x24], 0xb
push 0x10
call sub.MFC42u.DLL_operatornew
lea ecx, [eax + 0x10]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [ebp], ecx
add esp, 4
mov word [eax], bx
lea ebp, [esi + 0x44]
mov dword [esi + 0x40], 8
mov dword [esp + 0x18], ebp
lea edi, [ebp + 8]
lea edx, [esp + 0x13]
push ebx
push edx
mov ecx, edi
mov byte [esp + 0x2c], 0xd
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
call fcn.00401e80
push 0x10
mov byte [esp + 0x28], 0xf
call sub.MFC42u.DLL_operatornew
lea ecx, [eax + 0x10]
mov dword [ebp], eax
mov dword [ebp + 4], eax
mov dword [edi], ecx
add esp, 4
mov word [eax], bx
mov dword [esi], vtable.epass::MultiLanguage.0
xor eax, eax
cmp word [str.English], bx
mov byte [esp + 0x24], 0x10
je 0x412628
mov ecx, str.English
add ecx, 2
inc eax
cmp word [ecx], bx
jne 0x41261f
lea edx, [eax*2 + str.English]
lea ecx, [esi + 0x34]
push edx
push str.English
call fcn.00403fa0
xor ecx, ecx
cmp word [0x423b24], bx
je 0x412656
mov eax, 0x423b24
add eax, 2
inc ecx
cmp word [eax], bx
jne 0x41264d
lea eax, [ecx*2 + 0x423b24]
lea ecx, [esi + 0x44]
push eax
push 0x423b24
call fcn.00403fa0
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x415b40
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov al, byte [esi + 0x15]
test al, al
je 0x415b55
mov eax, 1
pop esi
pop ecx
ret 0xc
push 0xffffffffffffffff
mov ecx, esi
call fcn.00415c10
mov byte [esi + 0x14], 0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esi + 8], eax
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x415a90
push 0
push 0
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
xor ecx, ecx
test eax, eax
sete cl
mov dword [esi + 4], eax
mov eax, ecx
pop esi
pop ecx
ret 0xc

Function at 0x415bb0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov al, byte [esi + 0x15]
test al, al
je 0x415bda
mov eax, dword [esi + 4]
push eax
call fcn.00415be0
add esp, 4
test al, al
jne 0x415bda
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov byte [esi + 0x15], 0
pop esi
ret

Function at 0x415c80
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, ecx
call edi
mov ebx, eax
mov al, byte [esi + 0x15]
test al, al
je 0x415cc9
mov ebp, dword [esp + 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 4]
test eax, eax
je 0x415cc9
call edi
sub eax, ebx
cmp eax, ebp
ja 0x415cd2
mov eax, dword [esi + 4]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x415cc9
mov al, byte [esi + 0x15]
test al, al
jne 0x415c9b
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 4
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 4
Function at 0x10001a80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [fcn.10001a80]
mov ecx, dword [0x1010f588]
sub ecx, 0x13ec
mov dword [0x1010f588], ecx
mov dword [ebp - 8], eax
jmp 0x10001ac8
mov al, 1
test al, 1
jne 0x10001ac8
jmp 0x10001abf
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 8]
cmp dword [ecx + eax], 0x4550
je 0x10001ad7
jmp 0x10001adf
mov dword [ebp - 4], 0
jmp 0x10001b02
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10001aab
jmp 0x10001ae1
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x10001b02
jmp 0x10001ae1
mov eax, dword [ebp - 8]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 8], eax
mov eax, dword [0x1010f588]
sub eax, 0xd3b
mov dword [0x1010f588], eax
jmp 0x10001aa3
mov eax, dword [ebp - 4]
add esp, 8
pop ebp
ret
Function at 0x10002630
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [0x1010f588]
sub eax, 0xd5f
mov dword [0x1010f588], eax
mov dword [0x1010f590], 0
mov dword [0x1010f594], 0
mov dword [0x1010f59c], 0
mov dword [ebp - 0x20], 0
mov dword [0x1010f58c], 0x24fe
mov dword [ebp - 0x24], 0
mov eax, dword [0x1010f58c]
add eax, 0x267
mov dword [0x1010f588], eax
mov dword [0x1010f58c], 0x667
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x10]
jae 0x100027ee
mov eax, 0x100
mov ecx, dword [0x1010f590]
add ecx, 1
mov dword [ebp - 0x28], eax
mov eax, ecx
cdq
mov ecx, dword [ebp - 0x28]
idiv ecx
mov dword [0x1010f590], edx
mov dword [0x1010f588], 0x210
mov edx, dword [0x1010f594]
mov esi, dword [0x1010f590]
mov edi, dword [ebp - 0x1c]
movzx esi, byte [edi + esi]
add edx, esi
mov eax, edx
cdq
idiv ecx
mov dword [0x1010f594], edx
mov edx, dword [0x1010f590]
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + edx]
mov byte [0x1010f598], bl
mov dword [0x1010f58c], 0x26fb
mov edx, dword [0x1010f594]
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + edx]
mov edx, dword [0x1010f590]
mov esi, dword [ebp - 0x1c]
mov byte [esi + edx], bl
mov bl, byte [0x1010f598]
mov edx, dword [0x1010f594]
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 0x29], bl
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], esi
mov eax, 0x100
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov bl, byte [ebp - 0x29]
mov byte [ecx + edx], bl
mov dword [0x1010f588], 0x168
mov esi, dword [0x1010f590]
mov edi, dword [ebp - 0x1c]
movzx esi, byte [edi + esi]
mov edi, dword [0x1010f594]
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + edi]
add esi, ecx
mov dword [ebp - 0x20], esi
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
mov eax, ecx
cdq
mov ecx, dword [ebp - 0x38]
idiv ecx
mov dword [0x1010f59c], edx
mov edx, dword [0x1010f588]
sub edx, 0x2567
mov dword [0x1010f588], edx
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
mov esi, dword [0x1010f59c]
mov edi, dword [ebp - 0x1c]
movzx esi, byte [edi + esi]
xor edx, esi
mov bh, dl
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], bh
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
jmp 0x100026b6
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10002900
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 0
mov dword [0x1010f588], 0x185b
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [0x1010f588]
sub eax, 0x1598
mov dword [0x1010f588], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x10002999
mov dword [0x1010f58c], 0xd0a
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x10]
cmp eax, 0x6c
je 0x10002a26
jmp 0x10002a50
mov dword [0x1010f58c], 0x13a9
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov dx, word [eax + ecx*2 - 0x18]
mov word [ebp - 0x12], dx
mov ax, word [ebp - 0x12]
movzx ecx, ax
cmp ecx, 0x6f
je 0x100029e0
jmp 0x10002a56
cmp dword [ebp - 0x10], 0x104
jge 0x100029cc
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2]
cmp eax, 0
jne 0x100029b5
jmp 0x100029cc
mov dword [0x1010f588], 0xed6
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x10002999
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x1a]
cmp eax, 0x6c
je 0x1000296c
jmp 0x10002a58
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x16]
cmp eax, 0x61
jne 0x10002a54
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x14]
cmp eax, 0x64
jne 0x10002a52
mov dword [0x1010f588], 0xbc0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x12]
cmp eax, 0x64
je 0x10002947
jmp 0x10002a50
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0xe]
cmp eax, 0x6c
jne 0x10002a4b
mov dword [0x1010f58c], 0x151b
mov dword [ebp - 4], 1
jmp 0x10002a5f
jmp 0x10002967
jmp 0x10002a52
jmp 0x10002a54
jmp 0x10002a56
jmp 0x10002a58
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add esp, 0x14
pop ebp
ret
Function at 0x4146c3
Capabilities:
Parse pe header

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

Function at 0x426ae0
Capabilities:
Parse pe header

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

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x44a010
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0
push 0
push 3
push 0
push 3
push 0x40000000
push str.CONOUT_
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
lea eax, [esp + 8]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
mov dword [0x64f054], esi
je 0x44a05f
mov ecx, dword [0x64fd3c]
push 0x64fa58
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov eax, esi
pop edi
pop esi
pop ecx
ret

Function at 0x524eb7
Capabilities:
Encode data using xor

Disassembly:
xlatb
xor al, 0xd8
arpl sp, bx
xlatb
xchg ecx, eax
movsb byte es:[edi], byte [esi]
mov esp, 0xc2d198c8
enter 0xffffffffffffd198, 0xffffffffffffffc2
xlatb
invalid
mov al, 0xac
Function at 0x401830
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cffd8
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
lea ecx, [edi + 0x3c]
push dword [edi + 0x44]
mov dword [edi + 0x3c], vtable.CBaseRecordVector.0
push 0
call fcn.004280f0
push dword [edi + 0x48]
call fcn.004a47b2
add esp, 4
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [ebp - 4], 1
lea ecx, [edi + 0x28]
push dword [edi + 0x30]
mov dword [edi + 0x28], vtable.CBaseRecordVector.0
push 0
call fcn.004280f0
push dword [edi + 0x34]
call fcn.004a47b2
add esp, 4
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [ebp - 4], 2
lea ecx, [edi + 0x14]
push dword [edi + 0x1c]
mov dword [edi + 0x14], vtable.CBaseRecordVector.0
push 0
call fcn.004280f0
push dword [edi + 0x20]
call fcn.004a47b2
add esp, 4
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 3
mov ecx, edi
push dword [edi + 8]
mov dword [edi], vtable.CBaseRecordVector.0
push 0
call fcn.004280f0
push dword [edi + 0xc]
call fcn.004a47b2
add esp, 4
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x403ad0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d02c3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 4
mov dword [esi], vtable.CObjectVector_struct_NArchive::N7z::CMethodFull_.0
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0x10
mov dword [esi + 0x14], vtable.CRecordVector_struct_NArchive::N7z::CBind_.0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
mov dword [esi + 0x28], 1
mov byte [esi + 0x2c], 0
push 3
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
call fcn.004037f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret