joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40aff0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [esi + 0x80]
mov ebx, dword [esi + 0x84]
test ecx, ecx
je 0x40b0e9
push edi
mov edi, dword [ebp + 8]
lea eax, [ecx - 1]
shr eax, 3
add edi, 2
inc eax
mov dword [ebp + 0x10], eax
movzx ecx, byte [edi + 2]
movzx eax, byte [edi + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi - 1]
xor ecx, ebx
push esi
push ecx
movzx ecx, byte [edi - 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 8]
xor ecx, edx
push ecx
push eax
call fcn.0040bcd0
lea eax, [esi + 0x88]
push eax
push dword [ebp - 4]
lea eax, [ebp - 8]
push dword [ebp - 8]
push eax
call fcn.0040b2f0
lea eax, [esi + 0x110]
push eax
push dword [ebp - 4]
lea eax, [ebp - 8]
push dword [ebp - 8]
push eax
call fcn.0040bcd0
mov edx, dword [ebp - 8]
lea edi, [edi + 8]
mov ebx, dword [ebp - 4]
mov eax, edx
shr eax, 0x18
add esp, 0x30
mov byte [edi - 0xa], al
mov eax, edx
shr eax, 0x10
mov byte [edi - 9], al
mov eax, edx
shr eax, 8
mov byte [edi - 8], al
mov eax, ebx
shr eax, 0x18
mov byte [edi - 6], al
mov eax, ebx
shr eax, 0x10
mov byte [edi - 5], al
mov eax, ebx
shr eax, 8
sub dword [ebp + 0x10], 1
mov byte [edi - 7], dl
mov byte [edi - 4], al
mov byte [edi - 3], bl
jne 0x40b023
pop edi
mov dword [esi + 0x84], ebx
mov dword [esi + 0x80], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b100
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ebx
push edi
mov ebx, dword [ecx + 0x80]
mov edi, dword [ecx + 0x84]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], edi
test eax, eax
je 0x40b1f9
push esi
mov esi, dword [ebp + 8]
dec eax
shr eax, 3
add esi, 2
inc eax
mov dword [ebp + 0xc], eax
nop word [eax + eax]
movzx ebx, byte [esi - 2]
movzx eax, byte [esi - 1]
movzx edi, byte [esi + 2]
shl ebx, 8
or ebx, eax
shl edi, 8
movzx eax, byte [esi]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 1]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 3]
or edi, eax
movzx eax, byte [esi + 4]
shl edi, 8
or edi, eax
movzx eax, byte [esi + 5]
push ecx
shl edi, 8
or edi, eax
lea eax, [ebp - 0x10]
push edi
push ebx
push eax
call fcn.0040b2f0
mov ecx, dword [ebp - 4]
lea esi, [esi + 8]
xor ecx, dword [ebp - 0x10]
add esp, 0x10
mov edx, dword [ebp - 8]
mov eax, ecx
xor edx, dword [ebp - 0xc]
shr eax, 0x18
mov byte [esi - 0xa], al
mov eax, ecx
shr eax, 0x10
mov byte [esi - 9], al
mov eax, ecx
shr eax, 8
mov byte [esi - 8], al
mov eax, edx
shr eax, 0x18
mov byte [esi - 6], al
mov eax, edx
shr eax, 0x10
mov byte [esi - 5], al
mov eax, edx
shr eax, 8
sub dword [ebp + 0xc], 1
mov byte [esi - 7], cl
mov ecx, dword [ebp + 0x10]
mov byte [esi - 4], al
mov byte [esi - 3], dl
mov dword [ebp - 4], ebx
mov dword [ebp - 8], edi
jne 0x40b140
mov eax, ecx
pop esi
mov dword [eax + 0x84], edi
pop edi
mov dword [eax + 0x80], ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ecx + 0x84], edi
pop edi
mov dword [ecx + 0x80], ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40b210
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 8
push ebx
push edi
mov edi, dword [ebp + 0x10]
mov edx, dword [edi + 0x80]
mov ebx, dword [edi + 0x84]
test eax, eax
je 0x40b2db
push esi
mov esi, dword [ebp + 8]
dec eax
shr eax, 3
add esi, 2
inc eax
mov dword [ebp + 0x10], eax
movzx ecx, byte [esi + 2]
movzx eax, byte [esi + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi - 1]
xor ecx, ebx
push edi
push ecx
movzx ecx, byte [esi - 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 8]
xor ecx, edx
push ecx
push eax
call fcn.0040bcd0
mov edx, dword [ebp - 8]
lea esi, [esi + 8]
mov ebx, dword [ebp - 4]
mov eax, edx
shr eax, 0x18
add esp, 0x10
mov byte [esi - 0xa], al
mov eax, edx
shr eax, 0x10
mov byte [esi - 9], al
mov eax, edx
shr eax, 8
mov byte [esi - 8], al
mov eax, ebx
shr eax, 0x18
mov byte [esi - 6], al
mov eax, ebx
shr eax, 0x10
mov byte [esi - 5], al
mov eax, ebx
shr eax, 8
sub dword [ebp + 0x10], 1
mov byte [esi - 7], dl
mov byte [esi - 4], al
mov byte [esi - 3], bl
jne 0x40b241
pop esi
mov dword [edi + 0x84], ebx
mov dword [edi + 0x80], edx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c870
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 0x40c93a
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.0040bcd0
lea eax, [edi + 0x88]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push dword [ebp - 0xc]
push eax
call fcn.0040b2f0
lea eax, [edi + 0x110]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push dword [ebp - 0xc]
push eax
call fcn.0040bcd0
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 0x40c8a1
pop esi
mov dword [edi + 0x84], ecx
mov dword [edi + 0x80], eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40fea0
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x483600]
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 0x40fee4
lea eax, [esi + 0x20]
push ebx
push eax
call fcn.00410e60
add esp, 8
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fa94
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x40ff93
lea eax, [ebp - 0x118]
push edi
push eax
call fcn.0041a630
mov edi, dword [esi + 0xc]
add esp, 4
shr edi, 3
xor esi, esi
test edi, edi
je 0x40ff3a
nop dword [eax]
push esi
push ebx
call fcn.004085d0
mov byte [ebp - 0x119], al
lea eax, [ebp - 0x119]
push 1
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.0041a0c0
inc esi
add esp, 0x14
cmp esi, edi
jl 0x40ff10
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.0041a2e0
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.00408870
mov ecx, dword [ebp - 0x120]
mov edi, eax
add ecx, 0x1c
push edi
push ecx
call fcn.00410e60
push edi
mov esi, eax
call fcn.00408e60
add esp, 0x1c
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fa94
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0041fa94
mov esp, ebp
pop ebp
ret

