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

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
push ecx
mov eax, dword [esp + 0x34]
push eax
push ebx
cmp ecx, 0
je 0x480120
and ebp, 0xfffffff8
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
je 0x4800be
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.0047e030
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x480090
mov ebp, dword [esp + 0x38]
and ebp, 7
je 0x4801d0
call 0x4800d0
pop edx
lea ecx, [edx + 0x120]
mov ebp, dword [ecx + ebp*4]
add ebp, edx
xor ecx, ecx
xor edx, edx
jmp ebp
and ebp, 0xfffffff8
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
je 0x480170
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.0047e030
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x48012d
mov ebp, dword [esp + 0x38]
and ebp, 7
je 0x4801d0
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.0047e030
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x4801c5
jmp 0x4801d0
mov ecx, dword [esp + 0x40]
add esp, 0x1c
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x480230
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
push ebx
cmp ecx, 0
je 0x480310
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x4802a7
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.0047fdf0
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x480279
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x4803c0
call 0x4802b9
pop edx
lea ecx, [edx + 0x137]
mov ebp, dword [ecx + ebp*4]
add ebp, edx
xor ecx, ecx
xor edx, edx
jmp ebp
and ebp, 0xfffffff8
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
je 0x480360
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.0047ff20
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x48031d
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x4803c0
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.0047ff20
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x4803b5
jmp 0x4803c0
mov ecx, dword [esp + 0x4c]
add esp, 0x20
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4acc30
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x5c], 0
mov eax, 1
ret
Function at 0x4b4c30
Capabilities:
Hash data using sha224

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0x367cd507
mov dword [eax + 8], 0x3070dd17
mov dword [eax + 0xc], 0xf70e5939
mov dword [eax + 0x10], 0xffc00b31
mov dword [eax + 0x14], 0x68581511
mov dword [eax + 0x18], 0x64f98fa7
mov dword [eax + 0x1c], 0xbefa4fa4
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x68], 0
mov dword [eax + 0x6c], 0x1c
mov eax, 1
ret

Function at 0x4b4c90
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
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
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x68], 0
mov dword [eax + 0x6c], 0x20
mov eax, 1
ret
Function at 0x4b7360
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xdc
lea esi, [eax + 0x14]
mov ebx, edx
lea ebp, [eax + 0x54]
mov edi, dword [esi + 0x3c]
xor ecx, ecx
mov esi, esi
lea edi, [edi]
mov edx, dword [ebp + ecx*4]
mov dword [esp + ecx*4 + 0x10], edx
xor eax, eax
mov al, byte [ecx + ebx]
mov dword [esp + ecx*4 + 0x50], eax
xor edx, eax
xor eax, edi
mov dword [esp + ecx*4 + 0x90], edx
mov eax, dword [eax*4 + str._.C]
xor eax, dword [esi + ecx*4]
mov dword [esi + ecx*4], eax
inc ecx
cmp ecx, 0xf
mov edi, eax
jle 0x4b7380
xor eax, eax
xor ecx, ecx
lea esi, [esi]
lea edi, [edi]
xor edx, edx
lea esi, [esi]
lea edi, [edi]
mov edi, dword [eax*4 + str._.C]
xor edi, dword [esp + edx*4 + 0x10]
mov esi, dword [edi*4 + str._.C]
xor esi, dword [esp + edx*4 + 0x14]
mov ebx, dword [esi*4 + str._.C]
xor ebx, dword [esp + edx*4 + 0x18]
mov eax, dword [ebx*4 + str._.C]
xor eax, dword [esp + edx*4 + 0x1c]
mov dword [esp + edx*4 + 0x10], edi
mov edi, dword [eax*4 + str._.C]
xor edi, dword [esp + edx*4 + 0x20]
mov dword [esp + edx*4 + 0x14], esi
mov esi, dword [edi*4 + str._.C]
xor esi, dword [esp + edx*4 + 0x24]
mov dword [esp + edx*4 + 0x18], ebx
mov ebx, dword [esi*4 + str._.C]
xor ebx, dword [esp + edx*4 + 0x28]
mov dword [esp + edx*4 + 0x1c], eax
mov eax, dword [ebx*4 + str._.C]
xor eax, dword [esp + edx*4 + 0x2c]
mov dword [esp + edx*4 + 0x20], edi
mov dword [esp + edx*4 + 0x24], esi
mov dword [esp + edx*4 + 0x28], ebx
mov dword [esp + edx*4 + 0x2c], eax
add edx, 8
cmp edx, 0x2f
jle 0x4b73d0
add eax, ecx
inc ecx
and eax, 0xff
cmp ecx, 0x11
jle 0x4b73c0
lea edx, [esp + 0x10]
cld
sub esp, 8
mov edi, ebp
mov esi, edx
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
push 0xc0
push edx
call fcn.0046f980
add esp, 0xec
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4b79c0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
push edi
push esi
push ebx
mov ecx, dword [esp + 0x1c]
push ecx
mov edx, dword [esp + 0x1c]
push edx
mov eax, dword [esp + 0x1c]
push eax
call fcn.004b75d0
add esp, 0xc
test eax, eax
js 0x4b7c0c
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0xf0]
xor ebp, ebp
lea edi, [eax*4]
cmp ebp, edi
jge 0x4b7a46
lea ebx, [esi + edi*4]
mov ecx, esi
nop
mov edx, dword [ecx]
mov eax, dword [ebx]
mov dword [ecx], eax
mov dword [ebx], edx
mov edx, dword [ecx + 4]
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
mov dword [ebx + 4], edx
mov edx, dword [ecx + 8]
mov eax, dword [ebx + 8]
mov dword [ecx + 8], eax
mov dword [ebx + 8], edx
mov edx, dword [ecx + 0xc]
mov eax, dword [ebx + 0xc]
add ebp, 4
sub edi, 4
mov dword [ecx + 0xc], eax
mov dword [ebx + 0xc], edx
add ecx, 0x10
sub ebx, 0x10
cmp ebp, edi
jl 0x4b7a00
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx + 0xf0]
mov ebx, 1
cmp eax, 1
jmp 0x4b7c04
add esi, 0x10
mov ecx, dword [esi]
mov edi, ecx
shr edi, 0x10
and edi, 0xff
mov al, byte [edi*4 + str.ccccwwww]
mov ebp, ecx
shr ebp, 0x18
xor edx, edx
and eax, 0xff
mov dl, byte [ebp*4 + str.ccccwwww]
mov eax, dword [eax*4 + 0x525650]
movzx ebp, ch
xor eax, dword [edx*4 + 0x525a50]
mov dl, byte [ebp*4 + str.ccccwwww]
and edx, 0xff
xor eax, dword [edx*4 + 0x525250]
and ecx, 0xff
xor edx, edx
mov dl, byte [ecx*4 + str.ccccwwww]
mov ecx, dword [esi + 4]
mov ebp, ecx
shr ebp, 0x10
xor eax, dword [edx*4 + 0x524e50]
and ebp, 0xff
mov dword [esi], eax
mov edi, ecx
mov al, byte [ebp*4 + str.ccccwwww]
shr edi, 0x18
xor edx, edx
and eax, 0xff
mov dl, byte [edi*4 + str.ccccwwww]
mov eax, dword [eax*4 + 0x525650]
movzx edi, ch
xor eax, dword [edx*4 + 0x525a50]
mov dl, byte [edi*4 + str.ccccwwww]
and edx, 0xff
xor eax, dword [edx*4 + 0x525250]
and ecx, 0xff
xor edx, edx
mov dl, byte [ecx*4 + str.ccccwwww]
mov ecx, dword [esi + 8]
mov edi, ecx
shr edi, 0x10
xor eax, dword [edx*4 + 0x524e50]
and edi, 0xff
mov dword [esi + 4], eax
mov ebp, ecx
mov al, byte [edi*4 + str.ccccwwww]
shr ebp, 0x18
xor edx, edx
and eax, 0xff
mov dl, byte [ebp*4 + str.ccccwwww]
mov eax, dword [eax*4 + 0x525650]
movzx ebp, ch
xor eax, dword [edx*4 + 0x525a50]
mov dl, byte [ebp*4 + str.ccccwwww]
and edx, 0xff
xor eax, dword [edx*4 + 0x525250]
and ecx, 0xff
xor edx, edx
mov dl, byte [ecx*4 + str.ccccwwww]
mov ecx, dword [esi + 0xc]
mov ebp, ecx
xor eax, dword [edx*4 + 0x524e50]
shr ebp, 0x10
and ebp, 0xff
mov dword [esi + 8], eax
mov edi, ecx
mov al, byte [ebp*4 + str.ccccwwww]
shr edi, 0x18
xor edx, edx
and eax, 0xff
mov dl, byte [edi*4 + str.ccccwwww]
mov ebp, dword [eax*4 + 0x525650]
movzx edi, ch
xor ebp, dword [edx*4 + 0x525a50]
mov dl, byte [edi*4 + str.ccccwwww]
and edx, 0xff
xor ebp, dword [edx*4 + 0x525250]
and ecx, 0xff
xor edx, edx
mov dl, byte [ecx*4 + str.ccccwwww]
xor ebp, dword [edx*4 + 0x524e50]
mov dword [esi + 0xc], ebp
inc ebx
mov edi, dword [esp + 0x1c]
cmp dword [edi + 0xf0], ebx
jg 0x4b7a60
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4b8e10
Capabilities:
Encrypt data using aes
Reference aes constants
Resolve function by parsing pe exports

