joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bafa0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58ac7b
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x603320]
xor eax, esp
mov dword [esp + 0x78], eax
push esi
mov eax, dword [0x603320]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x34], 7
xorps xmm0, xmm0
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], eax
mov word [esp + 0x38], ax
mov byte [esp + 0x50], 1
movupd xmmword [esp + 0x54], xmm0
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], eax
mov word [esp + 0x64], ax
mov dword [esp + 0x90], eax
sub esp, 0x70
movdqu xmm0, xmmword [ebp + 8]
lea eax, [esp + 0x7c]
mov dword [esp + 0x8c], 3
mov ecx, esp
push eax
movdqu xmmword [esp + 0x80], xmm0
call fcn.0045a580
mov ecx, dword [esi]
add ecx, 0x52c
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ecx, [esp + 0xc]
call fcn.00459f60
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00576f50
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4bb090
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58ad6b
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x603320]
xor eax, esp
mov dword [esp + 0x90], eax
push esi
mov eax, dword [0x603320]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x30], 7
xorps xmm0, xmm0
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], eax
mov word [esp + 0x34], ax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], eax
mov word [esp + 0x4c], ax
mov byte [esp + 0x64], 1
movupd xmmword [esp + 0x6c], xmm0
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], eax
mov word [esp + 0x7c], ax
mov dword [esp + 0xa8], eax
sub esp, 0x88
movdqu xmm0, xmmword [ebp + 8]
lea eax, [esp + 0x94]
mov ecx, esp
push eax
movdqu xmmword [esp + 0x98], xmm0
call fcn.0045b5e0
push ecx
mov eax, esp
xor ecx, ecx
mov dword [eax], ecx
mov ecx, dword [esi]
add ecx, 0x52c
mov eax, dword [ecx]
call dword [eax + 0x10]
lea ecx, [esp + 0xc]
call fcn.0045b2f0
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.00576f50
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4bb1a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58aafb
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x603320]
xor eax, esp
mov dword [esp + 0x90], eax
push esi
mov eax, dword [0x603320]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x30], 0xf
xorps xmm0, xmm0
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], eax
mov word [esp + 0x4c], ax
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], eax
mov word [esp + 0x64], ax
mov byte [esp + 0x7c], 1
movupd xmmword [esp + 0x84], xmm0
mov dword [esp + 0xa8], eax
lea ecx, [esp + 0x1c]
movdqu xmm0, xmmword [ebp + 8]
push eax
push 0x5a7a94
movdqu xmmword [esp + 0x14], xmm0
call fcn.00426420
lea eax, [esp + 0xc]
push eax
push ecx
mov eax, esp
xor ecx, ecx
mov dword [eax], ecx
mov ecx, dword [esi]
add ecx, 0x52c
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [esp + 0xc]
call fcn.0045ca70
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.00576f50
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4dad40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 1
cmovae eax, dword [ebp + 8]
push 0
push eax
push str.explorer.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp + 0x1c], 8
jb 0x4dad77
push dword [ebp + 8]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
pop ebp
ret
Function at 0x4dbea0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5845b8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x603320]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [0x603320]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ecx, dword [0x61e5c0]
lea eax, [esp + 0x20]
push eax
call fcn.004df660
lea ecx, [esp + 4]
mov dword [esp + 0x48], 0
push ecx
mov ecx, eax
call fcn.00427220
cmp dword [esp + 0x18], 8
lea eax, [esp + 4]
push 1
cmovae eax, dword [esp + 8]
push 0
push eax
push str.explorer.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esp + 0x18], 8
jb 0x4dbf31
push dword [esp + 4]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x18], 7
cmp dword [esp + 0x34], 8
mov dword [esp + 0x14], 0
mov word [esp + 4], ax
jb 0x4dbf5c
push dword [esp + 0x20]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00576f50
mov esp, ebp
pop ebp
ret
Function at 0x4e6010
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58ed20
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x603320]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x603320]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [edi + 0x18]
push eax
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.dnutility.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_utility::ustring::utf8ToWString_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov esi, eax
lea eax, [esp + 0x20]
mov dword [esp + 0x60], 0
push edi
push eax
call dword [sym.imp.dnutility.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_utility::ustring::toWString_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 0x10
mov byte [esp + 0x58], 1
lea ecx, [edi + 0x3c]
push ecx
push dword [edi + 0x38]
mov ecx, dword [ebx + 0x53c]
push dword [edi + 0x34]
push dword [edi + 0x30]
push esi
push eax
call fcn.00454fa0
cmp dword [esp + 0x2c], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov byte [esp + 0x17], al
jb 0x4e60ad
push dword [esp + 0x18]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x44], 8
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
jb 0x4e60dc
push dword [esp + 0x30]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
cmp byte [esp + 0x17], al
je 0x4e6101
push eax
mov ecx, ebx
call fcn.004f33d0
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00576f50
mov esp, ebp
pop ebp
ret 4
Function at 0x4eb950
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58f540
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x603320]
xor eax, esp
mov dword [esp + 0x50], eax
push esi
mov eax, dword [0x603320]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ecx, dword [0x61e5c0]
lea eax, [esp + 0x40]
push eax
call fcn.00454dd0
push str.Screenshots
mov edx, eax
mov dword [esp + 0x6c], 0
lea ecx, [esp + 0x2c]
call fcn.00426f60
add esp, 4
lea ecx, [esp + 0xc]
mov byte [esp + 0x68], 1
push ecx
mov ecx, eax
call fcn.00427220
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
push 1
cmovae eax, dword [esp + 0x10]
push 0
push eax
push str.explorer.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esp + 0x20], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x4eb9fc
push dword [esp + 0xc]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
cmp dword [esp + 0x3c], 8
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
jb 0x4eba23
push dword [esp + 0x28]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x3c], 7
cmp dword [esp + 0x54], 8
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
jb 0x4eba4a
push dword [esp + 0x40]
call esi
add esp, 4
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.00576f50
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58f990
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x603320]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x20], eax
lea eax, [esi + 8]
push eax
call fcn.004f4d50
mov dword [esp + 0x38], 0
lea ecx, [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x24]
push eax
call fcn.004f4d50
mov esi, dword [esi + 4]
sub esp, 0x10
mov byte [esp + 0x48], 1
mov eax, dword [esp + 0x1c]
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + 4], eax
lea eax, [esp + 0x24]
push eax
add ecx, 8
call fcn.004f4d50
push dword [esp + 0x18]
push esi
call fcn.004f5bc0
add esp, 0x18
lea ecx, [esp + 0x14]
call fcn.0041e030
push dword [esp + 0x14]
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
call esi
add esp, 4
lea ecx, [esp + 0x24]
call fcn.0041e030
push dword [esp + 0x24]
call esi
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4fe810
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x4fe825
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
jmp 0x4fe830
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4fe830
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4fe8b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x4fe8c9
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4fe8d5
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x4fe8d0
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4ffc70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590f16
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x603320]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
push 0x60
push 0
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x4ffd1c
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x4ffd1c
call fcn.004fe140
mov esi, eax
jmp 0x4ffe0c
push dword [ebp - 0x420]
push dword [ebp - 0x41c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4ffd3f
call fcn.004fe140
jmp 0x4ffdff
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x41c], ebx
test ebx, ebx
jne 0x4ffd5d
call fcn.004fe140
jmp 0x4ffdff
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x4ffd7e
mov esi, 0x8007000e
jmp 0x4ffe01
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.004fe0f0
jmp 0x4ffda8
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
jne 0x4ffdbf
mov esi, 0x8007000e
jmp 0x4ffe01
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x4ffddf
call fcn.004fe140
jmp 0x4ffdff
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.004ffb10
mov esi, eax
test edi, edi
je 0x4ffe0c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x4ffe30
lea ecx, [ebp - 0x418]
call fcn.004fe0a0
jmp 0x4ffe30
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00576f50
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5045d0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
mov eax, dword [eax + 0xf0]
call eax
mov edx, dword [ebp + 8]
test al, al
jne 0x504616
mov eax, dword [edx]
cmp eax, 8
jle 0x504616
cmp eax, 0x13
jge 0x504616
mov ecx, dword [edi + 0x60]
push edx
test ecx, ecx
je 0x5047ef
mov eax, dword [ecx]
call dword [eax + 0x120]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edx]
cmp eax, 0xd
jne 0x504680
push dword [edx + 0x10]
lea eax, [edi + 0x174]
push dword [edx + 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x5047f6
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0xe8]
call eax
test al, al
je 0x5047f6
or dword [edi + 0x7e8], 0x50
lea esi, [edi + 0x1830]
push esi
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi]
mov ecx, edi
mov dword [edi + 0x1838], eax
mov eax, dword [esi + 4]
mov dword [edi + 0x183c], eax
call fcn.005395a0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
cmp eax, 9
jne 0x504725
test byte [edi + 0x7e8], 0x40
je 0x5047f6
push dword [edx + 0x10]
lea eax, [edi + 0x174]
push dword [edx + 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x5046b6
or dword [edi + 0x7e8], 0x10
jmp 0x5046bd
and dword [edi + 0x7e8], 0xffffffef
cmp dword [edi + 0x1830], 0
je 0x504716
cmp dword [edi + 0x1834], 0
je 0x504716
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0xc]
lea ecx, [edi + 0x1818]
sub eax, dword [edi + 0x1834]
push eax
mov eax, dword [esp + 0xc]
sub eax, dword [edi + 0x1830]
push eax
call fcn.004567e0
mov eax, dword [esp + 8]
mov dword [edi + 0x1830], eax
mov eax, dword [esp + 0xc]
mov dword [edi + 0x1834], eax
mov byte [edi + 0x1840], 1
mov ecx, edi
call fcn.005395a0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
cmp eax, 0xe
jne 0x5047ee
test byte [edi + 0x7e8], 0x40
je 0x5047f6
push dword [edx + 0x10]
lea eax, [edi + 0x174]
push dword [edx + 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x5047a5
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0xe8]
call eax
test al, al
je 0x5047a5
cmp byte [edi + 0x1840], 0
je 0x50479e
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 8]
sub eax, dword [edi + 0x1838]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x5047a5
mov eax, dword [esp + 0xc]
sub eax, dword [edi + 0x183c]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x5047a5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
and dword [edi + 0x7e8], 0xffffffaf
mov ecx, edi
mov dword [edi + 0x1830], 0
mov eax, dword [edi + 0x1830]
mov dword [edi + 0x1834], 0
mov dword [edi + 0x1838], eax
mov eax, dword [edi + 0x1834]
mov dword [edi + 0x183c], eax
mov byte [edi + 0x1840], 0
call fcn.005395a0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push edx
mov ecx, edi
call fcn.0053d120
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x507200
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591bf9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x603320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov word [edi], ax
call fcn.0040d950
lea ecx, [edi + 0x18]
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x18]
push eax
call fcn.0040d950
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 1
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x30]
push eax
call fcn.0040d950
lea ecx, [edi + 0x48]
mov byte [ebp - 4], 2
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x48]
push eax
call fcn.0040d950
mov byte [ebp - 4], 3
lea ecx, [edi + 0x64]
mov eax, dword [esi + 0x60]
mov dword [edi + 0x60], eax
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x64]
push eax
call fcn.0040d950
mov eax, dword [esi + 0x7c]
mov dword [edi + 0x7c], eax
mov al, byte [esi + 0x80]
mov byte [edi + 0x80], al
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x513620
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ecx
xor eax, eax
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x63afa0], ecx
inc eax
cmp eax, 0x100
jb 0x513623
cmp eax, 0x800
jae 0x5136f3
nop
mov edx, dword [eax*4 + 0x63aba0]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x63afa0]
mov dword [eax*4 + 0x63afa0], edx
inc eax
cmp eax, 0x800
jb 0x5136d0
mov dword [0x63af98], 0x515110
mov dword [0x63af9c], 0x515110
mov dword [0x63cfa0], 0x5151b0
call fcn.005153c0
mov ecx, dword [0x63af9c]
test eax, eax
mov edx, 0x5151b0
cmove ecx, edx
mov dword [0x63af9c], ecx
pop ecx
ret
Function at 0x5184b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
xor edi, edi
mov dword [ebp - 4], ebx
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x5184d6
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
add dword [ebp + 8], 5
sub edx, 4
add edx, ebx
mov dword [ebp - 0xc], edx
lea eax, [edi + ebx]
cmp eax, edx
jae 0x5184ff
lea esp, [esp]
mov cl, byte [eax]
and cl, 0xfe
cmp cl, 0xe8
je 0x5184ff
inc eax
cmp eax, edx
jb 0x5184f0
mov ecx, eax
sub ecx, edi
mov edi, eax
sub ecx, ebx
sub edi, ebx
cmp eax, edx
jae 0x5185e2
cmp ecx, 2
jbe 0x5185a2
xor esi, esi
movzx ebx, byte [eax + 4]
lea ecx, [ebx + 1]
test cl, 0xfe
jne 0x5185d4
movzx ecx, byte [eax + 3]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax + 2]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax + 1]
shl ebx, 8
or ebx, ecx
mov ecx, dword [ebp + 8]
add ecx, edi
add edi, 5
sub ebx, ecx
mov dword [ebp - 8], ecx
test esi, esi
je 0x51857c
and esi, 6
mov edx, ebx
shl esi, 2
mov ecx, esi
shr edx, cl
inc edx
test dl, 0xfe
jne 0x518577
mov edx, 0x100
shl edx, cl
dec edx
xor ebx, edx
sub ebx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
xor esi, esi
mov ecx, ebx
mov byte [eax + 1], bl
shr ecx, 8
mov byte [eax + 2], cl
mov ecx, ebx
shr ebx, 0x18
and bl, 1
shr ecx, 0x10
neg bl
mov byte [eax + 3], cl
mov byte [eax + 4], bl
mov ebx, dword [ebp - 4]
jmp 0x5184e2
shr esi, cl
test esi, esi
je 0x51851c
cmp esi, 4
ja 0x5185c9
cmp esi, 3
je 0x5185c9
mov ecx, esi
shr ecx, 1
movzx ecx, byte [ecx + eax + 1]
inc ecx
test cl, 0xfe
jne 0x51851c
or esi, 8
shr esi, 1
inc edi
jmp 0x5184e2
mov ebx, dword [ebp - 4]
or esi, 8
shr esi, 1
inc edi
jmp 0x5184e2
cmp ecx, 2
jbe 0x5185f7
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
shr esi, cl
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret