joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41cc00
Capabilities:
Create thread
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598ca6
mov eax, dword fs:[0]
push eax
sub esp, 0x158
push esi
mov eax, dword [0x6d28d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x6e31cc], 1
jne 0x41ccbf
push 1
push 0x40
push 8
push str.GameGuard_Log.txt
lea ecx, [ebp - 0x164]
call fcn.0040c3b0
lea eax, [ebp - 0x164]
mov dword [ebp - 4], 0
push str._nI_Scan:
push eax
call fcn.0040ae40
lea eax, [ebp - 0x164]
push str.Dll_injection_
push eax
call fcn.0040ae40
add esp, 0x10
lea ecx, [ebp - 0x160]
call fcn.00409fd0
test eax, eax
jne 0x41cca1
push eax
mov eax, dword [ebp - 0x164]
lea ecx, [ebp - 0x164]
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_]
lea ecx, [ebp - 0x104]
mov dword [ebp - 4], 0xffffffff
call fcn.0040c4c0
lea ecx, [ebp - 0x104]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
cmp dword [0x6e31dc], 1
jne 0x41cda4
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.MSVCR120.dll__time64]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.MSVCR120.dll__localtime64]
add esp, 8
lea ecx, [ebp - 0xbc]
mov esi, eax
push 1
push 0x40
push 8
push 0x5a6ee4
call fcn.0040c3b0
lea eax, [ebp - 0xbc]
mov dword [ebp - 4], 1
push str._nLocal_Time:
push eax
call fcn.0040ae40
push esi
call dword [sym.imp.MSVCR120.dll_asctime]
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.0040ae40
lea eax, [ebp - 0xbc]
push str.I_Scan:
push eax
call fcn.0040ae40
lea eax, [ebp - 0xbc]
push str.Dll_injection_
push eax
call fcn.0040ae40
lea eax, [ebp - 0xbc]
push str._n__________________
push eax
call fcn.0040ae40
add esp, 0x2c
lea ecx, [ebp - 0xb8]
call fcn.00409fd0
test eax, eax
jne 0x41cd86
push eax
mov eax, dword [ebp - 0xbc]
lea ecx, [ebp - 0xbc]
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 2
push 0x5a6ee4
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x5c]
call fcn.0040c4c0
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, dword [0x6e31d0]
push 0
cmp eax, 1
jne 0x41cdd6
push 0
push 0
push 0x41ceb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 2
jne 0x41cde6
push 0
push 0
push 0x41ce30
jmp 0x41cdb9
cmp eax, 3
jne 0x41cdf6
push 0
push 0
push 0x40d1d0
jmp 0x41cdb9
cmp eax, 4
jne 0x41ce27
push 0
push 0
push 0x40f2d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x200010
push str.I_Scan
push str.Dll_injection_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x41cdce
jmp 0x41cdd0
Function at 0x41e800
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x41e2c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x41f520
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x41fcb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x41fdf0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x420060
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x4203a0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x4204c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x420be0
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6d28d0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x6e31e0], 1
push ebx
push esi
push edi
jne 0x420c89
movzx eax, word [0x449081]
push eax
lea eax, [ebp - 0x10]
push 0x5ab8a8
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
mov dword [ebp - 0x14], str.A__XE
add esp, 0xc
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x14]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x420c72
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 - 0x14], ecx
test esi, esi
je 0x420c69
sub edi, ecx
lea ecx, [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 - 0x14]
cmp edx, dword [ebx + 0xf]
jb 0x420c50
mov eax, dword [ebx + 0xf]
mov edi, ecx
mov byte [ecx + eax], 0
push 0x30
push edi
lea eax, [ebp - 0x10]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, 0x7361
cmp word [0x449081], ax
jne 0x420caa
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00597574
mov esp, ebp
pop ebp
ret
call fcn.004208a0
int3

Function at 0x420dc0
Capabilities:
Create thread

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

Function at 0x420de0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x426dc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x4270a0
Capabilities:
Acquire debug privileges
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x6d28d0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x6e31f4], 1
jne 0x4270c9
push 0
push 0
push 0
push 0x427510
jmp 0x427150
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4270f0
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00597574
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x4270e0
mov eax, dword [ebp - 0x20]
push 0
push 0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
push 0x10
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x4270e0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4270e0
push 0
push 0
push 0
push 0x426fe0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.00597574
mov esp, ebp
pop ebp
ret
Function at 0x427170
Capabilities:
Create thread
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598d9b
mov eax, dword fs:[0]
push eax
sub esp, 0xac
push ebx
push esi
push edi
mov eax, dword [0x6d28d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x6e31cc], 1
jne 0x4272ce
mov dword [ebp - 0x10], 0x5a7ba4
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x10]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x427202
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 - 0x10], ecx
test esi, esi
je 0x4271f9
sub edi, ecx
jmp 0x4271e0
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 - 0x10]
cmp edx, dword [ebx + 0xf]
jb 0x4271e0
mov eax, dword [ebx + 0xf]
mov edi, ecx
mov byte [ecx + eax], 0
push 1
push 0x40
push 8
push edi
lea ecx, [ebp - 0xb8]
call fcn.0040c3b0
mov dword [ebp - 0x10], 0x5ab030
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x10]
add edi, 0x14
mov dword [ebp - 4], 0
cmp byte [ebx + 0x13], 0
je 0x427272
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 - 0x10], ecx
test esi, esi
je 0x427269
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 - 0x10]
cmp edx, dword [ebx + 0xf]
jb 0x427250
mov eax, dword [ebx + 0xf]
mov edi, ecx
mov byte [ecx + eax], 0
lea eax, [ebp - 0xb8]
push edi
push eax
call fcn.0040ae40
push dword [0x6e311c]
lea eax, [ebp - 0xb8]
push eax
call fcn.0040ae40
add esp, 0x10
lea ecx, [ebp - 0xb4]
call fcn.00409fd0
test eax, eax
jne 0x4272bd
push eax
mov eax, dword [ebp - 0xb8]
lea ecx, [ebp - 0xb8]
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_]
lea ecx, [ebp - 0x58]
call fcn.0040c4c0
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, dword [0x6e31d0]
cmp eax, 1
je 0x427319
cmp eax, 3
je 0x427319
cmp eax, 4
je 0x427319
push 0
cmp eax, 2
jne 0x42730f
push 0
push 0
push 0x427410
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
test eax, eax
jne 0x427309
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
push 0
push 0
push 0x427490
jmp 0x4272f2
Function at 0x427530
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x5adc28
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 0x427560
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 0x427584
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 0x4276c0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x428460
push 0
push 0
call esi
push 0
push 0
push 0
push 0x428480
push 0
push 0
call esi
push 0
push 0
push 0
push 0x428030
push 0
push 0
call esi
pop esi
ret
Function at 0x42a140
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 [0x6e3140]
mov dword [ebp - 0xc], eax
push dword [0x6e313c]
push 0x15
push dword [0x6e3138]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 4], 0x5ae1d4
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 0x42a1dd
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 0x42a1d1
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 0x42a1b8
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 0x5ae1cc
push edi
push esi
call dword [sym.imp.WININET.dll_FtpGetFileA]
test eax, eax
je 0x42a220
push 2
push 0x5ae1cc
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.0042b080
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.MSVCR120.dll_remove]
push 0x5ae1cc
call esi
push 0x5ae1d0
call esi
add esp, 8
call fcn.00429db0
int3

