joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10053720
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1005378b
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10053781
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x1005377f
push 1
push 0x1798
push 0x3f21
push 1
push 0x61c0
push 0x5da3
push 0x7d01
call fcn.10050d3c
add esp, 0x1c
jmp 0x10053789
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
jmp 0x100537a8
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push 0
push 0x78ff
push 0x1832
call fcn.1004c51c
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x10072165
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1007c748]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10063be8
mov dword [ebp - 0x14], eax
cmp dword [0x1061f8e0], esi
jne 0x10072258
push 0x800
push esi
push 0x100075c8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x100721e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10072338
push esi
push esi
push 0x100075c8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10072338
push 0x100075e0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10072338
push eax
call ebx
push 0x100075ec
push edi
mov dword [0x1061f8e0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100075fc
push edi
mov dword [0x1061f8e4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007610
push edi
mov dword [0x1061f8e8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1061f8f0], eax
test eax, eax
je 0x10072255
push 0x1000762c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1061f8ec], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007227d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10072270
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10072292
push 4
pop eax
jmp 0x1007233a
cmp dword [ebp - 0x14], esi
je 0x10072292
push dword [0x1061f8e0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10072277
mov eax, dword [0x1061f8ec]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x100722f0
cmp dword [0x1061f8f0], edi
je 0x100722f0
push eax
call ebx
push dword [0x1061f8f0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x100722f0
test eax, eax
je 0x100722f0
call ecx
test eax, eax
je 0x100722e5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x100722e5
test byte [ebp - 8], 1
jne 0x100722f0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10072320
mov eax, dword [0x1061f8e4]
cmp eax, edi
je 0x1007231d
push eax
call ebx
test eax, eax
je 0x1007231d
call eax
mov esi, eax
test esi, esi
je 0x1007231d
mov eax, dword [0x1061f8e8]
cmp eax, edi
je 0x1007231d
push eax
call ebx
test eax, eax
je 0x1007231d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1061f8e0]
call ebx
test eax, eax
je 0x10072338
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1007233a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10061361
mov esp, ebp
pop ebp
ret
Function at 0x1816ac0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1330000]
push edi
or ebp, 0xffffffff
jmp 0x1816ae2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1816ae9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1816ad8
mov eax, 1
add ebx, ebx
jne 0x1816afb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1816b0c
jne 0x1816b2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1816b2b
dec eax
add ebx, ebx
jne 0x1816b18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1816af0
add ebx, ebx
jne 0x1816b27
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1816b7d
xor ecx, ecx
sub eax, 3
jb 0x1816b43
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1816bb2
sar eax, 1
mov ebp, eax
jmp 0x1816b4e
add ebx, ebx
jne 0x1816b4e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1816b1c
inc ecx
add ebx, ebx
jne 0x1816b5c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1816b1c
add ebx, ebx
jne 0x1816b69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1816b5e
jne 0x1816b7a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1816b5e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1816b9c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1816b8e
jmp 0x1816ade
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1816b9c
add edi, ecx
jmp 0x1816ade
pop esi
mov edi, esi
mov ecx, 0xd3d8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1816bba
cmp byte [edi], 0x3e
jne 0x1816bba
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1816bbf
lea edi, [esi + 0x1412000]
mov eax, dword [edi]
or eax, eax
je 0x1816c2e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x24831d8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2483308]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1816bec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2483310]
or eax, eax
je 0x1816c28
mov dword [ebx], eax
add ebx, 4
jmp 0x1816c09
call dword [esi + 0x248330c]
mov ebp, dword [esi + 0x2483314]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1816c62
sub esp, 0xffffff80
jmp 0x6bffa0
Function at 0x4013a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
jne 0x4013be
mov dword [ebp - 0x14], 0
jmp 0x4014ef
mov dword [ebp - 4], 0
jmp 0x4014aa
mov eax, dword [ebp + 8]
mov al, byte [eax]
cmp al, 0x3c
jne 0x40140c
add dword [ebp - 4], 4
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jge 0x4014b7
mov eax, dword [ebp + 0xc]
mov byte [eax], 0x26
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
mov byte [eax], 0x6c
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
mov byte [eax], 0x74
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
mov byte [eax], 0x3b
inc dword [ebp + 0xc]
jmp 0x4014a7
mov eax, dword [ebp + 8]
mov al, byte [eax]
cmp al, 0x3e
jne 0x40144b
add dword [ebp - 4], 4
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jge 0x4014b7
mov eax, dword [ebp + 0xc]
mov byte [eax], 0x26
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
mov byte [eax], 0x67
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
mov byte [eax], 0x74
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
mov byte [eax], 0x3b
inc dword [ebp + 0xc]
jmp 0x4014a7
mov eax, dword [ebp + 8]
mov al, byte [eax]
cmp al, 0x26
jne 0x40148f
add dword [ebp - 4], 5
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jge 0x4014b7
mov eax, dword [ebp + 0xc]
mov byte [eax], 0x26
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
mov byte [eax], 0x61
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
mov byte [eax], 0x6d
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
mov byte [eax], 0x70
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
mov byte [eax], 0x3b
inc dword [ebp + 0xc]
jmp 0x4014a7
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jge 0x4014b7
mov eax, dword [ebp + 8]
mov dl, byte [eax]
mov eax, dword [ebp + 0xc]
mov byte [eax], dl
inc dword [ebp + 0xc]
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
mov al, byte [eax]
test al, al
jne 0x4013ca
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jl 0x4014e3
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
push 0x1e
push 1
push str.htmlEscape__:_buffer_overflow_n
call sub.msvcrt.dll_fwrite
add esp, 0x10
sub esp, 0xc
push 1
call sub.msvcrt.dll_exit
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
leave
ret
Function at 0x402ec7
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x413a68]
cmp eax, 1
jne 0x402eea
sub esp, 0xc
push dword [ebp + 8]
call sub.msvcrt.dll_getc
add esp, 0x10
mov dword [ebp - 4], eax
jmp 0x402efb
sub esp, 0xc
push dword [ebp + 8]
call fcn.00402ad9
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x402f0a
mov dword [ebp - 0x14], 1
jmp 0x402f79
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov dword [edx], eax
sub esp, 0xc
push dword [ebp + 8]
call fcn.00402b09
add esp, 0x10
mov edx, eax
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
sub esp, 0xc
push dword [ebp + 8]
call fcn.00402b09
add esp, 0x10
mov edx, 0
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
and eax, 0x10
test eax, eax
je 0x402f72
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
push 0x1c
push 1
push str.WARNING:_hit_EOF_mid_record_n
call sub.msvcrt.dll_fwrite
add esp, 0x10
mov dword [ebp - 0x14], 1
jmp 0x402f79
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
leave
ret

