joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414d40
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
sub esp, 0x828
cmp dword [0x46b1dc], 0x60b
mov eax, dword [esp + 0x82c]
mov ecx, dword [eax]
mov edx, dword [0x436fd4]
push ebx
push esi
push edi
mov edi, dword [eax + 4]
mov eax, dword [0x436fd0]
mov dword [esp + 0x2c], eax
mov eax, dword [0x436fd8]
mov dword [esp + 0x24], edx
mov edx, dword [0x436fdc]
mov ebx, 0xc6ef3720
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], edx
jne 0x414db2
push 0
lea eax, [esp + 0x1c]
push eax
push 0
lea ecx, [esp + 0x40]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CallNamedPipeW]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], 0x20
jmp 0x414dc4
mov ecx, dword [esp + 0x14]
mov eax, ecx
shl eax, 4
cmp dword [0x46b1dc], 5
mov dword [esp + 0xc], eax
jne 0x414dee
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadIdealProcessor]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
add eax, dword [esp + 0x20]
lea esi, [ebx + ecx]
shr ecx, 5
cmp dword [0x46b1dc], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
jne 0x414e2e
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
push 0x403ef0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLocaleInfoW]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
add ecx, dword [esp + 0x28]
xor eax, esi
xor ecx, eax
cmp dword [0x46b1dc], 0x5ba
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [0x468240], 0
jne 0x414e6b
push 0x403f18
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [esp + 0x10]
sub edi, ecx
mov edx, edi
shl edx, 4
cmp dword [0x46b1dc], 0x78c
mov dword [esp + 0xc], edx
jne 0x414e98
push 0
lea eax, [esp + 0x34]
push eax
push 0
lea ecx, [esp + 0x40]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
mov eax, dword [esp + 0x2c]
add dword [esp + 0xc], eax
mov edx, edi
shr edx, 5
mov dword [0x468248], 0xff6b3619
mov dword [0x46824c], 0xffffffff
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x24]
add dword [esp + 0x10], eax
lea eax, [ebx + edi]
xor dword [esp + 0xc], eax
mov eax, dword [esp + 0x10]
xor dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
sub dword [esp + 0x14], eax
cmp dword [0x46b1dc], 0x93
jne 0x414efa
push 0x403fd0
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x414f07
lea eax, [esp + 0x1c]
call fcn.00414cd0
mov ebx, dword [esp + 0x1c]
dec dword [esp + 0x18]
jne 0x414dc0
mov eax, dword [esp + 0x838]
mov edx, dword [esp + 0x14]
mov dword [eax + 4], edi
pop edi
pop esi
mov dword [eax], edx
pop ebx
add esp, 0x828
ret 4
Function at 0x47c1a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x66000]
push edi
jmp 0x47c1ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x47c1c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47c1b0
mov eax, 1
add ebx, ebx
jne 0x47c1d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x47c1e4
jne 0x47c203
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47c203
dec eax
add ebx, ebx
jne 0x47c1f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x47c1c8
add ebx, ebx
jne 0x47c1ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x47c255
xor ecx, ecx
sub eax, 3
jb 0x47c21b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x47c28a
sar eax, 1
mov ebp, eax
jmp 0x47c226
add ebx, ebx
jne 0x47c226
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47c1f4
inc ecx
add ebx, ebx
jne 0x47c234
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47c1f4
add ebx, ebx
jne 0x47c241
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x47c236
jne 0x47c252
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x47c236
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x47c274
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x47c266
jmp 0x47c1b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x47c274
add edi, ecx
jmp 0x47c1b6
pop esi
mov edi, esi
mov ecx, 0x297d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x47c292
cmp byte [edi], 6
jne 0x47c292
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x47c297
lea edi, [esi + 0x79000]
mov eax, dword [edi]
or eax, eax
je 0x47c30f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7c000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7c118]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x47c2c4
mov ecx, edi
jns 0x47c2f3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x7c11c]
or eax, eax
je 0x47c309
mov dword [ebx], eax
add ebx, 4
jmp 0x47c2e1
call dword [esi + 0x7c12c]
mov ebp, dword [esi + 0x7c120]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x47c343
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x48dc1d16
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
lea eax, [eax + 0xc]
mov edx, eax
cmp edx, eax
je 0x48dc1d70
push eax
push 0x48dc087a
call fcn.48dc1dae
push 7
push 0x48f000bc
push dword [eax + 0x30]
call fcn.48dc2107
cmp eax, 0
jne 0x48dc1d4a
inc eax
jmp 0x48dc1d72
push 0x48dc0892
call fcn.48dc1dae
push 7
push 0x48f000bc
push dword [eax + 0x30]
call fcn.48dc2107
cmp eax, 0
jne 0x48dc1d6b
inc eax
jmp 0x48dc1d72
pop eax
mov eax, dword [eax]
jmp 0x48dc1d24
xor eax, eax
ret

