joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003430
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x100fcde0]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, 0x65
mov cl, 0x74
mov byte [ebp - 0xf], al
mov byte [ebp - 0xc], al
mov byte [ebp - 0x23], al
mov byte [ebp - 0x1c], al
mov byte [ebp - 0x17], al
lea eax, [ebp - 0x24]
mov byte [ebp - 0x22], cl
mov byte [ebp - 0x1f], cl
mov byte [ebp - 0x18], cl
mov dl, 0x6e
push eax
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 0x10], 0x6b
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0
mov byte [ebp - 0x24], 0x47
mov byte [ebp - 0x21], 0x4e
mov byte [ebp - 0x20], 0x61
mov byte [ebp - 0x1e], 0x69
mov byte [ebp - 0x1d], 0x76
mov byte [ebp - 0x1b], 0x53
mov byte [ebp - 0x1a], 0x79
mov byte [ebp - 0x19], 0x73
mov byte [ebp - 0x16], 0x6d
mov byte [ebp - 0x15], 0x49
mov byte [ebp - 0x14], dl
mov byte [ebp - 0x13], 0x66
mov byte [ebp - 0x12], 0x6f
mov byte [ebp - 0x11], 0
call fcn.102daa62

Function at 0x10007c30
Capabilities:
Authenticate hmac
Check http status code
Encode data using base64
Execute anti-debugging instructions
Hash data with crc32
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1e28
call fcn.10059720
mov eax, dword [0x100fcde0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov esi, edx
push 0x100f0600
mov edi, ecx
mov dword [ebp - 0x1e18], eax
mov dword [ebp - 0x1e0c], esi
jmp loc.102b06c2

Function at 0x10012d10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
or eax, 0xffffffff
xor ecx, ecx
test edx, edx
jbe 0x10012d3f
push ebx
push edi
jmp 0x10012d20
movzx edi, byte [ecx + esi]
mov ebx, eax
and ebx, 0xff
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x10101b30]
inc ecx
cmp ecx, edx
jb 0x10012d20
pop edi
pop ebx
not eax
ret

Function at 0x10013180
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x9dc604
call fcn.10051342
mov esi, eax
shl esi, 0x10
call fcn.10051342
or eax, esi
mov dword [0x9dc60c], eax
xor esi, esi
call fcn.10051342
mov ebx, eax
shl ebx, 0x10
call fcn.10051342
mov ecx, dword [0x9dc608]
or eax, ebx
mov dword [esi + ecx], eax
call fcn.10051342
mov ecx, dword [0x9dc608]
shl eax, 4
cdq
and edx, 0x7fff
add eax, edx
mov edx, dword [0x9dc60c]
xor edx, dword [ebp + 8]
sar eax, 0xf
mov dword [edi], eax
mov dword [ecx + eax*4], edx
xor dword [edi], 0xc0017921
add esi, 4
cmp esi, 0x40
jl 0x100131a3
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10021ef0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test esi, esi
jbe 0x10021f08
mov dl, byte [eax + ecx]
xor dl, 0xd1
shr dl, 1
dec dl
mov byte [eax + ecx], dl
inc eax
cmp eax, esi
jb 0x10021ef6
ret

