joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7c7edd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x7d13b8
cmp edx, dword [eax]
je 0x7c7eff
add eax, 8
inc ecx
cmp eax, 0x7d1448
jl 0x7c7ef0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x7d13b8]
jne 0x7c802d
mov eax, dword [0xbd0d14]
cmp eax, 1
je 0x7c8007
test eax, eax
jne 0x7c7f30
cmp dword [0x7d12e4], 1
je 0x7c8007
cmp edx, 0xfc
je 0x7c802d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x7c7f67
lea eax, [ebp - 0x1a4]
push 0x7cda58
push eax
call fcn.007c88c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.007c8d50
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x7c7faa
lea eax, [ebp - 0x1a4]
push eax
call fcn.007c8d50
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x7cda54
push edi
call fcn.007cac20
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x7cda38
push eax
call fcn.007c88c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.007c88d0
lea eax, [ebp - 0xa0]
push 0x7cda34
push eax
call fcn.007c88d0
push dword [esi + 0x7d13bc]
lea eax, [ebp - 0xa0]
push eax
call fcn.007c88d0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x7cda0c
push eax
call fcn.007cab94
add esp, 0x2c
pop edi
jmp 0x7c802d
lea eax, [ebp + 8]
lea esi, [esi + 0x7d13bc]
push 0
push eax
push dword [esi]
call fcn.007c8d50
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x8ccba6
Capabilities:
Encode data using xor