Function at 0x4041bf
Capabilities:
Delete file
Execute command
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x514
mov eax, dword [0x413020]
test eax, eax
je 0x4041f3
mov eax, dword [0x413018]
push eax
push str._s.dot
push 0x104
lea eax, [ebp - 0x10c]
push eax
call fcn.00409f50
add esp, 0x10
jmp 0x404225
call sub.msvcrt.dll_rand
mov ebx, eax
sub esp, 0xc
push 0
call sub.msvcrt.dll_time
add esp, 0x10
sub esp, 0xc
push ebx
push eax
push str._tmp_dot__d__d.dot
push 0x104
lea eax, [ebp - 0x10c]
push eax
call fcn.00409f50
add esp, 0x20
sub esp, 8
push 0x410e83
lea eax, [ebp - 0x10c]
push eax
call sub.msvcrt.dll_fopen
add esp, 0x10
mov dword [ebp - 8], eax
push dword [ebp - 8]
push 0x2d
push 1
push str.digraph_g__nnode__shape__record_height.1___n
call sub.msvcrt.dll_fwrite
add esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
sub esp, 8
push eax
push dword [ebp - 8]
call fcn.0040402f
add esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
sub esp, 8
push eax
push dword [ebp - 8]
call fcn.00404128
add esp, 0x10
sub esp, 8
push dword [ebp - 8]
push 0x7d
call sub.msvcrt.dll_fputc
add esp, 0x10
sub esp, 0xc
push dword [ebp - 8]
call sub.msvcrt.dll_fclose
add esp, 0x10
mov edx, dword [0x413018]
sub esp, 0xc
lea eax, [ebp - 0x10c]
push eax
push edx
push str.dot__Tpng__o__s__s
push 0x400
lea eax, [ebp - 0x50c]
push eax
call fcn.00409f50
add esp, 0x20
sub esp, 0xc
lea eax, [ebp - 0x50c]
push eax
call sub.msvcrt.dll_system
add esp, 0x10
mov eax, dword [0x413020]
test eax, eax
jne 0x4042f2
sub esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call sub.msvcrt.dll_remove
add esp, 0x10
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x408df5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
sub esp, 4
push dword [ebp + 8]
push str.usage:__s___ho____s_sortable____d_trace_file_name____g_outfile____f_filter_file__trace_file_name_n
push eax
call sub.msvcrt.dll_fprintf
add esp, 0x10
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
push 0x2d
push 1
push str.___d_trace_file_name____Diff_with_this_trace_n
call sub.msvcrt.dll_fwrite
add esp, 0x10
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
push 0x31
push 1
push str.___g_outfile____________Write_graph_to_outfile_n
call sub.msvcrt.dll_fwrite
add esp, 0x10
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
push 0x3e
push 1
push str.___f_filter_file________Filter_functions_as_specified_in_file_n
call sub.msvcrt.dll_fwrite
add esp, 0x10
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
push 0x4d
push 1
push str.___k____________________When_writing_a_graph__keep_the_intermediate_DOT_file_n
call sub.msvcrt.dll_fwrite
add esp, 0x10
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
push 0x2c
push 1
push str.___h____________________Turn_on_HTML_output_n
call sub.msvcrt.dll_fwrite
add esp, 0x10
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
push 0x43
push 1
push str.___o____________________Dump_the_dmtrace_file_instead_of_profiling_n
call sub.msvcrt.dll_fwrite
add esp, 0x10
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
push 0x47
push 1
push str.___s____________________URL_base_to_where_the_sortable_javascript_file_n
call sub.msvcrt.dll_fwrite
add esp, 0x10
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
push 0x4e
push 1
push str.___t_threshold__________Threshold_percentage_for_including_nodes_in_the_graph_n
call sub.msvcrt.dll_fwrite
add esp, 0x10
mov eax, 2
leave
ret
Function at 0x419d30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x410015
lea edi, [esi - 0xf015]
push edi
or ebp, 0xffffffff
jmp 0x419d52
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419d59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419d48
mov eax, 1
add ebx, ebx
jne 0x419d6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419d60
jne 0x419d7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419d60
xor ecx, ecx
sub eax, 3
jb 0x419d90
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419e02
mov ebp, eax
add ebx, ebx
jne 0x419d9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419da8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x419dcc
inc ecx
add ebx, ebx
jne 0x419db8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x419dad
jne 0x419dc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419dad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x419dec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x419ddd
jmp 0x419d4e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x419dec
add edi, ecx
jmp 0x419d4e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x419e0a
cmp byte [edi], 5
jne 0x419e0a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x419e0f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x419e87
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x419e3c
mov ecx, edi
jns 0x419e6b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19090]
or eax, eax
je 0x419e81
mov dword [ebx], eax
add ebx, 4
jmp 0x419e59
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x419ebb
sub esp, 0xffffff80
jmp 0x404c20