Function at 0x1002a840
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100fcde0]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, 0x74
push ebx
mov byte [ebp - 0x23], al
mov byte [ebp - 0x1b], al
mov byte [ebp - 0x1a], al
mov byte [ebp - 0x15], al
mov al, 0x6c
mov cl, 0x64
push esi
mov byte [ebp - 8], al
mov byte [ebp - 7], al
lea eax, [ebp - 0x28]
mov dl, 0x69
mov byte [ebp - 0x1f], cl
mov byte [ebp - 0x10], cl
mov byte [ebp - 9], cl
mov bl, 0x77
push eax
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 0x28], 0x44
mov byte [ebp - 0x27], bl
mov byte [ebp - 0x26], 0x6d
mov byte [ebp - 0x25], 0x53
mov byte [ebp - 0x24], 0x65
mov byte [ebp - 0x22], 0x57
mov byte [ebp - 0x21], dl
mov byte [ebp - 0x20], 0x6e
mov byte [ebp - 0x1e], 0x6f
mov byte [ebp - 0x1d], bl
mov byte [ebp - 0x1c], 0x41
mov byte [ebp - 0x19], 0x72
mov byte [ebp - 0x18], dl
mov byte [ebp - 0x17], 0x62
mov byte [ebp - 0x16], 0x75
mov byte [ebp - 0x14], 0x65
mov byte [ebp - 0x13], 0
mov byte [ebp - 0xf], bl
mov byte [ebp - 0xe], 0x6d
mov byte [ebp - 0xd], 0x61
mov byte [ebp - 0xc], 0x70
mov byte [ebp - 0xb], dl
mov byte [ebp - 0xa], 0x2e
mov byte [ebp - 6], 0
call fcn.100b9260
mov esi, eax
test esi, esi
je 0x1002a905
push 4
lea edx, [ebp - 0x30]
push edx
push 2
mov ebx, 1
push edi
mov dword [ebp - 0x30], ebx
call esi
push 4
lea eax, [ebp - 0x2c]
push eax
push 3
push edi
mov dword [ebp - 0x2c], ebx
call esi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.100512a4
mov esp, ebp
pop ebp
ret

Function at 0x1002ddd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100c6bad
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x100fcde0]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
push edi
mov eax, dword [0x100fcde0]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
push 0x100f1d14
jmp loc.103d118d
Function at 0x100350d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x100fcde0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
cmp dword [0x10111d70], eax
je 0x10035264
cmp dword [0x10111d74], eax
je 0x10035264
mov edx, 0x3a
mov word [ebp - 0x46], dx
mov ecx, 0x43
mov word [ebp - 0x48], cx
mov edx, 0x57
mov word [ebp - 0x42], dx
mov ecx, 0x5c
mov word [ebp - 0x44], cx
mov edx, 0x4e
mov word [ebp - 0x3e], dx
mov ecx, 0x49
mov word [ebp - 0x40], cx
mov edx, 0x4f
mov word [ebp - 0x3a], dx
mov ecx, 0x44
mov word [ebp - 0x3c], cx
mov edx, 0x53
mov word [ebp - 0x36], dx
mov ecx, 0x57
mov word [ebp - 0x38], cx
mov edx, 0x57
mov word [ebp - 0x32], dx
mov ecx, 0x5c
mov word [ebp - 0x34], cx
mov edx, 0x6e
mov word [ebp - 0x2e], dx
mov ecx, 0x69
mov word [ebp - 0x30], cx
mov edx, 0x6f
mov word [ebp - 0x2a], dx
mov ecx, 0x64
mov word [ebp - 0x2c], cx
mov edx, 0x73
mov word [ebp - 0x26], dx
mov ecx, 0x77
mov word [ebp - 0x28], cx
mov edx, 0x70
mov word [ebp - 0x22], dx
mov ecx, 0x55
mov word [ebp - 0x24], cx
mov edx, 0x65
mov word [ebp - 0x1e], dx
mov ecx, 0x64
mov word [ebp - 0x20], cx
mov edx, 0x61
mov word [ebp - 0x1a], dx
mov ecx, 0x74
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x16], dx
mov ecx, 0x2e
mov edx, 0x67
mov word [ebp - 0x18], cx
mov word [ebp - 0x12], dx
mov ecx, 0x6f
push 0x100f0614
lea edx, [ebp - 0x48]
mov byte [ebp - 8], al
mov dword [ebp - 0x4c], eax
mov word [ebp - 0x14], cx
push edx
lea eax, [ebp - 0x4c]
xor ecx, ecx
push eax
mov byte [ebp - 0xc], 0x46
mov byte [ebp - 0xb], 0x55
mov byte [ebp - 0xa], 0x43
mov byte [ebp - 9], 0x4b
mov word [ebp - 0x10], cx
call fcn.10051c48
add esp, 0xc
test eax, eax
jne 0x10035251
mov ecx, dword [ebp - 0x4c]
push ecx
push 1
lea edx, [ebp - 0xc]
push 4
push edx
call fcn.10052b46
mov eax, dword [ebp - 0x4c]
push eax
call fcn.10052d52
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.10051aef
add esp, 0x18
push 7
lea edx, [ebp - 0x48]
push edx
call fcn.10333486
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100512a4
mov esp, ebp
pop ebp
ret

Function at 0x10072230
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10071fa0
Function at 0x10078ed0
Capabilities:
Encode data using base64

Disassembly:
mov ecx, dword [esp + 4]
push ebp
push edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
test edi, edi
jle 0x10078fb3
push esi
mov esi, dword [esp + 0x14]
lea esp, [esp]
cmp edi, 3
movzx edx, byte [esi]
jl 0x10078f4e
movzx eax, byte [esi + 1]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 2]
shl edx, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
inc ecx
mov eax, edx
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
inc ecx
and edx, 0x3f
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
jmp 0x10078fa0
shl edx, 0x10
cmp edi, 2
jne 0x10078f5f
movzx eax, byte [esi + 1]
shl eax, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
inc ecx
cmp edi, 1
jne 0x10078f8d
lea edx, [edi + 0x3c]
jmp 0x10078f9a
shr edx, 6
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
inc ecx
mov byte [ecx], 0x3d
sub edi, 3
inc ecx
add ebp, 4
add esi, 3
test edi, edi
jg 0x10078ef0
pop esi
pop edi
mov eax, ebp
mov byte [ecx], 0
pop ebp
ret

Function at 0x10079ae0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
xor esi, esi
test edx, edx
je 0x10079b27
mov al, byte [edx]
test al, al
je 0x10079b27
push edi
mov edi, 0x100
movsx eax, al
or eax, edi
mov ecx, eax
shr ecx, 2
xor ecx, eax
and ecx, 0xf
add edi, 0x100
rol esi, cl
mov ecx, eax
imul ecx, eax
mov al, byte [edx + 1]
inc edx
xor esi, ecx
test al, al
jne 0x10079af7
mov eax, esi
shr eax, 0x10
pop edi
xor eax, esi
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x10082530
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x20
call fcn.10059720
mov eax, dword [0x100fcde0]
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 0x10082595
push 0x2d
push str..crypto_rsa_rsa_oaep.c
push 0x6e
push 0x79
push 4
call fcn.10078cf0
add esp, 0x14
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.100512a4
add esp, 0x20
ret
cmp ebp, 0x29
jge 0x100825c3
push 0x33
push str..crypto_rsa_rsa_oaep.c
push 0x78
push 0x79
push 4
call fcn.10078cf0
add esp, 0x14
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.100512a4
add esp, 0x20
ret
push esi
mov byte [edi], 0
lea esi, [edi + 1]
push 0
add edi, 0x15
call fcn.10085720
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x50]
push 0
push edi
push eax
push ecx
call fcn.100852c0
mov edx, ebp
sub edx, ebx
sub edx, 0x29
push edx
lea eax, [edi + 0x14]
push 0
push eax
call fcn.10057670
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.10059880
push 0x14
push esi
call fcn.1007f090
add esp, 0x38
test eax, eax
jle 0x10082655
push 0x48
add ebp, 0xffffffec
push str..crypto_rsa_rsa_oaep.c
push ebp
call fcn.100774c0
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x14], ebx
test ebx, ebx
jne 0x1008266a
push 0x4b
push str..crypto_rsa_rsa_oaep.c
push 0x41
push 0x79
push 4
call fcn.10078cf0
add esp, 0x14
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.100512a4
add esp, 0x20
ret
call fcn.10085720
push eax
push 0x14
push esi
push ebp
push ebx
call fcn.100823d0
add esp, 0x14
test eax, eax
jl 0x10082655
test ebp, ebp
jle 0x1008269b
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 0x10082690
call fcn.10085720
push eax
push ebp
push edi
lea eax, [esp + 0x24]
push 0x14
push eax
call fcn.100823d0
add esp, 0x14
test eax, eax
jl 0x10082655
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 0x100826e0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.10077660
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.100512a4
add esp, 0x20
ret
Function at 0x10082d40
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x10082e0c
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x10082d61
cmp al, 0x6b
jne 0x10082e0c
lea edx, [ecx + 1]
cmp al, 0x6b
jne 0x10082dcd
add esi, 0xfffffffd
xor ecx, ecx
test esi, esi
jle 0x10082d81
mov al, byte [edx]
inc edx
cmp al, 0xba
je 0x10082d81
cmp al, 0xbb
jne 0x10082daa
inc ecx
cmp ecx, esi
jl 0x10082d71
sub esi, ecx
test ecx, ecx
jne 0x10082dd0
push 0x8a
push str..crypto_rsa_rsa_x931.c
push 0x8a
push pe_nt_image_headers32
push 4
call fcn.10078cf0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x81
push str..crypto_rsa_rsa_x931.c
push 0x8a
push pe_nt_image_headers32
push 4
call fcn.10078cf0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + edx], 0xcc
je 0x10082df9
push 0x93
push str..crypto_rsa_rsa_x931.c
push 0x8b
push pe_nt_image_headers32
push 4
call fcn.10078cf0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esp + 8]
push esi
push edx
push eax
call fcn.10059880
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x72
push str..crypto_rsa_rsa_x931.c
push 0x89
push pe_nt_image_headers32
push 4
call fcn.10078cf0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x1008d000
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.10059720
mov eax, dword [0x100fcde0]
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 0x1008d04f
mov eax, 1
mov dword [esi], ebp
jmp 0x1008d051
mov ebp, dword [esi]
test ecx, ecx
je 0x1008d134
push ebp
call fcn.1008e7f0
mov ebx, eax
add esp, 4
cmp ebx, 0x80
jle 0x1008d080
push str.j____int_sizeof_ctx__key_
push 0x52
push str..cryptohmachmac.c
call fcn.10078120
add esp, 0xc
mov edi, dword [esp + 0xa8]
cmp ebx, edi
jge 0x1008d0d7
mov ecx, dword [esp + 0x10]
push ecx
lea ebx, [esi + 4]
push ebp
push ebx
call fcn.10084e30
add esp, 0xc
test eax, eax
je 0x1008d1d6
mov edx, dword [esp + 0x14]
push edi
push edx
push ebx
call fcn.10084fe0
add esp, 0xc
test eax, eax
je 0x1008d1d6
lea edi, [esi + 0x4c]
push edi
lea eax, [esi + 0x50]
push eax
push ebx
call fcn.10085000
add esp, 0xc
test eax, eax
je 0x1008d1d6
jmp 0x1008d111
cmp edi, 0x80
jbe 0x1008d0f3
push str.len_0__len__int_sizeof_ctx__key_
push 0x5f
push str..cryptohmachmac.c
call fcn.10078120
add esp, 0xc
mov ecx, dword [esp + 0x14]
push edi
push ecx
lea edx, [esi + 0x50]
push edx
call fcn.10059880
mov eax, dword [esp + 0xb4]
lea edi, [esi + 0x4c]
add esp, 0xc
mov dword [edi], eax
mov edi, dword [edi]
cmp edi, 0x80
je 0x1008d13c
mov ecx, pe_nt_image_headers32
sub ecx, edi
push ecx
lea edx, [edi + esi + 0x50]
push 0
push edx
call fcn.10057670
add esp, 0xc
jmp 0x1008d13c
test eax, eax
je 0x1008d1c2
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 0x1008d140
mov edi, dword [esp + 0x10]
push edi
lea ebx, [esi + 0x1c]
push ebp
push ebx
call fcn.10084e30
add esp, 0xc
test eax, eax
je 0x1008d1d6
push ebp
call fcn.1008e7f0
push eax
lea edx, [esp + 0x20]
push edx
push ebx
call fcn.10084fe0
add esp, 0x10
test eax, eax
je 0x1008d1d6
xor eax, eax
mov cl, byte [esi + eax + 0x50]
xor cl, 0x5c
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 0x80
jl 0x1008d184
push edi
lea ebx, [esi + 0x34]
push ebp
push ebx
call fcn.10084e30
add esp, 0xc
test eax, eax
je 0x1008d1d6
push ebp
call fcn.1008e7f0
push eax
lea edx, [esp + 0x20]
push edx
push ebx
call fcn.10084fe0
add esp, 0x10
test eax, eax
je 0x1008d1d6
lea eax, [esi + 0x1c]
push eax
add esi, 4
push esi
call fcn.10085160
add esp, 8
test eax, eax
jne 0x1008d1da
xor eax, eax
jmp 0x1008d1df
mov eax, 1
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100512a4
add esp, 0x8c
ret
Function at 0x10091d00
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x28
call fcn.10059720
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.10085430
mov ebx, eax
add esp, 4
cmp ebx, edi
jl 0x10091f41
push esi
mov esi, dword [esp + 0x48]
cmp esi, 0xffffffff
jne 0x10091dc7
mov esi, ebx
mov edi, dword [esp + 0x38]
mov ecx, dword [edi + 0x10]
push ebp
push ecx
call fcn.10074f50
mov ebp, eax
dec ebp
and ebp, 7
push edi
mov dword [esp + 0x24], ebp
call fcn.100760b0
add esp, 8
mov edi, eax
mov dword [esp + 0x18], eax
test ebp, ebp
jne 0x10091d79
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 0x10091dfb
mov esi, edi
sub esi, ebx
sub esi, 2
test esi, esi
jle 0x10091e39
push 0xda
push str..crypto_rsa_rsa_pss.c
push esi
call fcn.100774c0
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x10], ebp
test ebp, ebp
jne 0x10091e27
push 0xde
push str..crypto_rsa_rsa_pss.c
push 0x41
push 0x7d
push 4
call fcn.10078cf0
add esp, 0x14
jmp 0x10091f24
cmp esi, 0xfffffffe
jne 0x10091dd1
jmp 0x10091d3d
jge 0x10091d3d
push 0xc3
push str..crypto_rsa_rsa_pss.c
push 0x88
push 0x7d
push 4
call fcn.10078cf0
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 0x10091d85
push 0xd5
push str..crypto_rsa_rsa_pss.c
push 0x6e
push 0x7d
push 4
call fcn.10078cf0
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.1007f090
add esp, 8
test eax, eax
jle 0x10091f20
lea eax, [esp + 0x20]
sub edi, ebx
push eax
lea ebp, [edi - 1]
call fcn.10084de0
mov ecx, dword [esp + 0x4c]
push 0
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.10084e30
push 8
lea eax, [esp + 0x34]
push 0x100e5e34
push eax
call fcn.10084fe0
mov ecx, dword [esp + 0x60]
push ebx
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.10084fe0
add esp, 0x28
test esi, esi
je 0x10091e94
mov eax, dword [esp + 0x10]
push esi
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.10084fe0
add esp, 0xc
mov edx, dword [esp + 0x40]
lea eax, [edx + ebp]
push 0
push eax
lea eax, [esp + 0x28]
push eax
call fcn.10085130
lea ecx, [esp + 0x2c]
push ecx
call fcn.10085080
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.100823d0
add esp, 0x24
test eax, eax
jne 0x10091f20
sub edi, esi
xor byte [edi + ebp - 2], 1
lea eax, [edi + ebp - 2]
inc eax
test esi, esi
jle 0x10091ef6
xor ecx, ecx
test esi, esi
jle 0x10091ef6
mov edx, dword [esp + 0x10]
mov dl, byte [ecx + edx]
xor byte [eax], dl
inc ecx
inc eax
cmp ecx, esi
jl 0x10091ee7
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10091f0f
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 0x10091e1b
push ebp
call fcn.10077660
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 0x100ab070
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 0x100ab089
mov esi, edi
mov edi, eax
jmp 0x100ab08b
mov esi, eax
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, dword [ebx + 8]
jg 0x100ab09b
mov eax, ebx
jmp 0x100ab0a5
push eax
push ebx
call fcn.10075190
add esp, 8
test eax, eax
jne 0x100ab0ad
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x100ab0c9
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 0x100ab0b4
cmp eax, dword [esi + 4]
jge 0x100ab0e0
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 0x100ab0d0
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
test eax, eax
jle 0x100ab101
mov ecx, dword [ebx]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x100ab0fe
dec eax
test eax, eax
jg 0x100ab0f0
mov dword [ebx + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x100bafd0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x100bafe5
xor eax, eax
jmp 0x100bb05a
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0x10000
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x100bb012
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x38d
jae 0x100bb055
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x48
mov eax, dword [ebp - 0xc]
cmp dword [eax + edx + 0x40], 0
je 0x100bb053
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 4]
jb 0x100bb04f
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 8]
jb 0x100bb053
xor eax, eax
jmp 0x100bb05a
jmp 0x100bb009
mov eax, 1
mov esp, ebp
pop ebp
ret