Function at 0x411900
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add dword [ebp + 8], 0xb8
pop ebp
jmp fcn.00411c00
Function at 0x412830
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 0x412920
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x483600]
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.004219a0
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov edi, dword [ebp + 0xc]
xor edx, edx
test esi, esi
jle 0x412977
mov ebx, edi
lea eax, [ebp - 0x44]
sub ebx, eax
nop dword [eax]
cmp edx, 0x40
jge 0x412974
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x412960
mov ebx, dword [ebp - 0x48]
push ebx
call fcn.00411b70
push 0x40
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.00411c00
push 0x40
lea eax, [ebp - 0x44]
push 0x5c
push eax
call fcn.004219a0
add esp, 0x1c
xor edx, edx
test esi, esi
jle 0x4129b8
lea eax, [ebp - 0x44]
sub edi, eax
cmp edx, 0x40
jge 0x4129b8
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x4129a4
lea esi, [ebx + 0x5c]
push esi
call fcn.00411b70
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.00411c00
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0041ca50
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0041fa94
mov esp, ebp
pop ebp
ret
Function at 0x416cc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x483600]
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 0x416e8b
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 0x416e71
cmp edi, 8
jb 0x416e50
lea edx, [ebx - 1]
lea ecx, [ebp + edi - 0x45]
add edx, edi
cmp ebx, ecx
ja 0x416d81
lea ecx, [ebp - 0x44]
cmp edx, ecx
jae 0x416e50
cmp edi, 0x40
jb 0x416e0c
mov ecx, edi
and ecx, 0x8000003f
jns 0x416d99
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 0x416db0
mov ebx, dword [ebp - 0x54]
mov ecx, edi
and cl, 0x3f
cmp cl, 8
jb 0x416e4c
mov ecx, edi
and ecx, 0x80000007
jns 0x416e1b
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 0x416e30
cmp eax, edi
jge 0x416e6e
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 0x416e60
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 0x416cf5
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0041fa94
mov esp, ebp
pop ebp
ret
Function at 0x417a10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add dword [ebp + 8], 0xd8
pop ebp
jmp fcn.004180f0
Function at 0x4181f0
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 0x4184c0
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x483600]
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.004219a0
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov edi, dword [ebp + 0xc]
xor edx, edx
test esi, esi
jle 0x418517
mov ebx, edi
lea eax, [ebp - 0x44]
sub ebx, eax
nop dword [eax]
cmp edx, 0x40
jge 0x418514
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x418500
mov ebx, dword [ebp - 0x48]
push ebx
call fcn.004183d0
push 0x40
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.004180f0
push 0x40
lea eax, [ebp - 0x44]
push 0x5c
push eax
call fcn.004219a0
add esp, 0x1c
xor edx, edx
test esi, esi
jle 0x418558
lea eax, [ebp - 0x44]
sub edi, eax
cmp edx, 0x40
jge 0x418558
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x418544
lea esi, [ebx + 0x6c]
push esi
call fcn.004183d0
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.004180f0
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0041ca50
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0041fa94
mov esp, ebp
pop ebp
ret
Function at 0x41a870
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add dword [ebp + 8], 0xc0
pop ebp
jmp fcn.0041ad90
Function at 0x41ae90
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 0x41b180
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x483600]
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.004219a0
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov edi, dword [ebp + 0xc]
xor edx, edx
test esi, esi
jle 0x41b1d7
mov ebx, edi
lea eax, [ebp - 0x44]
sub ebx, eax
nop dword [eax]
cmp edx, 0x40
jge 0x41b1d4
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x41b1c0
mov ebx, dword [ebp - 0x48]
push ebx
call fcn.0041b010
push 0x40
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.0041ad90
push 0x40
lea eax, [ebp - 0x44]
push 0x5c
push eax
call fcn.004219a0
add esp, 0x1c
xor edx, edx
test esi, esi
jle 0x41b218
lea eax, [ebp - 0x44]
sub edi, eax
cmp edx, 0x40
jge 0x41b218
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x41b204
lea esi, [ebx + 0x60]
push esi
call fcn.0041b010
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.0041ad90
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0041ca50
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0041fa94
mov esp, ebp
pop ebp
ret