Disassembly:
cmp dword [esp + 0x10], 1
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
je 0x4b8e40
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
jmp fcn.004b81f0
jmp fcn.004b7c20
Function at 0x4b9420
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push edi
push esi
push ebx
push edx
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp ebx, 0x80
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov byte [esi], 0
jle 0x4b9445
mov ebx, pe_nt_image_headers32
test ebp, ebp
jle 0x4b9520
cmp ebp, 0x400
jg 0x4b9520
xor edx, edx
jmp 0x4b9464
mov al, byte [edx + ecx]
mov byte [edx + esi], al
inc edx
cmp edx, ebx
jl 0x4b945d
xor eax, eax
mov al, byte [esi + ebx - 1]
xor ecx, ecx
mov edx, ebx
jmp 0x4b948c
add al, byte [ecx + esi]
and eax, 0xff
mov al, byte [eax + 0x4ffd60]
and eax, 0xff
mov byte [edx + esi], al
inc ecx
inc edx
cmp edx, 0x7f
jle 0x4b9474
lea edi, [ebp + 7]
neg ebp
mov dword [esp], pe_nt_image_headers32
sar edi, 3
and ebp, 7
sub dword [esp], edi
mov ecx, ebp
mov edx, 0xff
sar edx, cl
xor eax, eax
mov ecx, dword [esp]
mov al, byte [ecx + esi]
and eax, edx
xor ebx, ebx
mov bl, byte [eax + 0x4ffd60]
mov byte [ecx + esi], bl
mov ecx, dword [esp]
jmp 0x4b94e6
lea ebp, [esi + ecx]
xor eax, eax
mov al, byte [ebp + edi]
xor eax, ebx
xor ebx, ebx
mov bl, byte [eax + 0x4ffd60]
mov byte [ebp], bl
dec ecx
cmp ecx, 0xffffffff
jne 0x4b94d0
lea ecx, [esi + 0xfc]
mov ebx, 0x7f
mov esi, esi
lea edi, [edi]
xor eax, eax
mov al, byte [ebx + esi]
xor edx, edx
mov dl, byte [esi + ebx - 1]
shl eax, 8
or eax, edx
mov dword [ecx], eax
sub ecx, 4
sub ebx, 2
jns 0x4b9500
pop eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebp, 0x400
jmp 0x4b9459
Function at 0x4ba640
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, dword [esp + 0x14]
xor eax, eax
mov al, byte [ebx]
mov ecx, dword [esp + 0x18]
shl eax, 8
mov dword [ecx], eax
xor edx, edx
mov dl, byte [ebx + 1]
or eax, edx
mov dword [ecx], eax
xor eax, eax
mov al, byte [ebx + 2]
shl eax, 8
mov dword [ecx + 4], eax
xor edx, edx
mov dl, byte [ebx + 3]
or eax, edx
mov dword [ecx + 4], eax
xor eax, eax
mov al, byte [ebx + 4]
shl eax, 8
mov dword [ecx + 8], eax
xor edx, edx
mov dl, byte [ebx + 5]
or eax, edx
mov dword [ecx + 8], eax
xor eax, eax
mov al, byte [ebx + 6]
shl eax, 8
mov dword [ecx + 0xc], eax
xor edx, edx
mov dl, byte [ebx + 7]
or eax, edx
mov dword [ecx + 0xc], eax
xor eax, eax
mov al, byte [ebx + 8]
shl eax, 8
mov dword [ecx + 0x10], eax
xor edx, edx
mov dl, byte [ebx + 9]
or eax, edx
mov dword [ecx + 0x10], eax
xor eax, eax
mov al, byte [ebx + 0xa]
shl eax, 8
mov dword [ecx + 0x14], eax
xor edx, edx
mov dl, byte [ebx + 0xb]
or eax, edx
mov dword [ecx + 0x14], eax
xor eax, eax
mov al, byte [ebx + 0xc]
shl eax, 8
mov dword [ecx + 0x18], eax
xor edx, edx
mov dl, byte [ebx + 0xd]
or eax, edx
mov dword [ecx + 0x18], eax
xor eax, eax
mov al, byte [ebx + 0xe]
shl eax, 8
mov dword [ecx + 0x1c], eax
xor edx, edx
mov dl, byte [ebx + 0xf]
or eax, edx
mov dword [ecx + 0x1c], eax
mov ebx, ecx
lea esi, [ecx + 0x20]
xor ebp, ebp
nop
lea esi, [esi]
mov edx, dword [ebx + 8]
mov edi, dword [ebx + 4]
mov ecx, edx
mov eax, edi
shr ecx, 7
shl eax, 9
or eax, ecx
and eax, 0xffff
mov dword [esi], eax
mov eax, dword [ebx + 0xc]
mov ecx, eax
shr ecx, 7
shl edx, 9
or edx, ecx
and edx, 0xffff
mov dword [esi + 4], edx
mov edx, dword [ebx + 0x10]
mov ecx, edx
shr ecx, 7
shl eax, 9
or eax, ecx
and eax, 0xffff
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x14]
mov ecx, eax
shr ecx, 7
shl edx, 9
or edx, ecx
and edx, 0xffff
mov dword [esi + 0xc], edx
mov edx, dword [ebx + 0x18]
mov ecx, edx
shr ecx, 7
shl eax, 9
or eax, ecx
and eax, 0xffff
mov dword [esi + 0x10], eax
mov ecx, dword [ebx + 0x1c]
mov eax, ecx
shl edx, 9
shr eax, 7
or edx, eax
and edx, 0xffff
mov dword [esi + 0x14], edx
cmp ebp, 4
mov edx, dword [ebx]
jg 0x4ba7ba
mov eax, edx
shr eax, 7
shr edi, 7
shl ecx, 9
shl edx, 9
or ecx, eax
or edx, edi
movzx eax, cx
movzx edi, dx
inc ebp
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edi
add ebx, 0x20
add esi, 0x20
cmp ebp, 5
jle 0x4ba700
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4ce640
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ecx, dword [esp + 0x80]
lea eax, [ecx - 1]
xor ebp, ebp
cmp eax, 0x28
mov edx, dword [esp + 0x7c]
mov dword [esp + 0xc], 0
jle 0x4ce7b0
mov esi, eax
sub esi, edx
js 0x4ce7e8
mov eax, dword [esp + 0x78]
sub eax, esi
lea edi, [eax + 0x14]
push eax
push 0x7a
push str..crypto_rsa_rsa_oaep.c
lea ebx, [ecx - 0x15]
push ebx
call fcn.00457fd0
add esp, 0x10
test eax, eax
mov ebp, eax
je 0x4ce824
sub esp, 0x10
call fcn.00479630
mov dword [esp], eax
push ebx
push edi
push 0x14
lea edx, [esp + 0x4c]
push edx
call fcn.004ce4e0
add esp, 0x20
cmp esi, 0x13
mov edx, esi
jg 0x4ce6cd
mov ecx, dword [esp + 0x78]
mov al, byte [ecx]
xor byte [esp + edx + 0x30], al
inc edx
inc ecx
cmp edx, 0x13
jle 0x4ce6c0
sub esp, 0x10
call fcn.00479630
mov dword [esp], eax
push 0x14
lea ecx, [esp + 0x44]
push ecx
push ebx
push ebp
call fcn.004ce4e0
add esp, 0x20
xor edx, edx
jmp 0x4ce6f7
mov al, byte [edx + edi]
xor byte [edx + ebp], al
inc edx
cmp edx, ebx
jl 0x4ce6f0
sub esp, 8
push 0
push eax
call fcn.00479630
mov dword [esp], eax
push 0
lea edi, [esp + 0x24]
push edi
mov edx, dword [esp + 0xa0]
push edx
mov eax, dword [esp + 0xa0]
push eax
call fcn.00478500
mov esi, ebp
mov ecx, 0x14
cld
repe cmpsb byte [esi], byte es:[edi]
seta dl
setb cl
add esp, 0x20
cmp dl, cl
jne 0x4ce7b0
mov edi, dword [esp + 0xc]
test edi, edi
jne 0x4ce7b0
mov edx, 0x14
cmp edx, ebx
jge 0x4ce7f7
jmp 0x4ce760
mov al, byte [edx + ebp]
test al, al
jne 0x4ce76f
inc edx
cmp edx, ebx
jl 0x4ce760
mov al, byte [edx + ebp]
dec al
jne 0x4ce7b0
cmp edx, ebx
lea eax, [edx + 1]
jge 0x4ce7b0
sub ebx, eax
cmp dword [esp + 0x74], ebx
jl 0x4ce7ff
push ecx
push ebx
add eax, ebp
push eax
mov esi, dword [esp + 0x7c]
push esi
call sub.msvcrt.dll_memcpy
add esp, 0x10
sub esp, 0xc
push ebp
call fcn.004582e0
mov eax, ebx
add esp, 0x10
jmp 0x4ce7e0
sub esp, 0xc
push 0xa8
push str..crypto_rsa_rsa_oaep.c
push 0x79
push 0x7a
push 4
call fcn.0045d0e0
add esp, 0x20
test ebp, ebp
je 0x4ce7db
sub esp, 0xc
push ebp
call fcn.004582e0
add esp, 0x10
mov eax, 0xffffffff
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
xor esi, esi
mov dword [esp + 0xc], 1
jmp 0x4ce672
mov al, byte [ebp + 0x14]
jmp 0x4ce76f
sub esp, 0xc
push 0x9b
push str..crypto_rsa_rsa_oaep.c
push 0x6d
push 0x7a
push 4
call fcn.0045d0e0
mov ebx, 0xffffffff
add esp, 0x20
jmp 0x4ce794
sub esp, 0xc
push 0x7d
push str..crypto_rsa_rsa_oaep.c
push 0x41
push 0x7a
push 4
call fcn.0045d0e0
mov eax, 0xffffffff
add esp, 0x20
jmp 0x4ce7e0
Function at 0x4ce850
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov edx, dword [esp + 0x54]
lea eax, [edx - 0x2a]
cmp eax, dword [esp + 0x5c]
lea esi, [edx - 1]
jl 0x4ce9cc
cmp esi, 0x28
jg 0x4ce894
sub esp, 0xc
push 0x33
push str..crypto_rsa_rsa_oaep.c
push 0x78
push 0x79
push 4
call fcn.0045d0e0
xor edx, edx
add esp, 0x20
add esp, 0x3c
pop ebx
pop esi
pop edi
mov eax, edx
pop ebp
ret
push eax
push 0x37
push str..crypto_rsa_rsa_oaep.c
sub edx, 0x15
mov dword [esp + 0x14], edx
push edx
call fcn.00457fd0
mov dword [esp + 0x1c], eax
add esp, 0x10
test eax, eax
je 0x4ce9dd
mov edx, dword [esp + 0x50]
sub esp, 8
mov byte [edx], 0
push 0
push eax
mov edi, edx
mov ebp, edx
call fcn.00479630
mov dword [esp], eax
add ebp, 0x15
push 0
push ebp
mov ebx, dword [esp + 0x7c]
push ebx
mov ecx, dword [esp + 0x7c]
push ecx
mov ebx, esi
call fcn.00478500
sub ebx, dword [esp + 0x7c]
lea eax, [ebx - 0x29]
mov edx, dword [esp + 0x70]
add esp, 0x1c
push eax
add edx, 0x29
push 0
push edx
call sub.msvcrt.dll_memset
mov byte [ebp + ebx - 0x15], 1
lea ebx, [esi + ebp]
sub ebx, dword [esp + 0x6c]
add esp, 0xc
mov ecx, dword [esp + 0x60]
push ecx
mov edx, dword [esp + 0x60]
push edx
sub ebx, 0x14
push ebx
call sub.msvcrt.dll_memcpy
pop ecx
pop ebx
push 0x14
inc edi
push edi
call fcn.00464910
add esp, 0x10
xor edx, edx
test eax, eax
jle 0x4ce88a
sub esp, 0x10
call fcn.00479630
mov dword [esp], eax
push 0x14
push edi
mov ecx, dword [esp + 0x20]
push ecx
mov eax, dword [esp + 0x28]
push eax
call fcn.004ce4e0
add esp, 0x20
xor edx, edx
sub esi, 0x14
cmp dword [esp + 8], 0
jle 0x4ce97f
mov esi, dword [esp + 8]
lea esi, [esi]
mov eax, dword [esp + 0xc]
mov bl, byte [edx + eax]
xor byte [edx + ebp], bl
inc edx
cmp esi, edx
jg 0x4ce970
lea ebx, [esp + 0x10]
sub esp, 0x10
call fcn.00479630
mov dword [esp], eax
push esi
push ebp
push 0x14
push ebx
call fcn.004ce4e0
add esp, 0x20
xor edx, edx
lea esi, [esi]
mov cl, byte [esp + edx + 0x10]
xor byte [edx + edi], cl
inc edx
cmp edx, 0x13
jle 0x4ce9a0
sub esp, 0xc
mov esi, dword [esp + 0x18]
push esi
call fcn.004582e0
add esp, 0x10
add esp, 0x3c
pop ebx
pop esi
mov edx, 1
pop edi
mov eax, edx
pop ebp
ret
sub esp, 0xc
push 0x2d
push str..crypto_rsa_rsa_oaep.c
push 0x6e
jmp 0x4ce87c
sub esp, 0xc
push 0x3a
push str..crypto_rsa_rsa_oaep.c
push 0x41
jmp 0x4ce87c
Function at 0x4d67d0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
push ebx
push eax
mov ebx, dword [esp + 0x20]
xor esi, esi
cmp ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
jne 0x4d6820
mov dl, byte [ecx]
lea eax, [edx - 0x6a]
cmp al, 1
ja 0x4d6820
inc ecx
cmp dl, 0x6b
je 0x4d6850
sub ebx, 2
cmp byte [ebx + ecx], 0xcc
jne 0x4d6890
push eax
push ebx
push ecx
mov esi, dword [esp + 0x1c]
push esi
call sub.msvcrt.dll_memcpy
add esp, 0x10
mov eax, ebx
pop ebx
pop ebx
pop esi
ret
sub esp, 0xc
push 0x72
push str..crypto_rsa_rsa_x931.c
push 0x89
push pe_nt_image_headers32
push 4
call fcn.0045d0e0
add esp, 0x20
pop ebx
pop ebx
mov eax, 0xffffffff
pop esi
ret
lea edx, [ebx - 3]
cmp esi, edx
jge 0x4d6870
mov esi, esi
lea edi, [edi]
mov al, byte [ecx]
inc ecx
cmp al, 0xba
je 0x4d6870
cmp al, 0xbb
jne 0x4d68a4
inc esi
cmp esi, edx
jl 0x4d6860
mov ebx, edx
sub ebx, esi
test esi, esi
jne 0x4d67f5
sub esp, 0xc
push 0x8a
push str..crypto_rsa_rsa_x931.c
push 0x8a
jmp 0x4d682f
sub esp, 0xc
push 0x93
push str..crypto_rsa_rsa_x931.c
push 0x8b
jmp 0x4d682f
sub esp, 0xc
push 0x81
jmp 0x4d6884
Function at 0x4df6b0
Capabilities:
Query environment variable

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebp, dword [esp + 0x48]
xor eax, eax
test ebp, ebp
mov ebx, dword [esp + 0x44]
je 0x4df6fc
mov edx, dword [esp + 0x40]
test edx, edx
je 0x4df767
test ebx, ebx
je 0x4df730
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebx
sub esp, 8
lea esi, [esp + 0x18]
push esi
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx + 8]
push eax
call fcn.0046d9c0
add esp, 0x10
test eax, eax
je 0x4df710
mov eax, dword [eax + 8]
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
cld
mov ecx, 4
mov edi, 0x530bb0
mov esi, ebx
repe cmpsb byte [esi], byte es:[edi]
je 0x4df775
jmp 0x4df730
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x530bb4
sub esp, 8
lea edx, [esp + 0x18]
push edx
mov ebp, dword [esp + 0x4c]
mov ebx, dword [ebp + 8]
push ebx
call fcn.0046d9c0
mov edx, eax
add esp, 0x10
xor eax, eax
test edx, edx
je 0x4df6fc
mov eax, dword [edx + 8]
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
sub esp, 0xc
push ebp
call sub.msvcrt.dll_getenv
add esp, 0x10
jmp 0x4df6fc
sub esp, 0xc
push ebp
call sub.msvcrt.dll_getenv
add esp, 0x10
test eax, eax
jne 0x4df6fc
jmp 0x4df730

Function at 0x4e1e40
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xc
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, dword [edx + 4]
cmp dword [ecx + 4], eax
jge 0x4e1f06
mov dword [esp + 8], edx
mov edx, dword [esp + 8]
mov esi, dword [edx + 4]
mov edx, dword [esp + 0x20]
cmp esi, dword [edx + 8]
mov dword [esp + 4], ecx
jg 0x4e1f22
mov ebx, dword [esp + 4]
mov ebp, dword [ebx + 4]
xor edx, edx
cmp ebp, 0
jle 0x4e1eae
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
mov edi, dword [ebx]
mov ebx, dword [ecx]
mov ecx, dword [eax]
mov esi, esi
lea edi, [edi]
mov eax, dword [ecx + edx*4]
xor eax, dword [ebx + edx*4]
mov dword [edi + edx*4], eax
inc edx
cmp ebp, edx
jg 0x4e1ea0
cmp esi, edx
jle 0x4e1ecb
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 8]
mov ebx, dword [ebp]
mov ecx, dword [edi]
nop
mov eax, dword [ecx + edx*4]
mov dword [ebx + edx*4], eax
inc edx
cmp esi, edx
jg 0x4e1ec0
test esi, esi
mov ebx, esi
mov ecx, esi
jle 0x4e1f3b
mov edx, dword [esp + 0x20]
mov edi, dword [edx]
lea edx, [edi + esi*4 - 4]
lea esi, [esi]
mov esi, dword [edx]
sub edx, 4
test esi, esi
jne 0x4e1ef2
lea ebx, [ecx - 1]
test ebx, ebx
mov ecx, ebx
jg 0x4e1ee0
mov ecx, dword [esp + 0x20]
mov dword [ecx + 4], ebx
add esp, 0xc
pop ebx
pop esi
pop edi
mov eax, 1
pop ebp
ret
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov edx, dword [esp + 8]
mov esi, dword [edx + 4]
mov edx, dword [esp + 0x20]
cmp esi, dword [edx + 8]
jle 0x4e1e77
sub esp, 8
push esi
push edx
call fcn.00476920
add esp, 0x10
mov ecx, dword [esp + 8]
mov esi, dword [ecx + 4]
jmp 0x4e1e77
mov ebp, dword [esp + 0x20]
mov dword [ebp + 4], esi
add esp, 0xc
pop ebx
pop esi
pop edi
mov eax, 1
pop ebp
ret