joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001b80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x100fb720
mov eax, 0x3c
call fcn.100011c0
mov eax, dword [0x102293a4]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
mov ebp, dword [esp + 0x4c]
push esi
mov esi, dword [esp + 0x54]
push edi
mov edi, dword [esp + 0x50]
lea eax, [esi - 1]
cmp eax, 0xe
ja 0x100fb8e0
mov ebx, dword [esp + 0x5c]
cmp ebx, 0x10
ja 0x100fb8e0
cmp ebx, 1
jb 0x100fb8e0
push 0x50
lea eax, [edi + 0x48]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push esi
lea eax, [esp + 0x30]
shl bl, 4
sub eax, esi
mov byte [esp + 0x20], bl
xorps xmm0, xmm0
mov dword [esp + 0x29], 0
push ebp
push eax
movq qword [esp + 0x29], xmm0
mov word [esp + 0x35], 0
mov byte [esp + 0x37], 0
call sub.VCRUNTIME140.dll_memcpy
lea eax, [esp + 0x37]
add esp, 0x18
sub eax, esi
mov esi, dword [edi]
mov ecx, esi
push dword [edi + 8]
or byte [eax], 1
movups xmm0, xmmword [esp + 0x14]
movups xmmword [esp + 0x3c], xmm0
psrldq xmm0, 0xc
movd eax, xmm0
shr eax, 0x18
and al, 0xc0
mov byte [esp + 0x4b], al
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x40]
push eax
call dword [section..00cfg]
call esi
movups xmm1, xmmword [esp + 0x2c]
movaps xmm0, xmm1
movd eax, xmm1
psrldq xmm0, 1
movd ecx, xmm0
movaps xmm0, xmm1
psrldq xmm0, 2
movd edx, xmm0
movaps xmm0, xmm1
xor al, cl
psrldq xmm0, 3
mov byte [esp + 0x3c], al
mov al, dl
xor al, cl
movd ecx, xmm0
mov byte [esp + 0x3d], al
movaps xmm0, xmm1
psrldq xmm0, 4
mov al, cl
xor al, dl
movd edx, xmm0
mov byte [esp + 0x3e], al
movaps xmm0, xmm1
psrldq xmm0, 5
mov al, dl
xor al, cl
movd ecx, xmm0
mov byte [esp + 0x3f], al
movaps xmm0, xmm1
psrldq xmm0, 6
mov al, cl
xor al, dl
movd edx, xmm0
mov byte [esp + 0x40], al
movaps xmm0, xmm1
psrldq xmm0, 7
mov al, dl
xor al, cl
movd ecx, xmm0
mov byte [esp + 0x41], al
movups xmmword [esp + 0x2c], xmm1
mov al, cl
xor al, dl
movzx esi, byte [esp + 0x2b]
mov byte [esp + 0x42], al
and esi, 0x3f
psrldq xmm1, 8
mov ebx, esi
movd eax, xmm1
and ebx, 7
shr esi, 3
xor al, cl
mov byte [esp + 0x43], al
lea eax, [edi + 0x78]
push eax
lea eax, [esp + 0x30]
add eax, esi
push ebx
push eax
call fcn.100fb990
mov dl, byte [esp + esi + 0x48]
mov cl, 8
sub cl, bl
or al, 0xff
add esp, 0x18
shl al, cl
and dl, al
mov eax, 1
shr dl, cl
or byte [edi + 0x87], dl
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.1000b910
add esp, 0x3c
ret
mov ecx, dword [esp + 0x48]
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1000b910
add esp, 0x3c
ret
Function at 0x10001e90
Capabilities:
Encode data using xor

