joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409a70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x410328
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x18]
push 0
push eax
push 0
mov esi, ecx
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], eax
call sub.MFC42.DLL_CString::CString_1
push 0xe00d
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call sub.MFC42.DLL_CString::LoadStringA
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
lea ecx, [edi - 0xa4]
mov edi, dword [esi + 0x198]
mov dword [esi + 0x44], ecx
add esp, 4
lea edx, [edi + 0x38]
mov ebx, edx
mov edx, dword [ebx]
mov dword [esp + 0x28], edx
mov edx, dword [ebx + 4]
sub ecx, edx
mov ebp, dword [ebx + 8]
mov dword [esp + 0x30], ebp
mov ebx, dword [ebx + 0xc]
add ecx, ebx
cmp eax, 0xffffffff
mov dword [esi + 0x4c], ecx
jne 0x409b34
lea eax, [edi + 0x38]
mov ebp, dword [esp + 0x14]
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x2c], ecx
mov ecx, dword [edx + 8]
sub eax, ecx
mov edx, dword [edx + 0xc]
add eax, ebp
mov dword [esp + 0x34], edx
cdq
sub eax, edx
sar eax, 1
add edi, 0x38
mov dword [esi + 0x40], eax
push 0
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esp + 0x30], ecx
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov dword [esp + 0x38], edx
mov edx, dword [esi + 0x40]
sub edx, eax
add edx, ecx
mov dword [esi + 0x48], edx
mov eax, dword [esi + 0x44]
mov edx, dword [esi + 0x4c]
mov ecx, dword [esi + 0x40]
sub edx, eax
push edx
mov edx, dword [esi + 0x48]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CWnd::MoveWindow
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], 0xffffffff
call fcn.0040f290
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret

Function at 0x40c4c0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0040c610
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x1c], eax
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x40c510
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [esi + 0x20], eax
test eax, eax
setne cl
mov al, cl
pop esi
pop ecx
ret
Function at 0x40c610
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
mov eax, dword [esi + 0x20]
test eax, eax
je 0x40c65f
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x20]
push 0x7d0
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40c652
mov edx, dword [esi + 0x20]
push 0
push edx
xor bl, bl
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x20]
push eax
call edi
mov dword [esi + 0x20], 0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x40c670
push eax
call edi
mov dword [esi + 0x1c], 0
pop edi
mov al, bl
pop esi
pop ebx
ret

Function at 0x40c770
Capabilities:
Check mutex on windows

Disassembly:
push ecx
push ebx
push edi
xor bl, bl
push str._s_MutexUser
mov byte [esp + 0xf], bl
call fcn.0040c470
mov edi, eax
test edi, edi
je 0x40c7eb
mov bl, byte [esp + 0x10]
xor eax, eax
test bl, bl
setne al
push esi
push edi
add eax, 0x100000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov esi, eax
test esi, esi
je 0x40c7ce
test bl, bl
je 0x40c7c2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40c7e2
cmp eax, 0x102
jne 0x40c7c7
mov byte [esp + 0xf], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call sub.MFC42.DLL_operatordelete
mov al, byte [esp + 0x13]
add esp, 4
pop esi
pop edi
pop ebx
pop ecx
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x40c7c7
mov al, bl
pop edi
pop ebx
pop ecx
ret 4

Function at 0x40cf00
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov edx, ecx
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [edx + 4]
push esi
push 1
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
ret 8

Function at 0x40cf30
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
lea eax, [esp]
lea edx, [esp + 0xc]
push eax
lea eax, [esp + 8]
push edx
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [ecx + 4]
push 0
push edx
push eax
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40cf69
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov dword [ecx], edx
add esp, 8
ret 8