Function at 0x42a240
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 [0x6d28d0]
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 [0x6e3140]
push dword [0x6e313c]
push 0x15
push dword [0x6e3138]
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 str.http:__icanhazip.com_
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
je 0x42a326
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 0x42a321
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 0x5ae1d0
push edi
call dword [sym.imp.WININET.dll_FtpPutFileA]
test eax, eax
je 0x42a30e
push edi
call esi
push ebx
call esi
call fcn.0042a140
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00597574
mov esp, ebp
pop ebp
ret
push 0x5ae1d0
call dword [sym.imp.MSVCR120.dll_remove]
add esp, 4
call fcn.00429db0
call fcn.0059786e
call fcn.0042a480
int3
Function at 0x42a330
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59903b
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x6d28d0]
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 0x5ae21c
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
cmp eax, 1
jne 0x42a45b
push eax
push 0x40
push 8
push 0x5ae1d0
lea ecx, [ebp - 0x134]
call fcn.0040c3b0
lea eax, [ebp - 0x134]
mov dword [ebp - 4], 0
push 0x5ae218
push eax
call fcn.0040ae40
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.00409fd0
test eax, eax
jne 0x42a43d
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.0042b4b0
lea ecx, [ebp - 0xd4]
call fcn.0040c4c0
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 0x42a460
call fcn.0042b5a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00597574
mov esp, ebp
pop ebp
ret
Function at 0x42ab10
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 0x42ac2c
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 0x42ac16
mov dword [ebp - 8], 0x5ae220
mov ebx, dword [ebp - 8]
mov edi, dword [ebp - 8]
add edi, 0x14
cmp byte [ebx + 0x13], al
je 0x42abc5
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 0x42abb9
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 0x42aba0
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.00429950
int3

Function at 0x42ac40
Capabilities:
Create thread
Delete file

Disassembly:
push esi
mov esi, dword [sym.imp.MSVCR120.dll_remove]
push 0x5ae1cc
call esi
push 0x5ae1d0
call esi
push 0x5ade54
call esi
add esp, 0xc
push 0
push 0
push 0
push 0x42b420
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
ret
Function at 0x42b4b0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59915b
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x6d28d0]
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 0x42b57a
push 1
push 0x40
push 8
push 0x5ae1d0
lea ecx, [ebp - 0xd0]
call fcn.0040c3b0
lea eax, [ebp - 0xd0]
mov dword [ebp - 4], 0
push 0x5ae218
push eax
call fcn.0040ae40
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.0040ae40
add esp, 0x10
lea ecx, [ebp - 0xcc]
call fcn.00409fd0
test eax, eax
jne 0x42b562
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.0042b5a0
lea ecx, [ebp - 0x70]
call fcn.0040c4c0
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 0x42b57f
call fcn.0042b5a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00597574
mov esp, ebp
pop ebp
ret

Function at 0x42b5a0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59919b
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x6d28d0]
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 0x42b66e
push 1
push 0x40
push 8
push 0x5ae1d0
lea ecx, [ebp - 0x120]
call fcn.0040c3b0
lea eax, [ebp - 0x120]
mov dword [ebp - 4], 0
push 0x5ae218
push eax
call fcn.0040ae40
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.0040ae40
add esp, 0x10
lea ecx, [ebp - 0x11c]
call fcn.00409fd0
test eax, eax
jne 0x42b652
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.0042a240
lea ecx, [ebp - 0xc0]
call fcn.0040c4c0
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.00597574
mov esp, ebp
pop ebp
ret
Function at 0x42be10
Capabilities:
Create thread

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

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

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x6e30e8], 0xb7
push ebx
push esi
push edi
jne 0x42c0af
mov eax, dword [0x6e31d0]
cmp eax, 1
jne 0x42bfc2
mov dword [ebp - 4], 0x5ae388
mov ebx, dword [ebp - 4]
mov edi, dword [ebp - 4]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x42bfa6
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 0x42bf9d
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 0x42bf84
mov eax, dword [ebx + 0xf]
mov edi, ecx
mov byte [ecx + eax], 0
push 0x200030
push dword [0x6e314c]
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 2
jne 0x42c03e
mov dword [ebp - 4], str.4g_fZP
mov ebx, dword [ebp - 4]
mov edi, dword [ebp - 4]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x42c022
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 0x42c019
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 0x42c000
mov eax, dword [ebx + 0xf]
mov edi, ecx
mov byte [ecx + eax], 0
push 0x200030
push dword [0x6e314c]
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 4], 0x5ae388
mov ebx, dword [ebp - 4]
mov edi, dword [ebp - 4]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x42c093
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 0x42c08a
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 0x42c071
mov eax, dword [ebx + 0xf]
mov edi, ecx
mov byte [ecx + eax], 0
push 0x200030
push dword [0x6e314c]
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