Disassembly:
jmp 0x10063e30
mov edx, dword [esp + 8]
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ecx, dword [edx + 4]
mov ebp, edx
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
cmovge ebp, edi
cmovge edi, edx
push dword [edi + 4]
push ebx
call fcn.100093b0
add esp, 8
test eax, eax
jne 0x10063e61
pop edi
pop ebp
pop ebx
ret
xor eax, eax
cmp dword [ebp + 4], eax
jle 0x10063e87
push esi
nop dword [eax]
mov ecx, dword [ebp]
mov edx, dword [edi]
mov esi, dword [ecx + eax*4]
mov ecx, dword [ebx]
xor esi, dword [edx + eax*4]
mov dword [ecx + eax*4], esi
inc eax
cmp eax, dword [ebp + 4]
jl 0x10063e70
pop esi
mov ecx, dword [edi + 4]
cmp eax, ecx
jge 0x10063ea2
nop
mov ecx, dword [edi]
mov edx, dword [ebx]
mov ecx, dword [ecx + eax*4]
mov dword [edx + eax*4], ecx
inc eax
mov ecx, dword [edi + 4]
cmp eax, ecx
jl 0x10063e90
push ebx
mov dword [ebx + 4], ecx
call fcn.10011b20
add esp, 4
mov eax, 1
pop edi
pop ebp
pop ebx
ret
Function at 0x100028b0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x100f7c30
mov eax, 4
call fcn.100011c0
push esi
mov esi, dword [esp + 0x14]
mov dword [esp + 4], esi
cmp esi, 0x10
ja 0x100f7c4d
xor eax, eax
pop esi
pop ecx
ret
push ebx
push ebp
mov ebp, dword [esp + 0x24]
mov ebx, esi
push edi
push dword [esp + 0x2c]
mov edi, dword [esp + 0x1c]
and ebx, 0xf
push ebp
push dword [esp + 0x2c]
mov eax, 0x10
cmove ebx, eax
sub esi, ebx
push esi
push dword [esp + 0x2c]
lfence
push edi
call sym.libcrypto_1_1.dll_CRYPTO_cbc128_encrypt
add dword [esp + 0x34], esi
add esp, 0x18
add edi, esi
test ebx, ebx
je 0x100f7c9f
mov ecx, ebp
sub edi, ebp
mov edx, ebx
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x100f7c91
push dword [esp + 0x24]
mov esi, dword [esp + 0x30]
mov ecx, esi
push ebp
push ebp
call dword [section..00cfg]
call esi
mov eax, dword [esp + 0x28]
push ebx
lea esi, [eax - 0x10]
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [ebp]
mov eax, dword [esp + 0x28]
add esp, 0x18
movups xmmword [esi], xmm0
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret
Function at 0x10004370
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
jmp 0x10025110
push ebp
mov ebp, dword [esp + 0x10]
push ebp
push dword [esp + 0x10]
push dword [esp + 0x10]
call sym.libcrypto_1_1.dll_AES_set_encrypt_key
add esp, 0xc
lfence
test eax, eax
js 0x10025319
mov eax, dword [ebp + 0xf0]
push ebx
push esi
push edi
lea edi, [eax*4]
xor ebx, ebx
test edi, edi
jle 0x10025196
lea esi, [ebp + 8]
lea esi, [esi + edi*4]
lea eax, [ebp + 8]
mov edx, dword [eax - 8]
lea eax, [eax + 0x10]
mov ecx, dword [esi - 8]
lea esi, [esi - 0x10]
mov dword [eax - 0x18], ecx
add ebx, 4
mov ecx, dword [esi + 0xc]
sub edi, 4
mov dword [esi + 8], edx
mov edx, dword [eax - 0x14]
mov dword [eax - 0x14], ecx
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc], edx
mov edx, dword [eax - 0x10]
mov dword [eax - 0x10], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x10], edx
mov edx, dword [eax - 0xc]
mov dword [eax - 0xc], ecx
mov dword [esi + 0x14], edx
cmp ebx, edi
jl 0x10025150
mov eax, dword [ebp + 0xf0]
mov edi, 1
cmp eax, edi
jle 0x10025314
lea esi, [ebp + 4]
movzx eax, byte [esi + 0xd]
lea esi, [esi + 0x10]
mov edx, dword [esi - 4]
inc edi
movzx ecx, byte [eax*4 + 0x10198c20]
mov eax, edx
shr eax, 0x18
mov ecx, dword [ecx*4 + 0x1019a020]
movzx eax, byte [eax*4 + 0x10198c20]
xor ecx, dword [eax*4 + 0x10199820]
movzx eax, byte [esi - 2]
movzx eax, byte [eax*4 + 0x10198c20]
xor ecx, dword [eax*4 + 0x10199c20]
movzx eax, dl
mov edx, dword [esi]
movzx eax, byte [eax*4 + 0x10198c20]
xor ecx, dword [eax*4 + 0x1019a420]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [esi - 4], ecx
movzx ecx, byte [eax*4 + 0x10198c20]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x10199c20]
movzx eax, byte [eax*4 + 0x10198c20]
xor ecx, dword [eax*4 + 0x1019a020]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x10198c20]
xor ecx, dword [eax*4 + 0x10199820]
movzx eax, dl
mov edx, dword [esi + 4]
movzx eax, byte [eax*4 + 0x10198c20]
xor ecx, dword [eax*4 + 0x1019a420]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [esi], ecx
movzx ecx, byte [eax*4 + 0x10198c20]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x10199c20]
movzx eax, byte [eax*4 + 0x10198c20]
xor ecx, dword [eax*4 + 0x1019a020]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x10198c20]
xor ecx, dword [eax*4 + 0x10199820]
movzx eax, dl
mov edx, dword [esi + 8]
movzx eax, byte [eax*4 + 0x10198c20]
xor ecx, dword [eax*4 + 0x1019a420]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [esi + 4], ecx
movzx ecx, byte [eax*4 + 0x10198c20]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x10199c20]
movzx eax, byte [eax*4 + 0x10198c20]
xor ecx, dword [eax*4 + 0x1019a020]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x10198c20]
xor ecx, dword [eax*4 + 0x10199820]
movzx eax, dl
movzx eax, byte [eax*4 + 0x10198c20]
xor ecx, dword [eax*4 + 0x1019a420]
mov dword [esi + 8], ecx
cmp edi, dword [ebp + 0xf0]
jl 0x100251a6
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x10005160
Capabilities:
Encode data using xor

