joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4379a0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x10]
push ebx
push eax
push ecx
call fcn.004374a0
add esp, 0xc
test eax, eax
jl 0x437bea
mov edx, dword [ebx + 0xf0]
add edx, edx
push esi
add edx, edx
xor esi, esi
test edx, edx
push edi
jle 0x437a1d
lea ecx, [ebx + edx*4 + 8]
lea eax, [ebx + 8]
push ebp
lea ebx, [ebx]
mov ebp, dword [ecx - 8]
mov edi, dword [eax - 8]
mov dword [eax - 8], ebp
mov ebp, dword [ecx - 4]
mov dword [ecx - 8], edi
mov edi, dword [eax - 4]
mov dword [eax - 4], ebp
mov ebp, dword [ecx]
mov dword [ecx - 4], edi
mov edi, dword [eax]
mov dword [eax], ebp
mov ebp, dword [ecx + 4]
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [eax + 4], ebp
mov dword [ecx + 4], edi
add esi, 4
sub edx, 4
add eax, 0x10
sub ecx, 0x10
cmp esi, edx
jl 0x4379e0
pop ebp
mov edx, 1
cmp dword [ebx + 0xf0], edx
jle 0x437be6
lea eax, [ebx + 2]
mov ecx, dword [eax + 0xe]
movzx edi, byte [eax + 0xf]
mov edi, dword [edi*4 + 0x486838]
add eax, 0x10
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x486838]
and esi, 0xff
mov esi, dword [esi*4 + 0x487438]
and edi, 0xff
xor esi, dword [edi*4 + 0x487c38]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x486838]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x488038]
movzx ecx, byte [eax]
mov ecx, dword [ecx*4 + 0x486838]
movzx edi, byte [eax + 3]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x487838]
mov ecx, dword [eax + 2]
mov dword [eax - 2], esi
mov edi, dword [edi*4 + 0x486838]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x486838]
and esi, 0xff
mov esi, dword [esi*4 + 0x487438]
and edi, 0xff
xor esi, dword [edi*4 + 0x487c38]
movzx edi, byte [eax + 4]
mov edi, dword [edi*4 + 0x486838]
and edi, 0xff
xor esi, dword [edi*4 + 0x487838]
movzx edi, byte [eax + 7]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x486838]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x488038]
mov ecx, dword [eax + 6]
mov dword [eax + 2], esi
mov edi, dword [edi*4 + 0x486838]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x486838]
and esi, 0xff
mov esi, dword [esi*4 + 0x487438]
and edi, 0xff
xor esi, dword [edi*4 + 0x487c38]
movzx edi, byte [eax + 8]
mov edi, dword [edi*4 + 0x486838]
and edi, 0xff
xor esi, dword [edi*4 + 0x487838]
movzx edi, byte [eax + 0xb]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x486838]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x488038]
mov ecx, dword [eax + 0xa]
mov dword [eax + 6], esi
mov edi, dword [edi*4 + 0x486838]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x486838]
and esi, 0xff
mov esi, dword [esi*4 + 0x487438]
and edi, 0xff
xor esi, dword [edi*4 + 0x487c38]
movzx edi, byte [eax + 0xc]
mov edi, dword [edi*4 + 0x486838]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x486838]
and edi, 0xff
xor esi, dword [edi*4 + 0x487838]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x488038]
add edx, 1
mov dword [eax + 0xa], esi
cmp edx, dword [ebx + 0xf0]
jl 0x437a31
pop edi
xor eax, eax
pop esi
pop ebx
ret
Function at 0x4391d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.00460a40
mov eax, dword [0x4a2018]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
xor edx, edx
push ebp
push esi
mov esi, dword [eax]
push edi
mov edi, dword [esp + 0x4c]
mov dh, byte [edi + 1]
lea eax, [edi + 1]
mov dword [esp + 0x28], eax
add eax, 1
mov dword [esp + 0x18], ecx
movzx ecx, byte [edi]
or ecx, edx
movzx edx, byte [eax]
add eax, 1
shl edx, 0x10
or ecx, edx
movzx edx, byte [eax]
add eax, 1
shl edx, 0x18
or ecx, edx
movzx edx, byte [eax]
add eax, 1
xor ebx, ebx
mov bh, byte [eax]
add eax, 1
mov ebp, dword [esp + 0x40]
mov byte [esp + 0x2c], cl
mov dword [esp + 0x10], 0
or edx, ebx
xor ebx, ebx
mov bh, byte [eax + 1]
mov bl, byte [eax]
mov eax, ecx
shr eax, 8
mov byte [esp + 0x2d], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x2e], al
shl ebx, 0x10
or edx, ebx
mov ebx, ecx
shr ecx, 0x18
mov byte [esp + 0x2f], cl
mov ecx, edx
mov eax, edx
mov dword [esp + 0x20], edx
mov byte [esp + 0x30], dl
shr ecx, 8
shr eax, 0x10
shr edx, 0x18
cmp dword [esp + 0x44], 0
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x31], cl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
je 0x4393af
sub dword [esp + 0x18], 1
test esi, esi
jne 0x43930b
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.004386b0
mov ebx, dword [esp + 0x24]
mov eax, ebx
shr eax, 8
mov ecx, ebx
shr ecx, 0x10
mov edx, ebx
shr edx, 0x18
mov byte [esp + 0x35], al
mov eax, dword [esp + 0x28]
mov byte [esp + 0x36], cl
mov byte [esp + 0x37], dl
mov ecx, eax
mov edx, eax
mov byte [esp + 0x38], al
shr ecx, 8
shr edx, 0x10
shr eax, 0x18
add esp, 8
add dword [esp + 0x10], 1
mov byte [esp + 0x2c], bl
mov byte [esp + 0x31], cl
mov byte [esp + 0x32], dl
mov byte [esp + 0x33], al
mov cl, byte [esp + esi + 0x2c]
mov eax, dword [esp + 0x3c]
xor cl, byte [eax]
add esi, 1
mov byte [ebp], cl
add eax, 1
add ebp, 1
and esi, 7
cmp dword [esp + 0x18], 0
mov dword [esp + 0x3c], eax
jne 0x4392a7
cmp dword [esp + 0x10], 0
je 0x439396
mov eax, dword [esp + 0x28]
mov byte [edi], bl
mov edx, ebx
shr edx, 8
mov byte [eax], dl
add eax, 1
mov ecx, ebx
shr ecx, 0x10
mov byte [eax], cl
mov ecx, dword [esp + 0x20]
add eax, 1
shr ebx, 0x18
mov byte [eax], bl
mov byte [eax + 1], cl
add eax, 1
add eax, 1
mov edx, ecx
shr edx, 8
mov byte [eax], dl
add eax, 1
mov edx, ecx
shr edx, 0x10
mov byte [eax], dl
shr ecx, 0x18
mov byte [eax + 1], cl
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00403cb8
add esp, 0x28
ret
mov ecx, dword [esp + 0x14]
pop edi
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00403cb8
add esp, 0x28
ret
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00403cb8
add esp, 0x28
ret
Function at 0x4393d0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 8]
cmp eax, 0x80
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov byte [edi], 0
jle 0x4393ea
mov eax, 0x80
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jle 0x4393fa
cmp ecx, 0x400
jle 0x4393ff
mov ecx, 0x400
test eax, eax
jle 0x43941e
mov esi, dword [esp + 0x18]
push ebp
mov edx, edi
sub esi, edi
mov ebp, eax
mov edi, edi
mov bl, byte [esi + edx]
mov byte [edx], bl
add edx, 1
sub ebp, 1
jne 0x439410
pop ebp
cmp eax, 0x80
movzx edx, byte [edi + eax - 1]
jge 0x439450
mov esi, edi
sub esi, eax
mov edi, edi
movzx ebx, byte [esi + eax]
add ebx, edx
and ebx, 0xff
movzx edx, byte [ebx + 0x4ad418]
mov byte [eax + edi], dl
add eax, 1
cmp eax, 0x80
jl 0x439430
lea edx, [ecx + 7]
neg ecx
sar edx, 3
mov eax, 0x80
and ecx, 7
sub eax, edx
lea esi, [eax + edi]
mov ebx, 0xff
sar ebx, cl
movzx ecx, byte [esi]
and ebx, ecx
test eax, eax
movzx ecx, byte [ebx + 0x4ad418]
mov byte [esi], cl
je 0x43949a
mov edi, edi
movzx ebx, byte [esi + edx - 1]
sub esi, 1
xor ebx, ecx
movzx ecx, byte [ebx + 0x4ad418]
sub eax, 1
test eax, eax
mov byte [esi], cl
jne 0x439480
lea ecx, [edi + 0xfc]
lea eax, [edi + 0x7e]
mov esi, 0x40
xor edx, edx
mov dh, byte [eax + 1]
sub ecx, 4
sub eax, 2
mov dl, byte [eax + 2]
and edx, 0xffff
sub esi, 1
mov dword [ecx + 4], edx
jne 0x4394a8
pop edi
pop esi
pop ebx
ret
Function at 0x43aba0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.00460a40
mov eax, dword [0x4a2018]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
mov edi, dword [esp + 0x4c]
movzx edx, byte [edi + 1]
mov dword [esp + 0x18], ecx
movzx ecx, byte [edi]
lea eax, [edi + 1]
mov dword [esp + 0x28], eax
add eax, 1
shl edx, 0x10
add eax, 1
shl ecx, 0x18
or ecx, edx
xor edx, edx
mov dh, byte [eax - 1]
add eax, 1
movzx ebx, byte [eax + 1]
add eax, 1
add eax, 1
or ecx, edx
movzx edx, byte [eax - 3]
or ecx, edx
movzx edx, byte [eax - 2]
shl ebx, 0x10
shl edx, 0x18
or edx, ebx
xor ebx, ebx
mov bh, byte [eax]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x2f], cl
mov bl, byte [eax + 1]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x2c], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x2d], al
or edx, ebx
mov eax, ecx
shr eax, 8
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 8
cmp dword [esp + 0x44], 0
mov dword [esp + 0x20], edx
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
je 0x43ad85
mov ebx, dword [esp + 0x3c]
sub dword [esp + 0x18], 1
test esi, esi
jne 0x43ace9
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00439dd0
mov ecx, dword [esp + 0x24]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x34], al
mov edx, ecx
shr edx, 0x10
mov eax, ecx
shr eax, 8
mov byte [esp + 0x36], al
mov byte [esp + 0x35], dl
mov edx, dword [esp + 0x28]
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x38], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x39], al
mov eax, edx
shr eax, 8
add esp, 8
add dword [esp + 0x10], 1
mov byte [esp + 0x2f], cl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
mov al, byte [esp + esi + 0x2c]
xor al, byte [ebx]
add esi, 1
mov byte [ebp], al
add ebp, 1
add ebx, 1
and esi, 7
cmp dword [esp + 0x18], 0
jne 0x43ac83
cmp dword [esp + 0x10], 0
je 0x43ad6c
mov eax, ecx
shr eax, 0x18
mov byte [edi], al
mov eax, dword [esp + 0x28]
mov ebx, ecx
shr ebx, 0x10
mov byte [eax], bl
mov ebx, ecx
add eax, 1
shr ebx, 8
mov byte [eax], bl
mov byte [eax + 1], cl
add eax, 1
add eax, 1
mov ecx, edx
shr ecx, 0x18
mov byte [eax], cl
mov ecx, edx
add eax, 1
shr ecx, 0x10
mov byte [eax], cl
add eax, 1
mov ecx, edx
shr ecx, 8
mov byte [eax], cl
mov byte [eax + 1], dl
mov edx, dword [esp + 0x14]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00403cb8
add esp, 0x28
ret
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00403cb8
add esp, 0x28
ret
mov ecx, dword [esp + 0x14]
pop edi
mov dword [ecx], esi
mov ecx, dword [esp + 0x30]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00403cb8
add esp, 0x28
ret
Function at 0x43dcf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.00460a40
mov eax, dword [0x4a2018]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
xor edx, edx
push ebp
push esi
mov esi, dword [eax]
push edi
mov edi, dword [esp + 0x4c]
mov dh, byte [edi + 1]
lea eax, [edi + 1]
mov dword [esp + 0x28], eax
add eax, 1
mov dword [esp + 0x18], ecx
movzx ecx, byte [edi]
or ecx, edx
movzx edx, byte [eax]
add eax, 1
shl edx, 0x10
or ecx, edx
movzx edx, byte [eax]
add eax, 1
shl edx, 0x18
or ecx, edx
movzx edx, byte [eax]
add eax, 1
xor ebx, ebx
mov bh, byte [eax]
add eax, 1
mov ebp, dword [esp + 0x40]
mov byte [esp + 0x2c], cl
mov dword [esp + 0x10], 0
or edx, ebx
xor ebx, ebx
mov bh, byte [eax + 1]
mov bl, byte [eax]
mov eax, ecx
shr eax, 8
mov byte [esp + 0x2d], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x2e], al
shl ebx, 0x10
or edx, ebx
mov ebx, ecx
shr ecx, 0x18
mov byte [esp + 0x2f], cl
mov ecx, edx
mov eax, edx
mov dword [esp + 0x20], edx
mov byte [esp + 0x30], dl
shr ecx, 8
shr eax, 0x10
shr edx, 0x18
cmp dword [esp + 0x44], 0
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x31], cl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
je 0x43ded1
sub dword [esp + 0x18], 1
test esi, esi
jne 0x43de2d
mov ecx, dword [esp + 0x24]
push 1
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.0043b580
mov ebx, dword [esp + 0x28]
mov eax, ebx
shr eax, 8
mov ecx, ebx
shr ecx, 0x10
mov edx, ebx
shr edx, 0x18
mov byte [esp + 0x39], al
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x3a], cl
mov byte [esp + 0x3b], dl
mov ecx, eax
mov edx, eax
mov byte [esp + 0x3c], al
shr ecx, 8
shr edx, 0x10
shr eax, 0x18
add esp, 0xc
add dword [esp + 0x10], 1
mov byte [esp + 0x2c], bl
mov byte [esp + 0x31], cl
mov byte [esp + 0x32], dl
mov byte [esp + 0x33], al
mov cl, byte [esp + esi + 0x2c]
mov eax, dword [esp + 0x3c]
xor cl, byte [eax]
add esi, 1
mov byte [ebp], cl
add eax, 1
add ebp, 1
and esi, 7
cmp dword [esp + 0x18], 0
mov dword [esp + 0x3c], eax
jne 0x43ddc7
cmp dword [esp + 0x10], 0
je 0x43deb8
mov eax, dword [esp + 0x28]
mov byte [edi], bl
mov edx, ebx
shr edx, 8
mov byte [eax], dl
add eax, 1
mov ecx, ebx
shr ecx, 0x10
mov byte [eax], cl
mov ecx, dword [esp + 0x20]
add eax, 1
shr ebx, 0x18
mov byte [eax], bl
mov byte [eax + 1], cl
add eax, 1
add eax, 1
mov edx, ecx
shr edx, 8
mov byte [eax], dl
add eax, 1
mov edx, ecx
shr edx, 0x10
mov byte [eax], dl
shr ecx, 0x18
mov byte [eax + 1], cl
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00403cb8
add esp, 0x28
ret
mov ecx, dword [esp + 0x14]
pop edi
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00403cb8
add esp, 0x28
ret
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00403cb8
add esp, 0x28
ret
Function at 0x44ee80
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x28
call fcn.00460a40
mov eax, dword [0x4a2018]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
mov ebp, dword [esp + 0x38]
add ebp, 0xffffffff
lea edx, [ebp - 0x29]
cmp ebx, edx
push edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
jle 0x44eee7
push 0x2d
push str..crypto_rsa_rsa_oaep.c
push 0x6e
push 0x79
push 4
call fcn.00416680
add esp, 0x14
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00403cb8
add esp, 0x28
ret
cmp ebp, 0x29
jge 0x44ef15
push 0x33
push str..crypto_rsa_rsa_oaep.c
push 0x78
push 0x79
push 4
call fcn.00416680
add esp, 0x14
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00403cb8
add esp, 0x28
ret
push 0x37
lea eax, [ebp - 0x14]
push str..crypto_rsa_rsa_oaep.c
push eax
mov dword [esp + 0x18], eax
call fcn.00418bb0
add esp, 0xc
test eax, eax
mov dword [esp + 0x10], eax
jne 0x44ef5d
push 0x3a
push str..crypto_rsa_rsa_oaep.c
push 0x41
push 0x79
push 4
call fcn.00416680
add esp, 0x14
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00403cb8
add esp, 0x28
ret
push esi
mov byte [edi], 0
lea esi, [edi + 1]
push 0
add edi, 0x15
call fcn.0041d150
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x58]
push 0
push edi
push eax
push ecx
call fcn.00422ad0
mov edx, ebp
sub edx, ebx
sub edx, 0x29
push edx
lea eax, [edi + 0x14]
push 0
push eax
call sub.MSVCR90.dll_memset
mov edx, dword [esp + 0x3c]
mov ecx, edi
sub ecx, ebx
add ebp, ecx
push ebx
mov byte [ebp - 0x15], 1
push edx
add ebp, 0xffffffec
push ebp
call sub.MSVCR90.dll_memcpy
push 0x14
push esi
call fcn.0041cfd0
add esp, 0x38
test eax, eax
jg 0x44efd1
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00403cb8
add esp, 0x28
ret
call fcn.0041d150
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
push eax
push 0x14
push esi
push ebx
push ebp
call fcn.0044ed40
add esp, 0x14
test ebx, ebx
jle 0x44f003
mov eax, edi
sub ebp, edi
mov ecx, ebx
mov dl, byte [eax + ebp]
xor byte [eax], dl
add eax, 1
sub ecx, 1
jne 0x44eff6
call fcn.0041d150
push eax
push ebx
push edi
lea eax, [esp + 0x2c]
push 0x14
push eax
call fcn.0044ed40
lea ecx, [esp + 0x34]
lea edi, [esp + 0x35]
lea ebp, [esp + 0x36]
lea edx, [esp + 0x37]
sub ecx, esi
sub edi, esi
sub ebp, esi
sub edx, esi
lea ebx, [esp + 0x38]
add esp, 0x14
sub ebx, esi
mov eax, esi
mov dword [esp + 0x10], ebx
mov esi, 4
movzx ebx, byte [ecx + eax]
xor byte [eax], bl
movzx ebx, byte [edi + eax]
xor byte [eax + 1], bl
movzx ebx, byte [eax + ebp]
xor byte [eax + 2], bl
movzx ebx, byte [edx + eax]
xor byte [eax + 3], bl
mov ebx, dword [esp + 0x10]
movzx ebx, byte [ebx + eax]
xor byte [eax + 4], bl
add eax, 5
sub esi, 1
jne 0x44f043
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00418d60
mov ecx, dword [esp + 0x38]
add esp, 4
lea eax, [esi + 1]
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00403cb8
add esp, 0x28
ret
Function at 0x44f700
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x44f7d0
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x44f721
cmp al, 0x6b
jne 0x44f7d0
cmp al, 0x6b
lea edx, [ecx + 1]
jne 0x44f791
add esi, 0xfffffffd
xor ecx, ecx
test esi, esi
jle 0x44f745
mov al, byte [edx]
add edx, 1
cmp al, 0xba
je 0x44f745
cmp al, 0xbb
jne 0x44f76e
add ecx, 1
cmp ecx, esi
jl 0x44f731
sub esi, ecx
test ecx, ecx
jne 0x44f794
push 0x8a
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.00416680
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x81
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.00416680
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + edx], 0xcc
je 0x44f7bd
push 0x93
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.00416680
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esp + 8]
push esi
push edx
push eax
call sub.MSVCR90.dll_memcpy
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x72
push str..crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.00416680
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x45bb60
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
mov ebx, dword [esp + 0x10]
cmp ecx, dword [ebx + 4]
push esi
push edi
jge 0x45bb79
mov edi, ebx
mov ebx, eax
jmp 0x45bb7b
mov edi, eax
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x10]
cmp eax, dword [esi + 8]
jle 0x45bb91
push eax
push esi
call fcn.00421730
add esp, 8
xor eax, eax
cmp dword [ebx + 4], eax
jle 0x45bbaf
mov edx, dword [edi]
mov ecx, dword [ebx]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [esi]
mov dword [ecx + eax*4], edx
add eax, 1
cmp eax, dword [ebx + 4]
jl 0x45bb98
cmp eax, dword [edi + 4]
jge 0x45bbc6
mov edx, dword [edi]
mov edx, dword [edx + eax*4]
mov ecx, dword [esi]
mov dword [ecx + eax*4], edx
add eax, 1
cmp eax, dword [edi + 4]
jl 0x45bbb4
mov edi, dword [edi + 4]
test edi, edi
mov dword [esi + 4], edi
jle 0x45bbf1
mov eax, dword [esi]
lea eax, [eax + edi*4 - 4]
or ecx, 0xffffffff
lea esp, [esp]
mov edx, dword [eax]
sub eax, 4
test edx, edx
jne 0x45bbf1
add dword [esi + 4], ecx
cmp dword [esi + 4], edx
jg 0x45bbe0
pop edi
pop esi
mov eax, 1
pop ebx
ret