Function at 0x48dc1d88
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
mov eax, dword fs:[0x30]
mov al, byte [eax + 0x68]
and al, 0x70
cmp al, 0x70
sete al
movzx eax, al
ret

Function at 0x48dc1d9c
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, dword fs:[0x30]
mov al, byte [eax + 2]
test al, al
setne al
movzx eax, al
ret

Function at 0x48dc1dae
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
lea edi, [0x48f000bc]
mov esi, dword [ebp + 8]
lodsw ax, word [esi]
xor ax, 0xc7
stosw word es:[edi], ax
cmp ax, 0
jne 0x48dc1dbc
pop edi
pop esi
leave
ret 4

Function at 0x48dc1dd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
lea edi, [0x48f000bc]
mov esi, dword [ebp + 8]
lodsb al, byte [esi]
xor al, 0xc7
stosb byte es:[edi], al
cmp al, 0
jne 0x48dc1dde
pop edi
pop esi
leave
ret 4

Function at 0x48dc2012
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x3c]
mov eax, dword [eax + ebx + 0x78]
add eax, ebx
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x20]
mov edi, dword [edx + ebx]
test edi, edi
je 0x48dc2063
add edi, ebx
xchg esi, eax
push ecx
xor eax, eax
lea ecx, [eax - 1]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg esi, eax
mov esi, dword [ebp + 0xc]
repe cmpsb byte [esi], byte es:[edi]
pop ecx
jne 0x48dc2063
sub ecx, dword [eax + 0x18]
neg ecx
mov edx, dword [eax + 0x24]
add edx, ebx
movzx edx, word [edx + ecx*2]
mov eax, dword [eax + 0x1c]
add eax, ebx
mov eax, dword [eax + edx*4]
add eax, ebx
jmp 0x48dc206a
add edx, 4
loop 0x48dc202a
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 8

Function at 0x48dc2071
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
push esi
push edi
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
lea ebp, [eax + 0xc]
mov eax, dword [ebp]
mov esi, dword [eax + 0x30]
movzx ecx, word [eax + 0x2e]
mov edi, dword [esp + 0x10]
mov dx, word [esi]
cmp dx, word [edi]
je 0x48dc20bd
cmp dx, 0x41
jb 0x48dc20a2
cmp dx, 0x5a
jbe 0x48dc20a8
cmp dx, 0x61
jb 0x48dc20b4
cmp dx, 0x7a
ja 0x48dc20b4
xor dx, 0x20
jmp 0x48dc20b6
jmp 0x48dc20d0
cmp dx, word [edi]
je 0x48dc20bd
jmp 0x48dc20d0
add edi, 2
add esi, 2
sub ecx, 2
cmp ecx, 0
jne 0x48dc208e
mov eax, dword [eax + 0x18]
jmp 0x48dc20d8
mov eax, dword [eax]
cmp ebp, eax
jne 0x48dc2083
xor eax, eax
pop edi
pop esi
pop ebp
ret 4
Function at 0x40b6e0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b3d4]
jne 0x40b6ea
repz ret
jmp fcn.0041280c