Disassembly:
jmp 0x100672b0
mov eax, 0x10
call fcn.100011c0
mov eax, dword [esp + 0x14]
push esi
test byte [eax + 0x10], 4
mov ecx, dword [eax + 4]
lea esi, [ecx - 1]
je 0x10067359
mov ecx, dword [eax + 8]
xor edx, edx
push ebp
xor ebp, ebp
mov dword [esp + 0xc], 0
mov dword [esp + 8], edx
mov dword [esp + 0x14], ecx
test ecx, ecx
jle 0x10067341
mov ecx, dword [eax]
push ebx
mov dword [esp + 0x14], ecx
push edi
push dword [ecx]
mov eax, ebp
xor eax, esi
lea ebx, [eax - 1]
not eax
shr ebx, 0x1f
shr eax, 0x1f
and ebx, eax
neg ebx
mov edi, ebx
or edi, dword [esp + 0x18]
call sym.libcrypto_1_1.dll_BN_num_bits_word
mov ecx, dword [esp + 0x1c]
mov edx, edi
not edx
mov dword [esp + 0x18], edi
and edx, 0x20
and eax, ebx
add edx, dword [esp + 0x14]
inc ebp
add edx, eax
add ecx, 4
add esp, 4
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
cmp ebp, dword [esp + 0x1c]
jl 0x100672f3
pop edi
pop ebx
not esi
pop ebp
lea eax, [esi - 1]
not esi
shr eax, 0x1f
shr esi, 0x1f
and eax, esi
dec eax
and eax, edx
pop esi
add esp, 0x10
ret
test ecx, ecx
jne 0x10067364
xor eax, eax
pop esi
add esp, 0x10
ret
mov eax, dword [eax]
push dword [eax + esi*4]
call sym.libcrypto_1_1.dll_BN_num_bits_word
add esp, 4
shl esi, 5
add eax, esi
pop esi
add esp, 0x10
ret

Function at 0x10005320
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
jmp 0x10044fe0
mov eax, 8
call fcn.100011c0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
push 0x1048
push 0x101a0e98
push esi
call sub.VCRUNTIME140.dll_memcpy
mov ebx, dword [esp + 0x30]
mov edi, 0x48
add esp, 0xc
mov eax, ebx
cmp dword [esp + 0x20], edi
cmovle edi, dword [esp + 0x20]
add edi, ebx
xor ebp, ebp
nop dword [eax]
movzx edx, byte [eax]
inc eax
cmp eax, edi
cmovae eax, ebx
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
cmp eax, edi
cmovae eax, ebx
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
cmp eax, edi
cmovae eax, ebx
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
cmp eax, edi
cmovae eax, ebx
xor dword [esi + ebp*4], edx
inc ebp
cmp ebp, 0x12
jl 0x10045020
mov dword [esp + 0x10], 0
xor edi, edi
mov dword [esp + 0x14], 0
nop
lea eax, [esp + 0x10]
push esi
push eax
call sym.libcrypto_1_1.dll_BF_encrypt
mov eax, dword [esp + 0x18]
add esp, 8
mov dword [esi + edi*4], eax
mov eax, dword [esp + 0x14]
mov dword [esi + edi*4 + 4], eax
add edi, 2
cmp edi, 0x12
jl 0x10045070
xor edi, edi
lea eax, [esp + 0x10]
push esi
push eax
call sym.libcrypto_1_1.dll_BF_encrypt
mov eax, dword [esp + 0x18]
add esp, 8
mov dword [esi + edi*4 + 0x48], eax
mov eax, dword [esp + 0x14]
mov dword [esi + edi*4 + 0x4c], eax
add edi, 2
cmp edi, 0x400
jl 0x10045097
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x10005780
Capabilities:
Encode data using xor