Function at 0x40cf70
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xd0
lea eax, [esp]
push esi
push eax
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
push edx
mov edx, dword [esp + 0xe0]
push eax
mov eax, dword [ecx + 4]
push 0
push edx
push eax
mov dword [esp + 0x1c], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x40cfb9
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xe0]
call fcn.0040f320
mov eax, esi
pop esi
add esp, 0xd0
ret 8
Function at 0x40d240
Capabilities:
Link many functions at runtime
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4105f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [0x4158f4]
push ebx
push esi
xor ebx, ebx
push edi
cmp eax, ebx
mov dword [ebp - 0x10], esp
jne 0x40d3f1
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ebx
push ecx
push str.SnyUtils.dll
push str.SoftwareSony_CorporationShared_InfoShared_Dlls
push 0x80000002
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call esi
cmp eax, ebx
je 0x40d2b4
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCRT.dll_public:_void___thiscall_exception::constructor_void_]
lea edx, [ebp - 0x2c]
push 0x413030
push edx
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x14]
push eax
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
cmp edi, ebx
mov dword [ebp - 0x1c], edi
setne byte [ebp - 0x20]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x18]
push ecx
push edi
push edx
push str.SnyUtils.dll
push str.SoftwareSony_CorporationShared_InfoShared_Dlls
push 0x80000002
mov byte [ebp - 4], 1
call esi
cmp eax, ebx
je 0x40d304
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVCRT.dll_public:_void___thiscall_exception::constructor_void_]
lea eax, [ebp - 0x38]
push 0x413030
push eax
call sub.MSVCRT.dll__CxxThrowException
push edi
call sub.MFC42.DLL_AfxLoadLibrary
cmp eax, ebx
mov dword [0x4158f4], eax
jne 0x40d32a
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVCRT.dll_public:_void___thiscall_exception::constructor_void_]
lea ecx, [ebp - 0x44]
push 0x413030
push ecx
call sub.MSVCRT.dll__CxxThrowException
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SuOpen
push eax
call esi
mov edx, dword [0x4158f4]
push str.SuClose
push edx
mov dword [0x4158fc], eax
call esi
mov dword [0x415900], eax
mov eax, dword [0x4158f4]
push str.SuCallDriverDWORD
push eax
call esi
mov ecx, dword [0x4158f4]
push str.SuGetMachineID
push ecx
mov dword [0x415904], eax
call esi
mov edx, dword [0x4158f4]
push str.SuSetPowerState
push edx
mov dword [0x415908], eax
call esi
mov dword [0x41590c], eax
mov eax, dword [0x4158f4]
push str.SuSXBIOS_Call
push eax
call esi
mov ecx, dword [0x4158f4]
push str.SuGetMachineInfo
push ecx
mov dword [0x415910], eax
call esi
mov ecx, dword [0x4158fc]
mov dword [0x415914], eax
cmp ecx, ebx
je 0x40d402
cmp dword [0x415900], ebx
je 0x40d402
cmp dword [0x415904], ebx
je 0x40d402
cmp dword [0x415908], ebx
je 0x40d402
cmp dword [0x41590c], ebx
je 0x40d402
cmp dword [0x415910], ebx
je 0x40d402
cmp eax, ebx
je 0x40d402
cmp byte [ebp - 0x20], bl
je 0x40d3f1
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVCRT.dll_public:_void___thiscall_exception::constructor_void_]
lea edx, [ebp - 0x50]
push 0x413030
push edx
call sub.MSVCRT.dll__CxxThrowException
call fcn.0040d430
xor ebx, ebx
push ebx
push ebx
call sub.MSVCRT.dll__CxxThrowException
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x40e8f0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
push str.SSMSFilterExtSelPresetMemoryMappedFile
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov esi, eax
test esi, esi
mov dword [ebp - 4], esi
je 0x40e9c0
push 0x208
push ebx
push ebx
push 2
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
je 0x40e9b9
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x40e958
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.0040f440
mov eax, esp
push esi
push ebx
push eax
call sub.MFC42.DLL_AfxA2WHelper
mov ebx, eax
push str.SSMSFilterPresetListMemoryMappedFileMutex
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x103
push ebx
push edi
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
mov word [edi + 0x206], 0
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x415924]
push 0
push 0xa
push eax
push 0xffff
call dword [sym.imp.USER32.dll_SendNotifyMessageA]
mov esi, dword [ebp - 4]
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esp, [ebp - 0x10]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401000
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push 0
mov eax, dword [str.RZR1911REGSETUP]
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40104b
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x40103a
push 9
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
jmp 0x401162
mov ecx, dword [str.GAME.EXE]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x401095
mov edx, dword [0x40603c]
push edx
push str.You_must_run_SETUP_from_the_directory_where_n_s_has_been_installed.
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x10
push 0x4061f8
lea ecx, [ebp - 0x104]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x401162
push 0x65
mov edx, dword [ebp + 8]
push edx
call fcn.00401168
add esp, 8
test eax, eax
jne 0x4010ae
xor eax, eax
jmp 0x401162
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040121c
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4010ce
xor eax, eax
jmp 0x401162
lea edx, [ebp - 0x204]
push edx
push 0xff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x204]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00401354
add esp, 8
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 1
jne 0x401116
push 0x40
push str.RAZOR_1911_Registry_Setup
push str.Registry_setup_has_been_successfully_completed_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push 0
push 0xe141
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 0
push 0
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x40115c
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x401129
mov eax, dword [ebp - 0x21c]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x402e41
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4065a0
cmp edx, dword [eax]
je 0x402e63
add eax, 8
inc ecx
cmp eax, 0x406630
jl 0x402e54
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4065a0]
jne 0x402f91
mov eax, dword [0x406998]
cmp eax, 1
je 0x402f6b
test eax, eax
jne 0x402e94
cmp dword [0x4064f4], 1
je 0x402f6b
cmp edx, 0xfc
je 0x402f91
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x402ecb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00402090
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00402180
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x402f0e
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402180
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4053e8
push edi
call fcn.00404070
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00402090
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004020a0
lea eax, [ebp - 0xa0]
push 0x4053c8
push eax
call fcn.004020a0
push dword [esi + 0x4065a4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004020a0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00403fde
add esp, 0x2c
pop edi
jmp 0x402f91
lea eax, [ebp + 8]
lea esi, [esi + 0x4065a4]
push 0
push eax
push dword [esi]
call fcn.00402180
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x10006530
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ecx, ecx
mov dword [ebp - 4], ecx
nop
xor eax, eax
test cl, 1
je 0x1000654b
bts eax, 7
shr ecx, 1
test cl, 1
je 0x10006556
bts eax, 6
shr ecx, 1
test cl, 1
je 0x10006561
bts eax, 5
shr ecx, 1
test cl, 1
je 0x1000656c
bts eax, 4
shr ecx, 1
test cl, 1
je 0x10006577
bts eax, 3
shr ecx, 1
test cl, 1
je 0x10006582
bts eax, 2
shr ecx, 1
test cl, 1
je 0x1000658d
bts eax, 1
test cl, 2
je 0x10006596
bts eax, 0
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov ebx, ecx
sar ebx, 0x1f
and ebx, 0x4c11db7
lea eax, [ecx + ecx]
xor ebx, eax
mov eax, dword [ebp - 4]
xor edx, edx
lea esi, [edi + eax*4]
lea ecx, [edx + 1]
test bl, 1
je 0x10006632
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x10006623
mov ecx, dword [ebp - 4]
inc ecx
mov dword [esi], edx
mov dword [ebp - 4], ecx
cmp ecx, 0xff
jle 0x10006540
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10006660
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10117018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x1010becc
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ecx
push eax
mov dword [edi], 0xffffffff
mov dword [ebp - 8], 0
call fcn.100c0eb1
add esp, 0xc
test eax, eax
je 0x100066b0
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10069b8b
mov esp, ebp
pop ebp
ret 0xc
push ebx
push 0x400
call fcn.100c0ef8
add esp, 4
mov ebx, eax
mov dword [ebp - 0x10], ebx
push dword [ebp - 8]
test ebx, ebx
jne 0x100066e6
call fcn.100c113f
add esp, 4
xor al, al
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10069b8b
mov esp, ebp
pop ebp
ret 0xc
push 0x400
push 1
push ebx
call fcn.100c1355
add esp, 0x10
test eax, eax
je 0x1000673b
push esi
nop dword [eax + eax]
mov esi, ebx
mov ebx, dword [edi]
lea esi, [esi + 1]
movzx ecx, byte [esi - 1]
movzx edx, bl
xor edx, ecx
shr ebx, 8
mov ecx, dword [ebp - 0xc]
xor ebx, dword [ecx + edx*4]
mov dword [edi], ebx
sub eax, 1
jne 0x10006702
push dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
push 0x400
push 1
push ebx
call fcn.100c1355
add esp, 0x10
test eax, eax
jne 0x10006700
pop esi
push ebx
call fcn.100c1490
push dword [ebp - 8]
call fcn.100c113f
mov ecx, dword [ebp - 4]
add esp, 8
not dword [edi]
xor ecx, ebp
mov al, 1
pop ebx
pop edi
call fcn.10069b8b
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10006770
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x60]
mov dword [esi], vtable.CAntiHack.0
test eax, eax
je 0x1000679c
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x60], 0
test byte [ebp + 8], 1
je 0x100067ad
push 0x64
push esi
call fcn.10069eb3
add esp, 8
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100069a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
xor ecx, ecx
test ebx, ebx
jle 0x100069e8
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
nop word [eax + eax]
lea esi, [ecx + eax]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea eax, [edx + edx*2]
mov edx, ecx
sub edx, eax
inc ecx
mov al, byte [edx + 0x1010bf5c]
xor al, byte [edi + esi]
mov byte [esi], al
mov eax, dword [ebp + 8]
cmp ecx, ebx
jl 0x100069c0
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x100078e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10117018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10117efc]
push esi
mov esi, dword [0x10117f00]
push edi
movsd xmm0, qword [eax]
lea eax, [ebp - 8]
subsd xmm0, qword [0x1010ea38]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 8
andps xmm0, xmmword [0x1010ed60]
mulsd xmm0, qword [0x1010e9f8]
push esi
addsd xmm0, qword [0x1010ea68]
movsd qword [ebp - 0x10], xmm0
call edi
movsd xmm0, qword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
movsd qword [esi], xmm0
push 8
push esi
call edi
mov eax, dword [0x10117efc]
mov esi, dword [0x10117f04]
movsd xmm0, qword [eax]
lea eax, [ebp - 8]
subsd xmm0, qword [0x1010ea38]
push eax
push 0x40
push 8
push esi
andps xmm0, xmmword [0x1010ed60]
mulsd xmm0, qword [0x1010e9f8]
addsd xmm0, qword [0x1010ea68]
movsd qword [ebp - 0x10], xmm0
call edi
movsd xmm0, qword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
movsd qword [esi], xmm0
push 8
push esi
call edi
mov eax, dword [0x10117efc]
mov esi, dword [0x10117f08]
movsd xmm0, qword [eax]
lea eax, [ebp - 8]
subsd xmm0, qword [0x1010ea38]
push eax
push 0x40
push 4
push esi
andps xmm0, xmmword [0x1010ed60]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x1010ea20]
addss xmm0, dword [0x1010eb28]
movss dword [ebp - 0xc], xmm0
call edi
movss xmm0, dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
movss dword [esi], xmm0
push 4
push esi
call edi
mov eax, dword [0x10117efc]
mov esi, dword [0x10117f0c]
movsd xmm0, qword [eax]
lea eax, [ebp - 8]
subsd xmm0, qword [0x1010ea38]
push eax
andps xmm0, xmmword [0x1010ed60]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x1010ea20]
addss xmm0, dword [0x1010eb28]
movss dword [ebp - 0xc], xmm0
push 0x40
push 4
push esi
call edi
movss xmm0, dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
movss dword [esi], xmm0
push 4
push esi
call edi
mov eax, dword [0x10117efc]
mov esi, dword [0x10117f10]
movsd xmm0, qword [eax]
lea eax, [ebp - 8]
subsd xmm0, qword [0x1010ea38]
push eax
push 0x40
push 4
push esi
andps xmm0, xmmword [0x1010ed60]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x1010ea20]
addss xmm0, dword [0x1010eb24]
movss dword [ebp - 0xc], xmm0
call edi
movss xmm0, dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
movss dword [esi], xmm0
push 4
push esi
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10069b8b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10007ad0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x10117018]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x58], 0
je 0x10007cc4
movss xmm0, dword [ebx + 0x5c]
lea eax, [esp + 0x18]
mov esi, dword [ebx + 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 4
push esi
movss dword [esp + 0x20], xmm0
call edi
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
movss dword [esi], xmm0
push 4
push esi
call edi
movss xmm0, dword [ebx + 0x60]
lea eax, [esp + 0x18]
mov esi, dword [ebx + 0x34]
push eax
push 0x40
push 4
push esi
movss dword [esp + 0x20], xmm0
call edi
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
movss dword [esi], xmm0
push 4
push esi
call edi
movss xmm0, dword [ebx + 0x64]
lea eax, [esp + 0x18]
mov esi, dword [ebx + 0x38]
push eax
push 0x40
push 4
push esi
movss dword [esp + 0x20], xmm0
call edi
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
movss dword [esi], xmm0
push 4
push esi
call edi
movsd xmm0, qword [ebx + 0x68]
lea eax, [esp + 0x18]
mov esi, dword [ebx + 0x3c]
push eax
push 0x40
push 8
push esi
movsd qword [esp + 0x20], xmm0
call edi
movsd xmm0, qword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
movsd qword [esi], xmm0
push 8
push esi
call edi
movsd xmm0, qword [ebx + 0x70]
lea eax, [esp + 0x18]
mov esi, dword [ebx + 0x40]
push eax
push 0x40
push 8
push esi
movsd qword [esp + 0x20], xmm0
call edi
movsd xmm0, qword [esp + 0x10]
lea eax, [esp + 0x18]
movsd qword [esi], xmm0
push eax
push dword [esp + 0x1c]
push 8
push esi
call edi
movsd xmm0, qword [ebx + 0x78]
lea eax, [esp + 0x18]
mov esi, dword [ebx + 0x44]
push eax
push 0x40
push 8
push esi
movsd qword [esp + 0x20], xmm0
call edi
movsd xmm0, qword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
movsd qword [esi], xmm0
push 8
push esi
call edi
movss xmm0, dword [ebx + 0x80]
lea eax, [esp + 0x18]
mov esi, dword [ebx + 0x48]
push eax
push 0x40
push 4
push esi
movss dword [esp + 0x20], xmm0
call edi
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
movss dword [esi], xmm0
push 4
push esi
call edi
movss xmm0, dword [ebx + 0x84]
lea eax, [esp + 0x18]
mov esi, dword [ebx + 0x4c]
push eax
push 0x40
push 4
push esi
movss dword [esp + 0x20], xmm0
call edi
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
movss dword [esi], xmm0
push 4
push esi
call edi
movss xmm0, dword [ebx + 0x88]
lea eax, [esp + 0x18]
mov esi, dword [ebx + 0x50]
push eax
push 0x40
push 4
push esi
movss dword [esp + 0x20], xmm0
call edi
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
movss dword [esi], xmm0
push 4
push esi
call edi
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10069b8b
mov esp, ebp
pop ebp
ret