Disassembly:
push 0x8cc92e
pop edi
or ecx, eax
add ecx, 0x58dadb88
call fcn.008ccbeb
sub eax, ecx
mov ecx, 0xfa2cd63f
sub ecx, ecx
xor dword [esi], edi
sub ecx, 1
inc esi
push 0xd75bce99
pop ecx
inc ecx
cmp esi, edx
jne fcn.008ccba6
sub ecx, 0x855ca151
and ecx, eax
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x243867d1
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x26cd0d9e
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4320c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x4b19511b
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x65f46b6d
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x40561b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40a020]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00402fb6
and dword [ebp - 0x14], 0
cmp dword [0x40b7d8], 0
mov dword [ebp - 0x18], eax
jne 0x4056ce
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405776
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405776
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40b7d8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40b7dc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40b7e0], eax
call edi
push eax
call esi
mov dword [0x40b7e8], eax
test eax, eax
je 0x4056ce
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40b7e4], eax
mov eax, dword [0x40b7e4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405727
cmp dword [0x40b7e8], ecx
je 0x405727
push eax
call esi
push dword [0x40b7e8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405727
test ebx, ebx
je 0x405727
call edi
test eax, eax
je 0x40571e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40571e
test byte [ebp - 8], 1
jne 0x405727
or dword [ebp + 0x10], 0x200000
jmp 0x40575a
mov eax, dword [0x40b7dc]
cmp eax, dword [ebp - 0x18]
je 0x40575a
push eax
call esi
test eax, eax
je 0x40575a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40575a
mov eax, dword [0x40b7e0]
cmp eax, dword [ebp - 0x18]
je 0x40575a
push eax
call esi
test eax, eax
je 0x40575a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40b7d8]
call esi
test eax, eax
je 0x405776
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405778
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040237a
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x7bfb19b6
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x93b1062
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x424ce0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, dword [0x431014]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
push 0x42c4f4
push eax
call fcn.0041208a
add esp, 8
test eax, eax
je 0x424d3e
mov esi, eax
push 2
push 0
push eax
call fcn.00412a31
add esp, 0xc
mov ebx, 6
test eax, eax
je 0x424d45
push esi
call fcn.0041217f
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040ac85
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, 6
jmp 0x424d2a
push esi
call fcn.00412d08
add esp, 4
test eax, eax
jle 0x424d21
mov edi, eax
inc eax
push eax
call fcn.00409f5e
add esp, 4
mov dword [ebp - 0x1c], eax
xor eax, eax
push eax
push eax
push esi
call fcn.00412a31
add esp, 0xc
test eax, eax
je 0x424d80
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0040a1ea
add esp, 4
jmp 0x424d21
push esi
push edi
push 1
push dword [ebp - 0x1c]
call fcn.00412813
add esp, 0x10
cmp eax, edi
mov eax, dword [ebp - 0x1c]
jne 0x424d75
mov byte [eax + edi], 0
lea edx, [ebp - 0x14]
mov dword [edx], eax
mov ecx, 0x429aa0
mov edi, eax
call fcn.00424f20
test eax, eax
je 0x424e22
mov ebx, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
movzx eax, byte [ebx]
cmp eax, 0x23
je 0x424dcc
cmp eax, 0x3b
jne 0x424de3
mov ecx, 0x429aa0
lea edx, [ebp - 0x14]
call fcn.00424f20
add byte [eax], al
mov ebx, eax
test eax, eax
jne 0x424dbf
jmp 0x424e29
mov al, byte [ebx]
inc ebx
cmp al, 9
je 0x424de1
movzx ecx, al
cmp ecx, 0x20
je 0x424de1
lea edi, [ebx - 1]
mov dword [ebp - 0x18], edi
test al, al
je 0x424e1d
cmp ecx, 0x5b
jne 0x424e17
mov dword [ebp - 0x18], ebx
mov ecx, 0x429aa6
lea edi, [ebp - 0x18]
mov edx, edi
call fcn.00424f20
test eax, eax
jne 0x424e47
jmp 0x424e3e
test byte [ebp - 0x20], 1
jne 0x424e72
mov edi, dword [ebp - 0x1c]
jmp 0x424dcc
mov dword [ebp - 0x24], 0
xor eax, eax
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp + 0x10]
setne al
lea ebx, [eax + eax*4]
mov eax, edi
jmp 0x424d75
mov dword [ebp - 0x20], 0
jmp 0x424e1d
mov ecx, 0x429aa3
mov edx, edi
call fcn.00424f20
test eax, eax
mov edi, dword [ebp - 0x1c]
jne 0x424ef3
cmp dword [ebp + 0x18], 0
jne 0x424eff
push str.Strings
jmp 0x424f02
mov ecx, 0x429aa8
lea edx, [ebp - 0x18]
call fcn.00424f20
test eax, eax
je 0x424e1d
mov ecx, dword [ebp + 0xc]
mov edx, edi
call fcn.00424fa0
test eax, eax
js 0x424e1d
mov edi, eax
cmp eax, dword [ebp + 0x10]
jae 0x424e1d
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
push eax
call fcn.00413b00
add esp, 4
mov ebx, eax
inc ebx
push ebx
call fcn.00409f5e
add esp, 4
push ebx
push 0
mov ebx, eax
push eax
call fcn.0040c4c0
add esp, 0xc
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + edi*4]
mov dword [ecx + edi*4], ebx
mov ecx, ebx
test eax, eax
je 0x424edf
push eax
call fcn.0040a1ea
add esp, 4
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + edi*4]
push dword [ebp - 0x28]
push ecx
call fcn.00413680
add esp, 8
inc dword [ebp - 0x24]
jmp 0x424e1d
mov dword [ebp - 0x20], 0
jmp 0x424dcc
push dword [ebp + 0x18]
push ebx
call fcn.004135f0
add esp, 8
test eax, eax
sete al
mov dword [ebp - 0x20], eax
jmp 0x424dcc
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..idata
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
je 0x431072
nop
nop
mov ebx, 0x40915c
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x37633414
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x431060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x6ee22751
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x405693
Capabilities:
Encode data using xor

Disassembly:
ror byte [ecx - 0x7bf0b18f], cl
pushfd
add byte [eax], al
push edx
stc
cmp al, byte [ebp + 0x75be89ff]
push ss
cmp dword [ebp - 8], ecx
jb 0x405488
mov edi, dword [eax - 4]
sub eax, 4
dec ecx
test edi, edi
jne 0x405486
test dword [ebx + 0x77], esp
int1
ja 0x405477
mov dword [esi], ecx
mov ecx, dword [edx + 8]
mov eax, dword [esi + 8]
add eax, ecx
mov dword [esi + 0x52], eax
mov ecx, eax
mov edx, dword [esp + eax]
cmp ecx, eax
jbe 0x405484
mov dword [esi + 8], eax
ja 0x405517
or al, 0x85
inc esp
je 0x4054af
push esi
call 0x40c340
pop ecx
push ebp
invalid
lea eax, [edx + 0x18]
mov dword [edx], 0
invalid
jbe 0x405515
test esi, esi
jl 0x405556
push esi
call fcn.0040a340
jmp 0x405556
mov ecx, dword [esi + 0x14]
test ecx, ecx
adc al, 0x85
leave
je 0x405559
mov eax, dword [esi + 0xc]
test dword [edi], edx
je 0x405507
push eax
call fcn.0040a2d0
jb 0x405580
or byte [esi + 0x465214d3], dh
adc al, 0x85
push dword [eax + edx + 0x58]
pop eax
dec ebp
sub byte [ebx], bh
dec edi
or byte [esi + 0x46], dh
mov eax, edi
adc byte [edi], bh
test edi, edi
jne 0x405536
mov esi, dword [esi + 0xc]
or dword [ebx], 0xf0560674
in eax, dx
dec ebp
add byte [eax], al
mov esp, dword [esi - 8]
mov eax, dword [ebp + 0x37]
push eax
xchg esp, eax
sub al, 0x5c
rcl dword [edi], 0x83
add esp, 4
test eax, eax
je 0x4055a6
mov ecx, dword [ebp - 4]
lea edx, [eax - 0x1b]
mov dword [eax + 0x10], edx
mov eax, 0
lea esp, [ecx + 0x8458908]
mov dword [eax + 0x14], edx
mov eax, 0xffff9739
maskmovq mm5, mm0
cmp dword [edi + 0xf67ffff], edx
imul eax
mov eax, dword [edi + 8]
mov ecx, dword [esi + 8]
add ecx, eax
mov eax, dword [esi + 4]
cmp ecx, eax
inc ebx
test byte [eax], 0x76
add edx, dword [ecx + 0x46]
or byte [ebx - 0x9bbbc8a], cl
je 0x40560b
jbe 0x4055e3
inc esp
div byte [edi + 0x34]
mov ch, 0x96
xor al, 0xb5
xchg esi, eax
dec ebp
add byte [eax], al
mov edx, dword [0x184f8d08]
invalid
call [ebp - 0x3d]
nop
nop
nop
nop
nop
nop
inc ecx
nop
nop
nop
mov eax, dword [esi + 0x14]
test eax, eax
je 0x40559e
mov ecx, dword [eax]
mov dword [esi + 0x14], ecx
jmp 0x405621
mov edx, dword [ebp + 0xc]
mov edx, edi
adc byte [ecx + 0x558b0450], cl
test byte [ecx + 0x50896748], cl
sub ecx, dword [ebx + 0x87c104e]
jae 0x405680
adc byte [esi + 0x5d], bl
ret 0x10
lea ecx, [edx + 0x38]
test eax, eax
je 0x4056ac
cmp dword [ebx], eax
add al, 0x75
mov bh, 0x39
jo 0x405697
je 0x4056a0
test eax, 0x4d008bc8
ror byte [eax + ebx], 0xe4
pop esi
or al, 0x18
in al, 0x5e
sbb dword [ebp - 0x3e], 0xc
add byte [ebx - 0x4ece76d0], cl
dec edx
mov esi, dword [eax]
mov dword [ecx], esi
mov cl, 0x4a
xor dword [ecx + 0x8893c4a], esi
mov dword [edx + 0x3c], eax
cmp al, 0x89
or byte [ecx + 0x5e5f3c42], cl
pop edi
pop esi
pop ebx
pop ebp
xchg esp, eax
aaa
add byte [eax - 0x6f6f6f70], dl
out 0x90, eax
nop
nop
mov dl, byte [eax - 0x74a66f70]
pop ecx
mov ebx, dword [ebx + ecx*4]
inc ebp
or byte [esi - 0x75], dl
jne 0x4056a3
push edi
mov edi, dword [ebp + 0xc]
push esi
push edi
push eax
call 0x405693
push edi
call esi
add esp, 4
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x406410
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x406469
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x406469
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40645a
cmp esi, edx
jae 0x406469
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x406448
cmp esi, edx
jae 0x406469
cmp word [esi], 0
je 0x406469
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x406770
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.004065b0
mov esi, eax
test esi, esi
jne 0x406790
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
push ebx
push dword [ebp - 4]
push 0x4067f0
call dword [sym.imp.USER32.dll_EnumWindows]
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4067cf
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp eax, 1
push esi
sete bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4
push esi
mov bl, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x407710
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0041c0b5
Function at 0x40a2d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x569f06
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5cce5c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0040d988
mov ecx, eax
test ecx, ecx
je 0x40a3d5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [edi + 0xac]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push str.https:__blenc.alertsec.com
push eax
call fcn.00406040
mov esi, dword [ebp - 0x10]
add esp, 0xc
push 5
push 0
push 0
push esi
push 0x57d8bc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
push 0
push 8
mov ecx, edi
call fcn.00414cc1
push 6
mov ecx, edi
call fcn.00414f05
push 0
push 0x20000
push 0
mov ecx, edi
call fcn.00414c7f
push 0
push 0x80000
push 0
mov ecx, edi
call fcn.00414c7f
cmp byte [edi + 0xb0], 0
jne 0x40a39e
push 0
push 0x2bf20
push 1
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
mov byte [edi + 0xb0], 1
mov byte [edi + 0xb1], 0
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40a3c4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402780
int3

Function at 0x40b160
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56a14f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5cce5c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.0040b040
mov esi, dword [ebp + 8]
push str.AlertsecXpress
push eax
push esi
mov dword [ebp - 4], 0
call fcn.00402500
mov edx, dword [ebp - 0x10]
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40b1ca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp + 0xc], 0
je 0x40b1da
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40b370
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56a1e0
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x5cce5c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
push 0x104
mov dword [ebp - 0x21c], esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x104
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
call fcn.0040d988
mov ecx, eax
test ecx, ecx
je 0x40b444
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x40b406
movzx eax, ax
mov ecx, esi
push eax
call fcn.004061f0
jmp 0x40b428
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b410
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
mov ecx, esi
call fcn.004062f0
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.0054764d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402780
int3
Function at 0x40bf10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
lea ecx, [ebp - 4]
mov dword [ebp - 8], eax
push ecx
push 0x400
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call edi
push dword [ebp + 8]
mov esi, eax
call edi
add esi, 0x28
add eax, esi
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push dword [ebp - 4]
mov edi, eax
push dword [ebp - 8]
push dword [ebp + 8]
push str._s_failed_with_error__d:__s
push edi
call dword [sym.imp.KERNEL32.dll_LocalSize]
push eax
push edi
call fcn.0040bfb0
add esp, 0x18
push 0
push str.Error
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
push edi
call esi
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x40c050
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56a30b
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x5cce5c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x120], esi
call fcn.0040d988
mov ecx, eax
test ecx, ecx
je 0x40c191
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], 0
test ecx, ecx
jne 0x40c0b6
lea eax, [ecx + 0x1a]
jmp 0x40c0e2
cmp ecx, 1
jne 0x40c0c0
lea eax, [ecx + 0x22]
jmp 0x40c0e2
cmp ecx, 2
jne 0x40c0ca
lea eax, [ecx + 5]
jmp 0x40c0e2
cmp ecx, 3
jne 0x40c0d4
lea eax, [ecx + 0x23]
jmp 0x40c0e2
mov eax, dword [ebp - 0x120]
xor edx, edx
cmp ecx, 4
cmove eax, edx
lea ecx, [ebp - 0x11c]
push ecx
push eax
push 0
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
js 0x40c124
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x11c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c111
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
jmp 0x40c12b
push 5
push str.ERROR
mov ecx, esi
call fcn.004062f0
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [ebp - 0x118]
push dword [ebp - 0x11c]
mov byte [ebp - 4], 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov ecx, dword [ebp - 0x118]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x40c173
mov edx, dword [ecx]
push ecx
call dword [edx + 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.0054764d
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00402780
int3