Function at 0x414dd1
Capabilities:
Encode data using xor

Disassembly:
xor dword [ecx], esi
inc eax
or eax, ebx
sub esp, 4
mov dword [esp], 0xe144d50b
pop ebx
add ecx, 4
add edi, edi
cmp ecx, edx
jne fcn.00414dd1
sub esp, 4
mov dword [esp], 0x87a64afd
pop ebx
ret
Function at 0x401a38
Capabilities:
Enumerate process modules

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x41d2f0]
xor eax, ebp
mov dword [ebp + 0x8c], eax
push esi
push edi
mov esi, str._unknown_
lea edi, [ebp - 0x78]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0xfa
lea eax, [ebp - 0x6e]
push 0
push eax
movsw word es:[edi], word [esi]
call fcn.0040b9c0
add esp, 0xc
push dword [ebp + 0x98]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x401af4
lea eax, [ebp - 0x80]
push eax
push 4
lea eax, [ebp - 0x7c]
push eax
push edi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x401af4
mov esi, 0x104
push esi
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x7c]
push edi
call sub.PSAPI.DLL_GetModuleBaseNameA
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.00409828
pop ecx
pop ecx
mov ecx, dword [ebp + 0x9c]
lea eax, [ebp - 0x78]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401ae7
test dl, dl
je 0x401ae3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401ae7
inc eax
inc eax
inc ecx
inc ecx
test dl, dl
jne 0x401ac9
xor eax, eax
jmp 0x401aec
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x401af4
mov eax, edi
jmp 0x401afd
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp + 0x8c]
pop edi
xor ecx, ebp
pop esi
call fcn.00408623
add ebp, 0x90
leave
ret 8
Function at 0x40216e
Capabilities:
Create process on windows
Query environment variable
Self delete

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x41d2f0]
xor eax, ebp
mov dword [ebp + 0x188], eax
push ebx
push esi
mov esi, 0x104
push esi
lea eax, [ebp + 0x84]
push eax
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x40221d
push esi
lea eax, [ebp + 0x84]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x40221d
push edi
push str._c_del
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp + 0x84]
push eax
lea eax, [ebp - 0x80]
push eax
call edi
push str.____NUL
lea eax, [ebp - 0x80]
push eax
call edi
push esi
lea eax, [ebp + 0x84]
push eax
push str.ComSpec
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
pop edi
je 0x40221d
push ebx
push ebx
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x84]
push eax
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jle 0x40221d
xor eax, eax
inc eax
jmp 0x40221f
xor eax, eax
mov ecx, dword [ebp + 0x188]
pop esi
xor ecx, ebp
pop ebx
call fcn.00408623
add ebp, 0x18c
leave
ret
Function at 0x402827
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [eax + 0x18], 0x10
jb 0x402832
mov eax, dword [eax + 4]
jmp 0x402835
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
ret

Function at 0x402847
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [eax + 0x18], 0x10
jb 0x402852
mov eax, dword [eax + 4]
jmp 0x402855
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x402869
test al, 0x10
je 0x402869
xor eax, eax
inc eax
ret
xor eax, eax
ret

Function at 0x40286c
Capabilities:
Move file

Disassembly:
push 0x20
mov eax, 0x417921
call fcn.0040b8fc
push 6
mov dword [ebp - 4], 1
xor ebx, ebx
pop ecx
mov dword [ebp - 0x2c], ebx
xor eax, eax
lea edi, [ebp - 0x28]
rep stosd dword es:[edi], eax
push ebx
lea esi, [ebp + 8]
stosw word es:[edi], ax
call fcn.0040134e
push ebx
call fcn.0040134e
push ebx
lea esi, [ebp + 0x24]
call fcn.0040134e
push ebx
call fcn.0040134e
cmp dword [ebp + 0x20], 0x10
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], 2
jae 0x4028c1
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x3c], 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x28]
jae 0x4028d0
lea eax, [ebp + 0x28]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2c]
push eax
mov word [ebp - 0x1c], 0x214
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov ebx, eax
neg ebx
push 0
sbb bl, bl
push 1
lea ecx, [ebp + 8]
inc bl
call fcn.00401469
push 0
push 1
lea ecx, [ebp + 0x24]
call fcn.00401469
mov al, bl
call fcn.0040b99b
ret 0x38

Function at 0x40290d
Capabilities:
Move file

Disassembly:
push 0x20
mov eax, 0x4178f6
call fcn.0040b8fc
xor ebx, ebx
push 6
mov dword [ebp - 4], ebx
pop ecx
mov dword [ebp - 0x2c], ebx
xor eax, eax
lea edi, [ebp - 0x28]
rep stosd dword es:[edi], eax
push ebx
lea esi, [ebp + 8]
stosw word es:[edi], ax
call fcn.0040134e
push ebx
call fcn.0040134e
cmp dword [ebp + 0x20], 0x10
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], 3
jae 0x40294f
lea eax, [ebp + 0xc]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
mov word [ebp - 0x1c], 0x214
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov ebx, eax
neg ebx
push 0
sbb bl, bl
push 1
lea ecx, [ebp + 8]
inc bl
call fcn.00401469
mov al, bl
call fcn.0040b99b
ret 0x1c