Disassembly:
jmp 0x100242a0
cmp dword [esp + 0x18], 0
je 0x100242b4
mov dword [esp + 0x18], sym.libcrypto_1_1.dll_AES_encrypt
jmp sym.libcrypto_1_1.dll_CRYPTO_cbc128_encrypt
mov dword [esp + 0x18], sym.libcrypto_1_1.dll_AES_decrypt
jmp sym.libcrypto_1_1.dll_CRYPTO_cbc128_decrypt
Function at 0x10006ea0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
jmp 0x10048930
mov eax, 4
call fcn.100011c0
cmp dword [esp + 0xc], 0
je 0x10048952
push 0x16b
push str.crypto_bio_b_sock.c
push 0x8c
jmp 0x100489cc
lea eax, [esp]
mov dword [esp], 0x1c
push eax
mov eax, dword [esp + 0x14]
push dword [eax]
call fcn.10012f80
add esp, 4
push eax
push dword [esp + 0x10]
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x100489b7
push 0x160
push str.crypto_bio_b_sock.c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x10
push 2
call sym.libcrypto_1_1.dll_ERR_put_error
push 0x161
push str.crypto_bio_b_sock.c
push 0x84
push 0x8d
push 0x20
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x28
xor eax, eax
pop ecx
ret
cmp dword [esp], 0x1c
jbe 0x100489df
push 0x165
push str.crypto_bio_b_sock.c
push 0x85
push 0x8d
push 0x20
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
xor eax, eax
pop ecx
ret
mov eax, 1
pop ecx
ret

Function at 0x10006f90
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x100434c0
push 0
push 0x1022952c
call sym.libcrypto_1_1.dll_CRYPTO_THREAD_init_local
add esp, 8
test eax, eax
je 0x100434f3
push 0
push 0x10229530
call sym.libcrypto_1_1.dll_CRYPTO_THREAD_init_local
add esp, 8
test eax, eax
jne 0x100434f6
push 0x1022952c
call sym.libcrypto_1_1.dll_CRYPTO_THREAD_cleanup_local
add esp, 4
xor eax, eax
ret
mov eax, 1
ret
Function at 0x10007a50
Capabilities:
Inspect section memory permissions

Disassembly:
jmp 0x10152cc0
add al, 1
add byte [eax], al

Function at 0x10007a90
Capabilities:
Hash data using sha224