Function at 0x45fbe0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0xc
call fcn.00460a40
push ebx
mov ebx, dword [esp + 0x1c]
test ebx, ebx
jne 0x45fbfa
xor eax, eax
pop ebx
add esp, 0xc
ret
push ebp
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x45fc7c
push esi
mov esi, dword [esp + 0x20]
test esi, esi
je 0x45fc48
mov ecx, dword [ebp + 8]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], esi
call fcn.004177a0
add esp, 8
test eax, eax
jne 0x45fc69
push edi
mov edi, 0x495520
mov ecx, 4
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
pop edi
jne 0x45fc48
push ebx
call sub.MSVCR90.dll_getenv
add esp, 4
test eax, eax
jne 0x45fc6c
mov ecx, dword [ebp + 8]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x14], str.default
mov dword [esp + 0x18], ebx
call fcn.004177a0
add esp, 8
test eax, eax
je 0x45fc73
mov eax, dword [eax + 8]
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
push ebx
call sub.MSVCR90.dll_getenv
add esp, 4
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x463676
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi + 0xc]
push ebx
push edi
lea ecx, [ebp - 4]
push ecx
push 0x20006
xor edi, edi
push edi
push eax
push dword [esi + 4]
xor ebx, ebx
inc ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4636af
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, edi
pop edi
pop ebx
leave
ret 8
push 4
lea eax, [ebp + 0xc]
push eax
push 3
push edi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
cmovne ebx, edi
cmp dword [esi + 8], edi
jne 0x4636d7
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, ebx
jmp 0x46369e

Function at 0x4636e9
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi + 0xc]
push ebx
push edi
lea ecx, [ebp - 4]
push ecx
push 0x20006
xor edi, edi
push edi
push eax
push dword [esi + 4]
xor ebx, ebx
inc ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x46372b
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, edi
pop edi
pop ebx
leave
ret 8
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx - 0xc]
inc eax
push eax
push ecx
push 1
push edi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
cmovne ebx, edi
cmp dword [esi + 8], edi
jne 0x463756
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, ebx
jmp 0x463711

Function at 0x463768
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi + 0xc]
push ebx
push edi
lea ecx, [ebp - 4]
push ecx
push 0x20006
xor edi, edi
push edi
push eax
push dword [esi + 4]
xor ebx, ebx
inc ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4637a1
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, edi
pop edi
pop ebx
leave
ret 8
push 4
lea eax, [ebp + 0xc]
push eax
push 3
push edi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
cmovne ebx, edi
cmp dword [esi + 8], edi
jne 0x4637c9
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, ebx
jmp 0x463790