Function at 0x41c9b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x484190]
push esi
push edi
test ecx, ecx
jne 0x41c9f6
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.00402980
add esp, 0xc
mov dword [0x484190], eax
push esi
push eax
call edi
mov ecx, dword [0x484190]
cmp eax, esi
jge 0x41c9c7
push 0
push dword [ebp + 8]
push 0x475520
push ecx
call fcn.00402170
add esp, 0x10
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
mov edi, eax
call fcn.004028c0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x41cd20
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
mov eax, dword [0x483600]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x200]
push eax
push 4
mov dword [ebp - 0x60], 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
push 0xc9
push dword [0x4854d4]
mov dword [ebp - 0x200], 0x1fc
mov dword [ebp - 0x1fc], esi
mov dword [ebp - 0x1f8], 1
mov dword [ebp - 0x1f4], 7
mov dword [ebp - 0x1f0], 0x8006
call dword [sym.imp.USER32.dll_LoadIconA]
movups xmm0, xmmword [str.Pageant__PuTTY_authentication_agent_]
mov ecx, dword [0x475dd0]
mov ebx, eax
lea eax, [ebp - 0x200]
mov dword [ebp - 0x1c8], ecx
mov cl, byte [0x475dd4]
movups xmmword [ebp - 0x1e8], xmm0
push eax
movups xmm0, xmmword [0x475dc0]
push 0
mov dword [ebp - 0x1ec], ebx
movups xmmword [ebp - 0x1d8], xmm0
mov byte [ebp - 0x1c4], cl
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov esi, eax
test ebx, ebx
je 0x41cde7
push ebx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, esi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0041fa94
mov esp, ebp
pop ebp
ret
Function at 0x41e670
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
ja 0x41e6c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.Failed_to_run___.100s___Error:__d
call fcn.00402230
add esp, 0xc
mov esi, eax
push 0x30
push str.Pageant
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call fcn.004028c0
add esp, 4
pop esi
pop ebp
ret

Function at 0x41e750
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x483600]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4841ac], 0
je 0x41e936
lea eax, [ebp - 0x218]
push eax
push str.SoftwareSimonTathamPuTTYSessions
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x41e936
push esi
push edi
push dword [0x4841a4]
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov esi, eax
cmp esi, dword [0x4841b4]
jle 0x41e7c8
mov edi, dword [sym.imp.USER32.dll_RemoveMenu]
nop dword [eax]
push 0x400
push 0
push dword [0x4841a4]
call edi
dec esi
cmp esi, dword [0x4841b4]
jg 0x41e7b0
push 0x104
lea eax, [ebp - 0x10c]
xor edi, edi
push eax
push edi
push dword [ebp - 0x218]
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x41e8db
push ebx
mov ebx, 0x1000
push 0x104
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.0041e6d0
add esp, 0xc
lea ecx, [ebp - 0x10c]
mov eax, str.Default_20Settings
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x41e840
test dl, dl
je 0x41e83c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x41e840
add ecx, 2
add eax, 2
test dl, dl
jne 0x41e820
xor eax, eax
jmp 0x41e845
sbb eax, eax
or eax, 1
test eax, eax
je 0x41e8b8
lea eax, [ebp - 0x214]
mov dword [ebp - 0x248], 0x30
mov dword [ebp - 0x224], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x248]
movlpd qword [ebp - 0x234], xmm0
push eax
push 1
push edi
push dword [0x4841a4]
movlpd qword [ebp - 0x22c], xmm0
movlpd qword [ebp - 0x220], xmm0
mov dword [ebp - 0x244], 0x13
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], ebx
call dword [sym.imp.USER32.dll_InsertMenuItemA]
inc edi
add ebx, 0x10
push 0x104
lea eax, [ebp - 0x10c]
inc esi
push eax
push esi
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x41e7f3
pop ebx
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
pop esi
jne 0x41e936
lea eax, [ebp - 0x248]
mov dword [ebp - 0x248], 0x30
push eax
push 1
push 0
push dword [0x4841a4]
mov dword [ebp - 0x244], 0x11
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 3
mov dword [ebp - 0x224], str._No_sessions_
call dword [sym.imp.USER32.dll_InsertMenuItemA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fa94
mov esp, ebp
pop ebp
ret
Function at 0x41ef00
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [0x4841d8], 0
jne 0x41f087
push esi
push str.advapi32.dll
mov dword [0x4841d8], 1
call fcn.0041c9b0
add esp, 4
mov dword [0x4841e0], eax
test eax, eax
je 0x41f07e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetSecurityInfo
push eax
call esi
mov dword [0x485494], eax
test eax, eax
je 0x41f07e
mov eax, dword [0x4841e0]
test eax, eax
je 0x41f074
push str.SetSecurityInfo
push eax
call esi
mov dword [0x485490], eax
test eax, eax
je 0x41f07e
mov eax, dword [0x4841e0]
test eax, eax
je 0x41f061
push str.OpenProcessToken
push eax
call esi
mov dword [0x4854a4], eax
test eax, eax
je 0x41f07e
mov eax, dword [0x4841e0]
test eax, eax
je 0x41f04e
push str.GetTokenInformation
push eax
call esi
mov dword [0x4854a0], eax
test eax, eax
je 0x41f07e
mov eax, dword [0x4841e0]
test eax, eax
je 0x41f03b
push 0x478394
push eax
call esi
mov dword [0x48549c], eax
test eax, eax
je 0x41f07e
mov eax, dword [0x4841e0]
test eax, eax
je 0x41f028
push 0x4783b4
push eax
call esi
mov dword [0x485498], eax
test eax, eax
je 0x41f07e
mov eax, dword [0x4841e0]
test eax, eax
je 0x41f015
push str.SetEntriesInAclA
push eax
call esi
mov dword [0x48548c], eax
test eax, eax
je 0x41f07e
mov eax, 1
mov dword [0x4841dc], eax
pop esi
ret
xor eax, eax
mov dword [0x48548c], 0
mov dword [0x4841dc], eax
pop esi
ret
xor eax, eax
mov dword [0x485498], 0
mov dword [0x4841dc], eax
pop esi
ret
xor eax, eax
mov dword [0x48549c], 0
mov dword [0x4841dc], eax
pop esi
ret
xor eax, eax
mov dword [0x4854a0], 0
mov dword [0x4841dc], eax
pop esi
ret
xor eax, eax
mov dword [0x4854a4], 0
mov dword [0x4841dc], eax
pop esi
ret
mov dword [0x485490], 0
xor eax, eax
mov dword [0x4841dc], eax
pop esi
ret
mov eax, dword [0x4841dc]
ret

Function at 0x420687
Capabilities:
Parse pe header

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

Function at 0x449a3a
Capabilities:
Parse pe header

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