Function at 0x4184bc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42b3d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040fe33
and dword [ebp - 0x14], 0
cmp dword [0x462e74], 0
mov dword [ebp - 0x18], eax
jne 0x41856f
push 0x403834
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x418617
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403828
push ebx
call edi
test eax, eax
je 0x418617
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403818
push ebx
mov dword [0x462e74], eax
call edi
push eax
call esi
push 0x403804
push ebx
mov dword [0x462e78], eax
call edi
push eax
call esi
push 0x4037e8
push ebx
mov dword [0x462e7c], eax
call edi
push eax
call esi
mov dword [0x462e84], eax
test eax, eax
je 0x41856f
push 0x4037d0
push ebx
call edi
push eax
call esi
mov dword [0x462e80], eax
mov eax, dword [0x462e80]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4185c8
cmp dword [0x462e84], ecx
je 0x4185c8
push eax
call esi
push dword [0x462e84]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4185c8
test ebx, ebx
je 0x4185c8
call edi
test eax, eax
je 0x4185bf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4185bf
test byte [ebp - 8], 1
jne 0x4185c8
or dword [ebp + 0x10], 0x200000
jmp 0x4185fb
mov eax, dword [0x462e78]
cmp eax, dword [ebp - 0x18]
je 0x4185fb
push eax
call esi
test eax, eax
je 0x4185fb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4185fb
mov eax, dword [0x462e7c]
cmp eax, dword [ebp - 0x18]
je 0x4185fb
push eax
call esi
test eax, eax
je 0x4185fb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x462e74]
call esi
test eax, eax
je 0x418617
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x418619
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b6e0
leave
ret
Function at 0x422c40
Capabilities:
Access the windows event log
Delete directory
Delete file
Get disk information
Read .ini file

Disassembly:
mov eax, 0x1004
call fcn.00421f80
cmp dword [0x803bf8], 0x37
jne 0x422cf5
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateW]
push 0x404498
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [esp + 0x808]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x4044c8
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTapePosition]
push 0
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleProcessList]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push 0
lea eax, [esp + 0x408]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
mov ecx, dword [0x803bfc]
mov eax, dword [0x800068]
mov dl, byte [ecx + esi + 0x38d6]
mov byte [eax + esi], dl
add esp, 0x1004
ret
Function at 0x401bb0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1118
call fcn.00409050
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.00408f84
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.00408f84
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.00408f84
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.00408f84
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.00408f84
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.00408f84
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.00408f84
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.00408f84
mov esp, ebp
pop ebp
ret
Function at 0x4039e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x409a58
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 0x403b07
cmp byte [edi + 0x49], 0
je 0x403b07
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x403afb
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 0x403a56
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 0x403a76
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 0x403a9b
dec eax
je 0x403a9f
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x403af6
jmp 0x403b02
mov byte [edi + 0x49], 0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp edx, 0x10
jae 0x403aaf
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x403ad9
cmp edx, 0x10
jae 0x403abe
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 0x403af3
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x403aff
test esi, esi
jne 0x403a6a
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00401550
jmp 0x403a64
lea ecx, [ebp - 0x2c]
call fcn.00401430
xor al, al
jmp 0x403b09
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.00408f84
mov esp, ebp
pop ebp
ret
Function at 0x405b10
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 0x409e5b
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 0x405c8c
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x620]
push edx
push 0
push 0
push 0x40b3f8
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x405c8c
lea eax, [ebp - 0x61c]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x405c8c
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 0x405c17
sub eax, esi
push eax
lea eax, [ebp - 0x5f8]
push eax
call fcn.00401600
lea ecx, [ebp - 0x614]
push ecx
call fcn.00407620
add esp, 0x20
mov esi, 0x10
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], esi
jb 0x405c4f
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.00404f20
add esp, 8
cmp dword [ebp - 0x600], esi
jb 0x405c74
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.00408f84
mov esp, ebp
pop ebp
ret