Disassembly:
jmp 0x101372c0
mov eax, 0xdc
call fcn.100011c0
mov eax, dword [0x102293a4]
xor eax, esp
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0xe8]
xorps xmm0, xmm0
mov ecx, dword [esp + 0xe0]
test eax, eax
push esi
push dword [esp + 0xe8]
mov esi, 0x1022c720
mov dword [esp + 8], 0xc1059ed8
cmovne esi, eax
mov dword [esp + 0xc], 0xcbbb9d5d
push ecx
lea eax, [esp + 0xc]
mov dword [esp + 0x14], 0x367cd507
push eax
mov dword [esp + 0x1c], 0x629a292a
mov dword [esp + 0x20], 0x3070dd17
mov dword [esp + 0x24], 0x9159015a
mov dword [esp + 0x28], 0xf70e5939
mov dword [esp + 0x2c], 0x152fecd8
mov dword [esp + 0x30], 0xffc00b31
mov dword [esp + 0x34], 0x67332667
mov dword [esp + 0x38], 0x68581511
mov dword [esp + 0x3c], 0x8eb44a87
mov dword [esp + 0x40], 0x64f98fa7
mov dword [esp + 0x44], 0xdb0c2e0d
mov dword [esp + 0x48], 0xbefa4fa4
mov dword [esp + 0x4c], 0x47b5481d
movlpd qword [esp + 0x50], xmm0
movlpd qword [esp + 0x58], xmm0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0x30
call sym.libcrypto_1_1.dll_SHA512_Update
lea eax, [esp + 0x10]
push eax
push esi
call sym.libcrypto_1_1.dll_SHA512_Final
lea eax, [esp + 0x18]
push 0xd8
push eax
call sym.libcrypto_1_1.dll_OPENSSL_cleanse
mov ecx, dword [esp + 0xf8]
add esp, 0x1c
mov eax, esi
pop esi
xor ecx, esp
call fcn.1000b910
add esp, 0xdc
ret
Function at 0x100121f0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x100f82a0
mov eax, 4
call fcn.100011c0
push edi
mov edi, dword [esp + 0x14]
mov dword [esp + 4], edi
cmp edi, 0x10
jae 0x100f82bd
xor eax, eax
pop edi
pop ecx
ret
mov eax, dword [esp + 0x20]
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x24]
push esi
push eax
mov eax, dword [esp + 0x28]
mov esi, edi
push ebp
push eax
mov eax, dword [esp + 0x28]
and esi, 0xf
sub edi, esi
push edi
push eax
push ebx
lfence
call sym.libcrypto_1_1.dll_CRYPTO_cbc128_encrypt
add esp, 0x18
lfence
test esi, esi
jne 0x100f82fb
pop esi
pop ebp
pop ebx
mov eax, edi
pop edi
pop ecx
ret
add ebx, edi
test esi, esi
je 0x100f8313
mov ecx, ebp
sub ebx, ebp
mov al, byte [ebx + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x100f8305
push dword [esp + 0x24]
mov esi, dword [esp + 0x30]
mov ecx, esi
push ebp
push ebp
call dword [section..00cfg]
call esi
movups xmm0, xmmword [ebp]
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x1c]
pop esi
pop ebp
pop ebx
movups xmmword [eax + ecx - 0x10], xmm0
pop edi
pop ecx
ret
Function at 0x1015260a
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x10152645
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x1015262c
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x1015263d
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x10152647
inc edi
add eax, 0x28
cmp edi, esi
jb 0x10152622
xor eax, eax
pop edi
pop esi
ret
Function at 0x419b43
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x419b52
pop dword [ebp - 8]
mov eax, 0xc65786d
sub eax, 0xc23dd1b
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x4dfe1
push 0
mov eax, 0x6dca68a2
add eax, 0x927a4a1a
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0x3908cd03
add ecx, 0xc6f77368
xor ebx, ebx
add ebx, eax
mov edi, 0x907081ef
sub edi, 0x902803ef
add edi, dword [ebp - 8]
mov edx, 0x2fdf7165
sub edx, 0x9a32dd83
mov dword [ebp - 4], 0x9af00df8
mov esi, dword [edi]
xor dword [ebp - 4], eax
add esi, edx
xor dword [ebp - 4], 0x5968d4f0
mov dword [ebx], esi
sub dword [ebp - 4], 0x94600856
add ebx, 0x5ca6c07e
add ebx, 0xa3593f86
add edi, 0x55396f7
sub edi, 0x55396f3
loop 0x419bb3
add eax, 0x17f87dac
sub eax, 0x17f7892d
xor ebx, ebx
add ebx, eax
add eax, 0x62e21baf
sub eax, 0x62e21baa
mov ecx, 0x11114dbe
sub ecx, 0x10d14dbe
add ecx, dword [ebp - 8]
call ebx
leave
ret

