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

Disassembly:
mov eax, 0x20
call fcn.004987d0
mov eax, dword [0x504b88]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
push ebx
mov ebx, dword [esp + 0x34]
push ebp
mov ebp, dword [esp + 0x30]
dec ebp
lea edx, [ebp - 0x29]
cmp ebx, edx
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
jle 0x420ed5
push 0x2d
push str..crypto_rsa_rsa_oaep.c
push 0x6e
push 0x79
push 4
call fcn.00402e40
add esp, 0x14
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00498041
add esp, 0x20
ret
cmp ebp, 0x29
jge 0x420f03
push 0x33
push str..crypto_rsa_rsa_oaep.c
push 0x78
push 0x79
push 4
call fcn.00402e40
add esp, 0x14
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00498041
add esp, 0x20
ret
push esi
mov byte [edi], 0
lea esi, [edi + 1]
push 0
add edi, 0x15
call fcn.00418cd0
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x50]
push 0
push edi
push eax
push ecx
call fcn.00424a60
mov edx, ebp
sub edx, ebx
sub edx, 0x29
push edx
lea eax, [edi + 0x14]
push 0
push eax
call fcn.0049a8c0
mov edx, dword [esp + 0x34]
mov ecx, edi
sub ecx, ebx
lea eax, [ecx + ebp]
push ebx
mov byte [eax - 0x15], 1
push edx
add eax, 0xffffffec
push eax
call fcn.0049a340
push 0x14
push esi
call fcn.0040d460
add esp, 0x38
test eax, eax
jle 0x420f95
push 0x48
add ebp, 0xffffffec
push str..crypto_rsa_rsa_oaep.c
push ebp
call fcn.00404a60
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x14], ebx
test ebx, ebx
jne 0x420faa
push 0x4b
push str..crypto_rsa_rsa_oaep.c
push 0x41
push 0x79
push 4
call fcn.00402e40
add esp, 0x14
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00498041
add esp, 0x20
ret
call fcn.00418cd0
push eax
push 0x14
push esi
push ebp
push ebx
call fcn.00420d10
add esp, 0x14
test eax, eax
jl 0x420f95
test ebp, ebp
jle 0x420fdb
mov ecx, ebx
mov eax, edi
sub ecx, edi
mov edx, ebp
lea ecx, [ecx]
mov bl, byte [ecx + eax]
xor byte [eax], bl
inc eax
sub edx, 1
jne 0x420fd0
call fcn.00418cd0
push eax
push ebp
push edi
lea eax, [esp + 0x24]
push 0x14
push eax
call fcn.00420d10
add esp, 0x14
test eax, eax
jl 0x420f95
lea ecx, [esp + 0x18]
lea edi, [esp + 0x19]
lea ebp, [esp + 0x1a]
lea edx, [esp + 0x1b]
sub ecx, esi
sub edi, esi
sub ebp, esi
sub edx, esi
lea ebx, [esp + 0x1c]
sub ebx, esi
mov eax, esi
mov dword [esp + 0x10], ebx
mov esi, 4
nop
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 0x421020
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00404c00
mov ecx, dword [esp + 0x30]
add esp, 4
lea eax, [esi + 1]
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00498041
add esp, 0x20
ret
Function at 0x421680
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x42174c
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x4216a1
cmp al, 0x6b
jne 0x42174c
lea edx, [ecx + 1]
cmp al, 0x6b
jne 0x42170d
add esi, 0xfffffffd
xor ecx, ecx
test esi, esi
jle 0x4216c1
mov al, byte [edx]
inc edx
cmp al, 0xba
je 0x4216c1
cmp al, 0xbb
jne 0x4216ea
inc ecx
cmp ecx, esi
jl 0x4216b1
sub esi, ecx
test ecx, ecx
jne 0x421710
push 0x8a
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.00402e40
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.00402e40
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + edx], 0xcc
je 0x421739
push 0x93
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.00402e40
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esp + 8]
push esi
push edx
push eax
call fcn.0049a340
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.00402e40
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x432390
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jge 0x4323a9
mov esi, edi
mov edi, eax
jmp 0x4323ab
mov esi, eax
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, dword [ebx + 8]
jg 0x4323bb
mov eax, ebx
jmp 0x4323c5
push eax
push ebx
call fcn.004035a0
add esp, 8
test eax, eax
jne 0x4323cd
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x4323e9
mov edx, dword [esi]
mov ecx, dword [edi]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [edi + 4]
jl 0x4323d4
cmp eax, dword [esi + 4]
jge 0x432400
mov edi, edi
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [esi + 4]
jl 0x4323f0
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
test eax, eax
jle 0x432421
mov ecx, dword [ebx]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x43241e
dec eax
test eax, eax
jg 0x432410
mov dword [ebx + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x437490
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x130
call fcn.004987d0
mov eax, dword [0x504b88]
xor eax, esp
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x13c]
push ebx
push ebp
mov ebp, dword [esp + 0x158]
push esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x154]
push edi
mov edi, dword [esp + 0x144]
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], eax
mov ebx, 1
call fcn.004168d0
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
test esi, esi
jge 0x4374f3
xor eax, eax
jmp 0x43767d
lea ecx, [esp + 0x2c]
push ecx
call fcn.00443520
mov edx, dword [esp + 0x160]
add esp, 4
mov dword [esp + 0x18], edx
test edi, edi
jne 0x437518
mov dword [esp + 0x148], edi
jmp 0x437542
cmp dword [esp + 0x148], 0xffffffff
jne 0x437542
mov eax, edi
lea ecx, [eax + 1]
mov dword [esp + 0x10], ecx
jmp 0x437530
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x437530
sub eax, dword [esp + 0x10]
mov dword [esp + 0x148], eax
test edx, edx
je 0x43766b
jmp 0x437558
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
cmp edx, esi
jg 0x43755e
mov esi, edx
mov edx, ebx
shr edx, 0x18
mov eax, ebx
shr eax, 0x10
push 0
mov byte [esp + 0x18], dl
mov edx, dword [esp + 0x20]
push edx
mov byte [esp + 0x1d], al
mov eax, dword [esp + 0x150]
mov ecx, ebx
shr ecx, 8
push eax
mov byte [esp + 0x22], cl
lea ecx, [esp + 0x38]
push edi
push ecx
mov byte [esp + 0x2b], bl
call fcn.00443260
mov edx, dword [esp + 0x164]
mov eax, dword [esp + 0x38]
push edx
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.00443460
push 4
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.00443460
push 0
lea ecx, [esp + 0x12c]
push ecx
lea edx, [esp + 0x60]
push edx
call fcn.00443470
push esi
lea eax, [esp + 0x138]
push eax
push ebp
call fcn.0049a340
mov eax, dword [esp + 0x198]
add esp, 0x44
cmp eax, 1
jle 0x437656
dec eax
mov dword [esp + 0x10], eax
jmp 0x437600
mov edx, dword [esp + 0x20]
push 0
lea ecx, [esp + 0x100]
push ecx
push edx
mov edx, dword [esp + 0x28]
mov eax, ecx
mov ecx, dword [esp + 0x154]
push eax
push ecx
push edi
push edx
call fcn.00443600
add esp, 0x1c
test esi, esi
jle 0x43764f
lea ecx, [esp + 0xfc]
mov eax, ebp
sub ecx, ebp
mov edi, esi
lea esp, [esp]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
sub edi, 1
jne 0x437640
mov edi, dword [esp + 0x28]
sub dword [esp + 0x10], 1
jne 0x437600
mov eax, dword [esp + 0x18]
sub eax, esi
inc ebx
add ebp, esi
mov dword [esp + 0x18], eax
test eax, eax
jne 0x437550
lea eax, [esp + 0x2c]
push eax
call fcn.004435c0
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00498041
add esp, 0x130
ret
Function at 0x443260
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.004987d0
mov eax, dword [0x504b88]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x94]
push ebx
push ebp
mov ebp, dword [esp + 0xa4]
push esi
mov esi, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
xor eax, eax
push edi
mov dword [esp + 0x14], ecx
test ebp, ebp
je 0x4432af
mov eax, 1
mov dword [esi], ebp
jmp 0x4432b1
mov ebp, dword [esi]
test ecx, ecx
je 0x443394
push ebp
call fcn.004168c0
mov ebx, eax
add esp, 4
cmp ebx, 0x80
jle 0x4432e0
push str.j____int_sizeof_ctx__key_
push 0x52
push str..cryptohmachmac.c
call fcn.00405110
add esp, 0xc
mov edi, dword [esp + 0xa8]
cmp ebx, edi
jge 0x443337
mov ecx, dword [esp + 0x10]
push ecx
lea ebx, [esi + 4]
push ebp
push ebx
call fcn.004245e0
add esp, 0xc
test eax, eax
je 0x443436
mov edx, dword [esp + 0x14]
push edi
push edx
push ebx
call fcn.00424790
add esp, 0xc
test eax, eax
je 0x443436
lea edi, [esi + 0x4c]
push edi
lea eax, [esi + 0x50]
push eax
push ebx
call fcn.004247a0
add esp, 0xc
test eax, eax
je 0x443436
jmp 0x443371
cmp edi, 0x80
jbe 0x443353
push str.len_0__len__int_sizeof_ctx__key_
push 0x5f
push str..cryptohmachmac.c
call fcn.00405110
add esp, 0xc
mov ecx, dword [esp + 0x14]
push edi
push ecx
lea edx, [esi + 0x50]
push edx
call fcn.0049a340
mov eax, dword [esp + 0xb4]
lea edi, [esi + 0x4c]
add esp, 0xc
mov dword [edi], eax
mov edi, dword [edi]
cmp edi, 0x80
je 0x44339c
mov ecx, 0x80
sub ecx, edi
push ecx
lea edx, [edi + esi + 0x50]
push 0
push edx
call fcn.0049a8c0
add esp, 0xc
jmp 0x44339c
test eax, eax
je 0x443422
xor eax, eax
mov edi, edi
mov cl, byte [esi + eax + 0x50]
xor cl, 0x36
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 0x80
jl 0x4433a0
mov edi, dword [esp + 0x10]
push edi
lea ebx, [esi + 0x1c]
push ebp
push ebx
call fcn.004245e0
add esp, 0xc
test eax, eax
je 0x443436
push ebp
call fcn.004168c0
push eax
lea edx, [esp + 0x20]
push edx
push ebx
call fcn.00424790
add esp, 0x10
test eax, eax
je 0x443436
xor eax, eax
mov cl, byte [esi + eax + 0x50]
xor cl, 0x5c
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 0x80
jl 0x4433e4
push edi
lea ebx, [esi + 0x34]
push ebp
push ebx
call fcn.004245e0
add esp, 0xc
test eax, eax
je 0x443436
push ebp
call fcn.004168c0
push eax
lea edx, [esp + 0x20]
push edx
push ebx
call fcn.00424790
add esp, 0x10
test eax, eax
je 0x443436
lea eax, [esi + 0x1c]
push eax
add esi, 4
push esi
call fcn.00424900
add esp, 8
test eax, eax
jne 0x44343a
xor eax, eax
jmp 0x44343f
mov eax, 1
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00498041
add esp, 0x8c
ret
Function at 0x4460b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x28
call fcn.004987d0
mov eax, dword [esp + 0x38]
push ebx
push edi
xor edi, edi
push eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edi
call fcn.004168d0
mov ebx, eax
add esp, 4
cmp ebx, edi
jl 0x4462f1
push esi
mov esi, dword [esp + 0x48]
cmp esi, 0xffffffff
jne 0x446177
mov esi, ebx
mov edi, dword [esp + 0x38]
mov ecx, dword [edi + 0x10]
push ebp
push ecx
call fcn.00403360
mov ebp, eax
dec ebp
and ebp, 7
push edi
mov dword [esp + 0x24], ebp
call fcn.00401ec0
add esp, 8
mov edi, eax
mov dword [esp + 0x18], eax
test ebp, ebp
jne 0x446129
mov eax, dword [esp + 0x40]
mov byte [eax], 0
inc eax
dec edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], edi
cmp esi, 0xfffffffe
jne 0x4461ab
mov esi, edi
sub esi, ebx
sub esi, 2
test esi, esi
jle 0x4461e9
push 0xda
push str..crypto_rsa_rsa_pss.c
push esi
call fcn.00404a60
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x10], ebp
test ebp, ebp
jne 0x4461d7
push 0xde
push str..crypto_rsa_rsa_pss.c
push 0x41
push 0x7d
push 4
call fcn.00402e40
add esp, 0x14
jmp 0x4462d4
cmp esi, 0xfffffffe
jne 0x446181
jmp 0x4460ed
jge 0x4460ed
push 0xc3
push str..crypto_rsa_rsa_pss.c
push 0x88
push 0x7d
push 4
call fcn.00402e40
add esp, 0x14
pop esi
mov eax, edi
pop edi
pop ebx
add esp, 0x28
ret
lea edx, [ebx + esi + 2]
cmp edi, edx
jge 0x446135
push 0xd5
push str..crypto_rsa_rsa_pss.c
push 0x6e
push 0x7d
push 4
call fcn.00402e40
add esp, 0x14
mov eax, dword [esp + 0x14]
pop ebp
pop esi
pop edi
pop ebx
add esp, 0x28
ret
push esi
push ebp
call fcn.0040d460
add esp, 8
test eax, eax
jle 0x4462d0
lea eax, [esp + 0x20]
sub edi, ebx
push eax
lea ebp, [edi - 1]
call fcn.00424590
mov ecx, dword [esp + 0x4c]
push 0
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.004245e0
push 8
lea eax, [esp + 0x34]
push 0x4ddfc0
push eax
call fcn.00424790
mov ecx, dword [esp + 0x60]
push ebx
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.00424790
add esp, 0x28
test esi, esi
je 0x446244
mov eax, dword [esp + 0x10]
push esi
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00424790
add esp, 0xc
mov edx, dword [esp + 0x40]
lea eax, [edx + ebp]
push 0
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004248d0
lea ecx, [esp + 0x2c]
push ecx
call fcn.00424820
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
push edx
push ebx
add eax, ebp
push eax
push ebp
mov ebp, dword [esp + 0x60]
push ebp
call fcn.00420d10
add esp, 0x24
test eax, eax
jne 0x4462d0
sub edi, esi
xor byte [edi + ebp - 2], 1
lea eax, [edi + ebp - 2]
inc eax
test esi, esi
jle 0x4462a6
xor ecx, ecx
test esi, esi
jle 0x4462a6
mov edx, dword [esp + 0x10]
mov dl, byte [ecx + edx]
xor byte [eax], dl
inc ecx
inc eax
cmp ecx, esi
jl 0x446297
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4462bf
mov ecx, 8
sub ecx, eax
mov eax, 0xff
sar eax, cl
and byte [ebp], al
mov ecx, dword [esp + 0x18]
mov byte [ecx + ebp - 1], 0xbc
mov dword [esp + 0x14], 1
mov ebp, dword [esp + 0x10]
test ebp, ebp
je 0x4461cb
push ebp
call fcn.00404c00
mov eax, dword [esp + 0x18]
add esp, 4
pop ebp
pop esi
pop edi
pop ebx
add esp, 0x28
ret
mov eax, edi
pop edi
pop ebx
add esp, 0x28
ret
Function at 0x4544a2
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x4544ad
xor eax, eax
ret
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x14]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x454568
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4e45a8]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4e45a8]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4e45a8]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4e45a8]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4e45a8]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4e45a8]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4e45a8]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4e45a8]
inc edx
sub edi, 8
dec esi
jne 0x4544cd
pop ebx
test edi, edi
je 0x454581
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x4e45a8]
inc edx
dec edi
jne 0x45456c
pop edi
not eax
pop esi
ret

Function at 0x473f79
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 8]
push edi
mov edi, eax
and edi, 7
je 0x473f9e
cmp eax, edi
jge 0x473f96
mov eax, esi
call fcn.0047392d
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
xor ecx, ecx
cmp dword [esi + 8], ecx
jle 0x473fc0
mov al, byte [esi + 0xc]
shr dword [esi + 0xc], 8
add dword [esi + 8], 0xfffffff8
mov byte [ebp + ecx - 4], al
inc ecx
cmp dword [esi + 8], 0
jg 0x473fa5
cmp ecx, 4
jge 0x473fdf
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x473fcd
xor eax, eax
jmp 0x473fd5
mov dl, byte [eax]
inc eax
mov dword [esi], eax
movzx eax, dl
mov byte [ebp + ecx - 4], al
inc ecx
cmp ecx, 4
jl 0x473fc3
movzx edi, byte [ebp - 3]
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 2]
shl edi, 8
add edi, eax
movzx eax, byte [ebp - 1]
shl eax, 8
add eax, ecx
mov ecx, edi
xor ecx, 0xffff
cmp eax, ecx
je 0x474011
mov eax, str.zlib_corrupt
call fcn.0047154a
jmp 0x47404c
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x474021
mov eax, str.read_past_buffer
jmp 0x47400a
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x474036
mov ecx, edi
call fcn.00473958
test eax, eax
je 0x47404c
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.0049a340
add dword [esi], edi
add dword [esi + 0x10], edi
xor eax, eax
add esp, 0xc
inc eax
pop edi
pop esi
leave
ret
Function at 0x4826b0
Capabilities:
Encode data using xor
Encrypt data using aes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push edi
test ebx, ebx
je 0x482839
mov edi, dword [ebp + 8]
test edi, edi
je 0x482839
mov dword [edi + 0xf0], 0xa
mov eax, dword [ebx]
push esi
mov esi, eax
rol eax, 8
ror esi, 8
and eax, 0xff00ff
and esi, 0xff00ff00
or esi, eax
lea eax, [edi + 4]
mov dword [edi], esi
mov edx, dword [ebx + 4]
mov ecx, edx
ror ecx, 8
and ecx, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or ecx, edx
mov dword [eax], ecx
mov edx, dword [ebx + 8]
mov ecx, edx
ror ecx, 8
and ecx, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or ecx, edx
mov dword [edi + 8], ecx
mov ecx, dword [ebx + 0xc]
mov ebx, ecx
rol ecx, 8
and ecx, 0xff00ff
ror ebx, 8
and ebx, 0xff00ff00
or ebx, ecx
mov ecx, ebx
mov dword [edi + 0xc], ebx
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [ecx*4 + 0x4f8268]
mov ecx, ebx
shr ecx, 8
xor edx, 0x1000000
movzx ecx, cl
and edx, 0xff000000
mov ecx, dword [ecx*4 + 0x4f7e68]
and ecx, 0xff0000
xor edx, ecx
mov ecx, ebx
shr ecx, 0x18
movzx ecx, byte [ecx*4 + 0x4f8668]
xor edx, ecx
movzx ecx, bl
mov ecx, dword [ecx*4 + 0x4f8a68]
and ecx, 0xff00
xor edx, ecx
mov ecx, dword [eax]
xor edx, esi
mov dword [edi + 0x10], edx
xor ecx, edx
mov edx, dword [edi + 8]
xor edx, ecx
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], edx
xor edx, ebx
mov dword [edi + 0x1c], edx
mov edi, 0x4f6a44
mov edx, dword [eax + 0x18]
lea eax, [eax + 0x10]
mov ecx, edx
shr ecx, 8
movzx ecx, cl
mov esi, dword [ecx*4 + 0x4f7e68]
mov ecx, edx
shr ecx, 0x10
and esi, 0xff0000
movzx ecx, cl
mov ecx, dword [ecx*4 + 0x4f8268]
and ecx, 0xff000000
xor esi, ecx
mov ecx, edx
shr ecx, 0x18
movzx ecx, byte [ecx*4 + 0x4f8668]
xor esi, ecx
movzx ecx, dl
mov ecx, dword [ecx*4 + 0x4f8a68]
and ecx, 0xff00
xor esi, ecx
xor esi, dword [eax - 4]
xor esi, dword [edi]
add edi, 4
mov dword [eax + 0xc], esi
mov ecx, dword [eax]
xor ecx, esi
mov dword [eax + 0x10], ecx
mov edx, dword [eax + 4]
xor edx, ecx
mov dword [eax + 0x14], edx
mov ecx, dword [eax + 8]
xor ecx, edx
mov dword [eax + 0x18], ecx
cmp edi, str.R_tj068_
jne 0x4827b5
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
pop edi
or eax, 0xffffffff
pop ebx
pop ebp
ret
Function at 0x48aa10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd46b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x504b88]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x10]
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
mov dword [ecx], 0
mov byte [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov byte [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov byte [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov byte [ecx + 0x34], 0
mov dword [ebp - 4], 0
push dword [esi]
mov edx, dword [esi + 8]
push dword [esi + 0xc]
push dword [esi + 4]
push dword [esi]
call fcn.0048d530
add esp, 0x10
test al, al
mov eax, esi
jne 0x48aad2
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x48b440
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x48b46b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0048bcd0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x48b48d
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x48b48f
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x48b513
jg 0x48b4a4
test esi, esi
je 0x48b513
test ecx, ecx
jl 0x48b4ed
jg 0x48b4ae
test eax, eax
je 0x48b4ed
cmp edi, ecx
jg 0x48b4c2
jl 0x48b4b8
cmp esi, eax
jae 0x48b4c2
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call fcn.0049a340
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x48b4f0
mov edx, dword [ebp + 8]
test edi, edi
jl 0x48b513
jg 0x48b4fa
test esi, esi
je 0x48b513
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x48b513
push eax
push esi
push 1
push edx
call fcn.004a19cb
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x48b530
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x48b55b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0048bdb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
test eax, eax
je 0x48b57d
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x48b57f
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test ebx, ebx
jl 0x48b61e
jg 0x48b59c
test esi, esi
je 0x48b61e
test ecx, ecx
jl 0x48b5e9
jg 0x48b5a6
test eax, eax
je 0x48b5e9
cmp ebx, ecx
jg 0x48b5ba
jl 0x48b5b0
cmp esi, eax
jae 0x48b5ba
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
push eax
push dword [esp + 0x18]
push dword [ebp + 8]
call fcn.0049a340
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x2c]
add edx, ecx
sub esi, ecx
mov dword [esp + 0xc], edx
sbb ebx, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x48b5f0
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
test ebx, ebx
jl 0x48b61e
jg 0x48b5fa
test esi, esi
je 0x48b61e
cmp dword [edi + 0x4c], 0
je 0x48b61e
mov ecx, edi
call fcn.0048c560
push dword [edi + 0x4c]
push esi
push 1
push dword [esp + 0x18]
call fcn.004a26e7
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
pop edi
pop esi
sbb edx, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc