joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002991d
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1003c080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.1001de76
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1001de76
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x10029994
cmp word [ecx], dx
je 0x10029994
mov eax, dword [0x100336d4]
push edi
dec eax
push eax
push 0x100335c0
call fcn.100298bc
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x10029a07
cmp word [eax], dx
je 0x10029a07
mov eax, dword [edi]
test eax, eax
je 0x100299b8
cmp word [eax], dx
je 0x100299b8
lea eax, [ebp - 0x10]
push eax
call fcn.1002929f
jmp 0x100299c1
lea eax, [ebp - 0x10]
push eax
call fcn.1002933a
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x10029a31
mov eax, dword [0x100335bc]
push dword [ebp - 0x14]
dec eax
push eax
push 0x100332b0
call fcn.100298bc
add esp, 0xc
test al, al
je 0x10029a31
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x100299fc
cmp word [eax], di
je 0x100299fc
lea eax, [ebp - 0x10]
push eax
call fcn.1002929f
pop ecx
jmp 0x10029a33
lea eax, [ebp - 0x10]
push eax
call fcn.1002933a
jmp 0x100299f9
mov eax, dword [edi]
test eax, eax
je 0x10029a1e
cmp word [eax], dx
je 0x10029a1e
lea eax, [ebp - 0x10]
push eax
call fcn.10029254
pop ecx
jmp 0x10029a31
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x10029afc
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10029741
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10029afc
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x10029afc
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x10029afc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10029a89
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.100209df
test ebx, ebx
je 0x10029af7
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.100209df
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10029afc
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10029afc
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.1002c0e2
add esp, 0x10
xor eax, eax
inc eax
jmp 0x10029afe
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000e5a6
leave
ret
Function at 0x1002c451
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.1002c3cd
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1002c5c0
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1002c5c0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1002c575
jg 0x1002c4ad
test eax, eax
je 0x1002c56b
push 1
push 0x1000
call fcn.1001ca12
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1002c4d0
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1002c562
push 0x8000
push ebx
call fcn.1002c2fe
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1002c4f9
jg 0x1002c4f4
cmp ecx, 0x1000
jb 0x1002c4f9
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10021885
add esp, 0x10
cmp eax, 0xffffffff
je 0x1002c53e
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x1002c4f4
jl 0x1002c525
test ecx, ecx
jne 0x1002c4e6
push dword [ebp - 0xc]
push ebx
call fcn.1002c2fe
push esi
call fcn.1001ca6f
add esp, 0xc
xor ebx, ebx
jmp 0x1002c5ce
cmp byte [edi + 0x24], 0
je 0x1002c555
cmp dword [edi + 0x20], 5
jne 0x1002c555
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1002c560
mov ebx, dword [edi + 0x18]
jmp 0x1002c562
xor ebx, ebx
push esi
call fcn.1001ca6f
pop ecx
jmp 0x1002c5ce
test ecx, ecx
jg 0x1002c537
jl 0x1002c575
test eax, eax
jae 0x1002c537
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100231bf
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1002c595
cmp byte [edi + 0x1c], 0
je 0x1002c537
jmp 0x1002c5c6
push ebx
call fcn.10029ed7
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1002c537
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1002c5ce
cmp byte [edi + 0x1c], 0
je 0x1002c5cb
mov ebx, dword [edi + 0x18]
jmp 0x1002c5ce
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.100231bf
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1002dbd0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002dbfd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002dbfd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10b64058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x10b641a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x10b6407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10b6406a
add dl, dl
jne 0x10b64089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10b640dc
xor eax, eax
add dl, dl
jne 0x10b64096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10b6417d
add dl, dl
jne 0x10b640a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10b640b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10b640bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10b640c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10b640d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10b64075
mov eax, 1
add dl, dl
jne 0x10b640ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10b640f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10b640e1
sub eax, ebx
mov ebx, 1
jne 0x10b64128
mov ecx, 1
add dl, dl
jne 0x10b6410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10b64119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10b64105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10b64075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x10b6413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10b6414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10b64136
cmp eax, 0x7d00
jae 0x10b6416d
cmp eax, 0x500
jb 0x10b64168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10b64075
cmp eax, 0x7f
ja 0x10b64170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10b64075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x10b6419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10b64075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401d00
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1118
call fcn.0040c890
mov eax, dword [0x42b740]
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 0x401d4b
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040c354
mov esp, ebp
pop ebp
ret
test dword [ebp - 0x1110], 0xfffffffc
jbe 0x401e13
push ebx
mov ebx, dword [ebp + 8]
push esi
mov eax, dword [ebp + edi*4 - 0x1108]
test eax, eax
je 0x401dff
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x401dff
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 0x401dff
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 0x401de2
test dl, dl
je 0x401dde
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401de2
add eax, 2
add ecx, 2
test dl, dl
jne 0x401dc2
xor eax, eax
jmp 0x401de7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x401df8
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 0x401d60
pop esi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x110c]
xor ecx, ebp
pop edi
call fcn.0040c354
mov esp, ebp
pop ebp
ret
Function at 0x401ff0
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 [0x42b740]
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 fcn.0040bba0
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 0x402127
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 0x402120
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 0x402113
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 0x4020fc
mov edi, edi
mov eax, dword [ebp - 0x408]
test eax, eax
je 0x4020fc
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 0x4020c0
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.0040c354
mov esp, ebp
pop ebp
ret
Function at 0x402140
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, 0x108
mov eax, dword [0x42b740]
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 0x402191
push str.An_error_is_occured_when_trying_to_get_the_full_path_of_the_DLL._n
call fcn.0040cce6
add esp, 4
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040c354
mov esp, ebp
pop ebp
ret
push edi
push esi
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4021c6
push str.An_error_is_occured_when_trying_to_open_the_target_process._n
call fcn.0040cce6
add esp, 4
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040c354
mov esp, ebp
pop ebp
ret
push ebx
push str._PROCESS_INJECTION__n
call fcn.0040cce6
push str.Process_opened_successfully._n
call fcn.0040cce6
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 8
push 0x40
push 0x3000
lea edx, [ebp - 0x108]
push edx
call ebx
inc eax
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
test esi, esi
jne 0x402225
push str.An_error_is_occured_when_trying_to_allocate_memory_in_the_target_process._n
call fcn.0040cce6
add esp, 4
pop ebx
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040c354
mov esp, ebp
pop ebp
ret
push esi
push str.Memory_allocate_at_0x_X_n
call fcn.0040cce6
add esp, 8
push 0
lea eax, [ebp - 0x108]
push eax
call ebx
inc eax
push eax
lea ecx, [ebp - 0x108]
push ecx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x40225a
push str.An_error_is_occured_when_trying_to_write_the_DLL_path_in_the_target_process._n
jmp 0x40220a
push str.DLL_path_writen_successfully._n
call fcn.0040cce6
add esp, 4
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, 0xffffffff
je 0x402212
test eax, eax
je 0x402212
push str.LoadLibraryA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
jne 0x402297
push str.An_error_is_occured_when_trying_to_get__LoadLibraryA__address._n
jmp 0x40220a
push ebx
push str.LoadLibraryA_address_at_0x_X_n
call fcn.0040cce6
add esp, 8
push 0
push 0
push esi
push ebx
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
cmp eax, 0xffffffff
jne 0x4022c5
push str.An_error_is_occured_when_trying_to_create_the_thread_in_the_target_process._n
jmp 0x40220a
push str.DLL_Injected___n
call fcn.0040cce6
mov ecx, dword [ebp - 4]
add esp, 4
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.0040c354
mov esp, ebp
pop ebp
ret
Function at 0x403320
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4229ab
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x42b740]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0040b033
push 4
mov dword [ebp - 4], 0
call fcn.0040bea4
mov edi, eax
add esp, 4
test edi, edi
je 0x4033a0
call fcn.0040acf1
mov dword [edi], eax
call fcn.0040aab0
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0040a9e5
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x403396
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0040aa0d
jmp 0x4033a2
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4046f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422cd8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x42b740]
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
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x404811
cmp byte [edi + 0x49], bl
je 0x404811
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x404805
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x404765
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x40477d
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x4047a6
dec eax
je 0x4047aa
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x404800
jmp 0x40480c
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x4047ba
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x4047e3
cmp ebx, 0x10
jae 0x4047c9
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.0040d28a
add esp, 0x10
cmp esi, eax
jne 0x4047fd
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x404809
test esi, esi
jne 0x404771
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00401550
jmp 0x40476b
lea ecx, [ebp - 0x2c]
call fcn.00401430
xor al, al
jmp 0x404813
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.0040c354
mov esp, ebp
pop ebp
ret
Function at 0x407480
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 0x4230fb
mov eax, dword fs:[0]
push eax
sub esp, 0x618
mov eax, dword [0x42b740]
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 0x4075fb
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x620]
push edx
push 0
push 0
push 0x42435c
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x4075fb
lea eax, [ebp - 0x61c]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x4075fb
lea edx, [ebp - 0x110]
push edx
call fcn.00401f70
mov esi, eax
lea eax, [ebp - 0x210]
push eax
call fcn.00401f70
mov ecx, dword [ebp - 0x620]
add eax, esi
lea eax, [eax + ecx + 0x1f3a7]
push eax
lea edx, [ebp - 0x5f8]
push 0x424ab0
push edx
call fcn.0040c80a
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 0x407586
sub eax, esi
push eax
lea eax, [ebp - 0x5f8]
push eax
call fcn.00401600
lea ecx, [ebp - 0x614]
push ecx
call fcn.00408f40
add esp, 0x20
mov esi, 0x10
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], esi
jb 0x4075be
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.00406720
add esp, 8
cmp dword [ebp - 0x600], esi
jb 0x4075e3
mov edx, dword [ebp - 0x614]
push edx
call fcn.0040b404
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.0040c354
mov esp, ebp
pop ebp
ret
Function at 0x408f40
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423378
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x42b740]
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 0x408fa5
lea eax, [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.00408d00
lea ecx, [ebp - 0x7c]
call fcn.00408db0
push esi
lea ecx, [ebp - 0x7c]
call fcn.00408e90
cmp dword [ebp + 0x20], 0x10
jb 0x408fd5
mov edx, dword [ebp + 0xc]
push edx
call fcn.0040b404
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.0040c354
mov esp, ebp
pop ebp
ret

Function at 0x40c354
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b740]
jne 0x40c35e
repz ret
jmp fcn.004122ec

Function at 0x4175d3
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4175fa
call fcn.0040f077
mov dword [eax], esi
call fcn.0040f064
push 0x16
pop esi
mov dword [eax], esi
call fcn.00412958
mov eax, esi
jmp 0x41764f
test dword [ebp + 0xc], 0xfffffff9
jne 0x4175e0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x417627
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040f08a
pop ecx
call fcn.0040f064
mov eax, dword [eax]
jmp 0x41764f
test al, 0x10
jne 0x41764d
test al, 1
je 0x41764d
test byte [ebp + 0xc], 2
je 0x41764d
call fcn.0040f077
mov dword [eax], 5
call fcn.0040f064
mov dword [eax], 0xd
jmp 0x41761e
xor eax, eax
pop esi
pop ebp
ret