Function at 0x43fcae
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46b5d8
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x43fcf1
push str.SystemFunction040
push dword [0x46b5d8]
call edi
push str.SystemFunction041
push dword [0x46b5d8]
mov dword [0x46b5e0], eax
call edi
mov dword [0x46b5e4], eax
jmp 0x43fcf6
mov eax, dword [0x46b5e4]
cmp dword [0x46b5e0], 0
je 0x43fd07
test eax, eax
jne 0x43fdae
push 0x46b5dc
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x43fdb8
push str.CryptProtectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e0], 0
mov dword [0x46b5e8], eax
jne 0x43fd6c
test eax, eax
jne 0x43fd6c
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fd56
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fd5d
mov esi, 0x80004005
push esi
push 0x28
push str.cryputil.cpp
call fcn.00403821
jmp 0x43fdb8
push str.CryptUnprotectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e4], 0
mov dword [0x46b5ec], eax
jne 0x43fdae
test eax, eax
jne 0x43fdae
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fda2
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fda9
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x43fd60
mov dword [0x46b5f0], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x4304c04f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x4304c05e
pop dword [ebp - 8]
mov eax, 0x1e8939db
add eax, 0x247b8683
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x39825
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0x802665e2
sub ecx, 0x8026219f
xor ebx, ebx
add ebx, eax
mov esi, 0x3eb1e51e
add esi, 0x45540e2
add esi, dword [ebp - 8]
mov edi, 0x41c40d9c
mov dword [ebp - 4], 0x3ab89fb9
mov edx, dword [esi]
xor dword [ebp - 4], 0x1710d37
sub edx, edi
add dword [ebp - 4], edx
mov dword [ebx], edx
xor dword [ebp - 4], edx
add ebx, 4
add esi, 0x6d4fdc5a
add esi, 0x92b023aa
loop 0x4304c0b4
add eax, 0x103df
xor ebx, ebx
add ebx, eax
add eax, 0x29992096
sub eax, 0x29992091
mov ecx, 0x43030000
add ecx, dword [ebp - 8]
call ebx
leave
ret

Function at 0x4304c25f
Capabilities:
Hide graphical window

Disassembly:
cmp byte [edi + 0x30], 0
push esi
sete al
mov byte [edi + 0x30], al
lea esi, [edi + 4]
test al, al
je 0x4304c28c
push 5
push 0x1f7
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x2c]
jmp 0x4304c2a5
push 0
push 0x1f7
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x28]
call fcn.4304c04f
xor eax, eax
pop esi
ret

Function at 0x4304eb37
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x4306c86c], 0
jne 0x4304eb50
push 0x4304eb78
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [0x4306c86c], eax
cmp dword [0x4306c868], 0
jne 0x4304eb74
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
push 0
push 0x4304eb9e
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x4306c868], eax
ret
Function at 0x402035
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x200
push 1
mov ebx, 0x184
call fcn.0044b6a0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40207a
push ebx
call fcn.0044aca7
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0x200
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4020a5
push 6
call fcn.0044acad
add esp, 4
push 0x80000101
push 0
push 0x5c
push 1
mov ebx, 0x140
call fcn.0044b4b0
add esp, 0x10
mov dword [ebp - 8], eax
push dword [ebp - 8]
push dword [ebp - 4]
mov ecx, 2
call fcn.004017a9
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4020ec
push ebx
call fcn.0044aca7
add esp, 4
mov eax, dword [ebp - 0xc]
jmp 0x4020f4
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x402105
push ebx
call fcn.0044aca7
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x40210a
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x402137
push 6
call fcn.0044acad
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40214e
mov eax, 1
jmp 0x402158
mov eax, 0
jmp 0x402158
mov esp, ebp
pop ebp
ret 4

Function at 0x402215
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x402242
push 6
call fcn.0044acad
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x402259
mov eax, 1
jmp 0x402263
mov eax, 0
jmp 0x402263
mov esp, ebp
pop ebp
ret 4

Function at 0x402269
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
push dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4022a5
push 6
call fcn.0044acad
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4022bc
mov eax, 1
jmp 0x4022c6
mov eax, 0
jmp 0x4022c6
mov esp, ebp
pop ebp
ret 8

Function at 0x4025d0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x4025fd
push 6
call fcn.0044acad
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x402614
mov eax, 1
jmp 0x40261e
mov eax, 0
jmp 0x40261e
mov esp, ebp
pop ebp
ret 4
Function at 0x402624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x200
push 1
mov ebx, 0x184
call fcn.0044b6a0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x402669
push ebx
call fcn.0044aca7
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0x200
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x402694
push 6
call fcn.0044acad
add esp, 4
push 0x80000101
push 0
push 0x5c
push 1
mov ebx, 0x140
call fcn.0044b4b0
add esp, 0x10
mov dword [ebp - 8], eax
push reloc.WSOCK32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4026da
mov eax, 0x476315
push eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4026ee
mov eax, 0x476315
push eax
push 4
mov ebx, 0x14c
call fcn.0044b940
add esp, 0x34
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402714
push ebx
call fcn.0044aca7
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0xc]
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x402731
mov eax, 0x476315
push eax
push 2
mov ebx, 0x134
call fcn.0044b9f0
add esp, 0x1c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
jmp 0x40274f
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x402760
push ebx
call fcn.0044aca7
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret