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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
xor ecx, ecx
lea esi, [edi + 0x1c]
shr edi, 2
mov eax, edi
mov dword [ebp - 0xc], esi
shr eax, 1
add eax, 3
mov dword [ebx], eax
add ebx, 0x10
mov dword [ebp - 8], ebx
test edi, edi
je 0x100026ad
nop dword [eax]
mov eax, dword [edx]
lea edx, [edx + 4]
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, edi
jb 0x100026a0
cmp ecx, esi
jae 0x1000278a
mov eax, ecx
sub eax, edi
lea esi, [ebx + eax*4]
mov dword [ebp + 8], esi
nop
xor edx, edx
mov ebx, dword [ebx + ecx*4 - 4]
mov eax, ecx
div edi
mov dword [ebp - 4], eax
test edx, edx
jne 0x10002723
movzx edx, bl
movzx esi, byte [edx + str.cw]
mov edx, ebx
shr edx, 0x18
shl esi, 8
movzx eax, byte [edx + str.cw]
or esi, eax
mov eax, ebx
shr eax, 0x10
movzx eax, al
shl esi, 8
shr ebx, 8
movzx eax, byte [eax + str.cw]
or esi, eax
movzx eax, bl
shl esi, 8
movzx ebx, byte [eax + str.cw]
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x100dd460]
xor ebx, eax
or ebx, esi
mov esi, dword [ebp + 8]
jmp 0x10002770
cmp edi, 6
jbe 0x10002770
cmp edx, 4
jne 0x10002770
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx edx, byte [eax + str.cw]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + str.cw]
shl eax, 8
or edx, eax
mov eax, ebx
shr eax, 8
movzx eax, al
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
movzx eax, bl
shl edx, 8
movzx ebx, byte [eax + str.cw]
or ebx, edx
mov eax, dword [esi]
add esi, 4
xor eax, ebx
mov dword [ebp + 8], esi
mov ebx, dword [ebp - 8]
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, dword [ebp - 0xc]
jb 0x100026c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10003450
Capabilities:
Hash data using sha256

Disassembly:
mov dword [ecx], 0x6a09e667
mov dword [ecx + 4], 0xbb67ae85
mov dword [ecx + 8], 0x3c6ef372
mov dword [ecx + 0xc], 0xa54ff53a
mov dword [ecx + 0x10], 0x510e527f
mov dword [ecx + 0x14], 0x9b05688c
mov dword [ecx + 0x18], 0x1f83d9ab
mov dword [ecx + 0x1c], 0x5be0cd19
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x70], 0
mov dword [ecx + 0x74], 0
ret

Function at 0x10003940
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x10003964
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
add dword [ebp + 8], 5
push ebx
lea ebx, [edx - 4]
add ebx, ecx
mov dword [ebp - 0xc], ebx
lea eax, [edi + ecx]
cmp eax, ebx
jae 0x1000398a
mov cl, byte [eax]
and cl, 0xfe
cmp cl, 0xe8
je 0x10003987
inc eax
cmp eax, ebx
jb 0x10003978
mov ecx, dword [ebp - 4]
mov edx, eax
sub edx, edi
mov edi, eax
sub edx, ecx
sub edi, ecx
cmp eax, ebx
jae 0x10003a8e
cmp edx, 2
jbe 0x10003a13
xor esi, esi
movzx edx, byte [eax + 4]
lea ecx, [edx + 1]
test cl, 0xfe
jne 0x10003a7a
movzx ecx, byte [eax + 3]
mov ebx, dword [ebp + 8]
shl edx, 8
add ebx, edi
or edx, ecx
movzx ecx, byte [eax + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 1]
shl edx, 8
or edx, ecx
mov ecx, edx
add edx, ebx
sub ecx, ebx
cmp dword [ebp + 0x10], 0
cmove edx, ecx
mov dword [ebp - 8], edx
mov ebx, edx
test esi, esi
je 0x10003a4a
and esi, 6
shl esi, 2
mov ecx, esi
shr edx, cl
inc edx
test dl, 0xfe
jne 0x10003a48
mov ebx, 0x100
shl ebx, cl
mov ecx, dword [ebp + 8]
dec ebx
xor ebx, dword [ebp - 8]
add ecx, edi
cmp dword [ebp + 0x10], 0
je 0x10003a46
add ebx, ecx
jmp 0x10003a48
mov ecx, edx
shr esi, cl
test esi, esi
je 0x100039a3
cmp esi, 4
ja 0x10003a38
cmp esi, 3
je 0x10003a38
mov ecx, esi
shr ecx, 1
movzx ecx, byte [ecx + eax + 1]
inc ecx
test cl, 0xfe
jne 0x100039a3
mov ecx, dword [ebp - 4]
or esi, 8
shr esi, 1
inc edi
jmp 0x10003971
sub ebx, ecx
xor esi, esi
mov ecx, ebx
mov byte [eax + 1], bl
shr ecx, 8
mov byte [eax + 2], cl
mov ecx, ebx
shr ebx, 0x18
and bl, 1
shr ecx, 0x10
neg bl
mov byte [eax + 3], cl
mov ecx, dword [ebp - 4]
mov byte [eax + 4], bl
mov eax, 5
mov ebx, dword [ebp - 0xc]
add edi, eax
jmp 0x10003971
mov ecx, dword [ebp - 4]
or esi, 8
mov eax, 1
shr esi, 1
add edi, eax
jmp 0x10003971
mov eax, dword [ebp + 0xc]
mov ecx, edx
shr esi, cl
xor ecx, ecx
cmp edx, 2
pop ebx
cmovbe ecx, esi
mov dword [eax], ecx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10005610
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov dword [ecx + 0x34], 0
mov byte [ecx + 0x1f], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x468], 0xffffffff
mov dword [ecx + 0x46c], 0xffffffff
call fcn.10005ba0
xor edx, edx
lea esi, [ecx + 0x60]
mov ecx, edx
lea esi, [esi + 4]
and ecx, 1
mov eax, edx
shr eax, 1
neg ecx
and ecx, 0xedb88320
inc edx
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [esi - 4], eax
cmp edx, 0x100
jb 0x10005641
pop esi
ret
Function at 0x1000c0f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x100
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
or esi, edi
nop dword [eax]
mov eax, esi
add ebx, ebx
shr eax, 7
mov ecx, edi
and eax, 1
and ecx, ebx
push eax
mov eax, esi
add ecx, edi
shr eax, 8
add eax, ecx
mov ecx, dword [ebp - 4]
lea edx, [edx + eax*2]
call fcn.1000d680
mov edx, dword [ebp - 8]
add esi, esi
mov eax, esi
xor eax, ebx
not eax
and edi, eax
cmp esi, 0x10000
jb 0x1000c110
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1000c160
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
or edx, 0x100
mov ecx, edx
mov eax, edx
shr ecx, 7
add edx, edx
shr eax, 8
and ecx, 1
neg ecx
sar ecx, 4
and ecx, 0x7f
movzx esi, word [ebx + eax*2]
mov eax, dword [ebp + 8]
shr esi, 4
xor esi, ecx
add edi, dword [eax + esi*4]
cmp edx, 0x10000
jb 0x1000c170
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x1000c1b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, 0x100
mov dword [ebp - 4], ecx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
or edx, esi
add edi, edi
mov ecx, esi
and ecx, edi
mov eax, edx
add ecx, esi
shr eax, 8
add eax, ecx
mov ecx, dword [ebp - 4]
movzx ecx, word [ecx + eax*2]
mov eax, edx
shr eax, 7
add edx, edx
and eax, 1
shr ecx, 4
neg eax
sar eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp + 0xc]
add ebx, dword [eax + ecx*4]
mov ecx, edx
xor ecx, edi
not ecx
and esi, ecx
cmp edx, 0x10000
jb 0x1000c1c6
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1000d8e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
bts esi, edx
mov ebx, ecx
cmp esi, 1
je 0x1000d91b
push edi
mov edi, dword [ebp + 0xc]
mov edx, esi
and esi, 1
shr edx, 1
neg esi
sar esi, 4
and esi, 0x7f
movzx ecx, word [ebx + edx*2]
shr ecx, 4
xor ecx, esi
mov esi, edx
add eax, dword [edi + ecx*4]
cmp esi, 1
jne 0x1000d8f8
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1000d980
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
xor eax, eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
push edi
lea edi, [eax + 1]
test edx, edx
je 0x1000d9cf
push ebx
mov ebx, dword [ebp + 8]
push esi
nop dword [eax + eax]
movzx edx, word [ecx + edi*2]
mov esi, ebx
and esi, 1
shr edx, 4
mov ecx, esi
shr ebx, 1
neg ecx
add edi, edi
sar ecx, 4
or edi, esi
and ecx, 0x7f
xor edx, ecx
mov ecx, dword [ebp + 0xc]
add eax, dword [ecx + edx*4]
sub dword [ebp - 4], 1
mov ecx, dword [ebp - 8]
jne 0x1000d9a0
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x10011cd0
Capabilities:
Hash data using sha1

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov esi, dword [edi + 0x18]
and esi, 0xf
mov dword [edi + esi*4 + 0x20], SysReAllocStringLen
inc esi
cmp esi, 0xe
je 0x10011d0e
nop dword [eax + eax]
and esi, 0xf
jne 0x10011d00
push edi
lea edx, [edi + 0x20]
mov ecx, edi
call fcn.10011e80
mov dword [edi + esi*4 + 0x20], 0
inc esi
cmp esi, 0xe
jne 0x10011cf0
mov ecx, dword [edi + 0x18]
lea edx, [edi + 0x20]
mov eax, dword [edi + 0x1c]
shld eax, ecx, 5
push ebx
shl ecx, 5
mov dword [edi + 0x5c], ecx
mov ecx, edi
mov dword [edi + 0x58], eax
call fcn.10011e80
mov ecx, edi
pop edi
pop esi
pop ebx
jmp fcn.100127a0

Function at 0x10011df0
Capabilities:
Hash data using sha1

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
xor edx, edx
mov esi, dword [edi + 0x18]
and esi, 0x3f
mov ecx, esi
shr esi, 2
and ecx, 3
je 0x10011e0d
mov edx, dword [edi + esi*4 + 0x20]
shl ecx, 3
mov eax, SysReAllocStringLen
shr eax, cl
or eax, edx
mov dword [edi + esi*4 + 0x20], eax
inc esi
cmp esi, 0xe
je 0x10011e41
and esi, 0xf
jne 0x10011e33
push edi
lea edx, [edi + 0x20]
mov ecx, edi
call fcn.10011e80
mov dword [edi + esi*4 + 0x20], 0
inc esi
cmp esi, 0xe
jne 0x10011e23
mov ecx, dword [edi + 0x18]
lea edx, [edi + 0x20]
mov eax, dword [edi + 0x1c]
shld eax, ecx, 3
push edi
shl ecx, 3
mov dword [edi + 0x5c], ecx
mov ecx, edi
mov dword [edi + 0x58], eax
call fcn.10011e80
xor ecx, ecx
mov eax, dword [edi + ecx*4]
lea ebx, [ebx + 4]
bswap eax
inc ecx
mov dword [ebx - 4], eax
cmp ecx, 5
jb 0x10011e61
mov ecx, edi
pop edi
pop esi
pop ebx
jmp fcn.100127a0
Function at 0x100127a0
Capabilities:
Hash data using sha1

Disassembly:
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
ret
Function at 0x100132d0
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov esi, dword [edi + 0x20]
and esi, 0x3f
mov byte [esi + edi + 0x28], 0x80
inc esi
cmp esi, 0x38
je 0x100132ff
and esi, 0x3f
jne 0x100132f4
mov ecx, edi
call fcn.10013460
mov byte [edi + esi + 0x28], 0
inc esi
cmp esi, 0x38
jne 0x100132e8
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
shld eax, ecx, 3
shl ecx, 3
bswap ecx
bswap eax
mov dword [edi + 0x64], ecx
mov ecx, edi
mov dword [edi + 0x60], eax
call fcn.10013460
xor edx, edx
nop
mov ecx, dword [edi + edx*4 + 4]
lea ebx, [ebx + 8]
mov eax, dword [edi + edx*4]
add edx, 2
bswap eax
mov dword [ebx - 8], eax
bswap ecx
mov dword [ebx - 4], ecx
cmp edx, 8
jb 0x10013320
mov ecx, edi
pop edi
pop esi
pop ebx
jmp fcn.10013350

Function at 0x10013350
Capabilities:
Hash data using sha256

Disassembly:
mov dword [ecx], 0x6a09e667
mov dword [ecx + 4], 0xbb67ae85
mov dword [ecx + 8], 0x3c6ef372
mov dword [ecx + 0xc], 0xa54ff53a
mov dword [ecx + 0x10], 0x510e527f
mov dword [ecx + 0x14], 0x9b05688c
mov dword [ecx + 0x18], 0x1f83d9ab
mov dword [ecx + 0x1c], 0x5be0cd19
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
ret

Function at 0x10014335
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
mov esi, ecx
push eax
xor eax, eax
push eax
push dword [ebp + 8]
push edx
push eax
push eax
call fcn.100cc2aa
add esp, 0x18
mov dword [esi], eax
mov ecx, eax
call fcn.10014207
pop esi
leave
ret 4

Function at 0x100143ab
Capabilities:
Hash data using sha256

Disassembly:
mov dword [ecx], edx
sub edx, 1
je 0x100143cd
sub edx, 3
je 0x100143c4
sub edx, 6
jne 0x100143d1
add ecx, 0x10
jmp fcn.10013350
or dword [ecx + 8], 0xffffffff
or dword [ecx + 0xc], 0xffffffff
ret
or dword [ecx + 4], 0xffffffff
ret

Function at 0x1001596c
Capabilities:
Hash data using sha256

Disassembly:
or dword [ecx + 0x10], 0xffffffff
xor eax, eax
or dword [ecx + 0x14], 0xffffffff
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], eax
add ecx, 0x28
jmp fcn.100143ab
Function at 0x1001aae9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1010a058]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
xor ecx, ecx
mov eax, dword [edi]
and dword [edi + 4], 0
mov word [eax], cx
xor eax, eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x210]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
mov ecx, edi
lea eax, [ebp - 0x210]
push eax
call fcn.100183d2
lea eax, [esi - 1]
mov ecx, 0x103
cmp ecx, eax
mov ecx, dword [ebp - 4]
pop edi
sbb al, al
xor ecx, ebp
inc al
pop esi
call fcn.100c70b8
leave
ret

Function at 0x1001ab74
Capabilities:
Set file attributes

Disassembly:
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
ret

Function at 0x1001b1a3
Capabilities:
Get file attributes

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, eax
mov eax, ecx
ret

Function at 0x10028fcc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, edx
cmp esi, 0x200
jb 0x10029030
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x10029030
mov edx, dword [ecx + 0x3c]
cmp edx, 0x1000
jae 0x10029030
lea eax, [edx + 0x200]
cmp eax, esi
ja 0x10029030
test dl, 7
jne 0x10029030
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x10029030
movzx eax, word [ecx + 4]
sub eax, 0x14c
je 0x1002904c
sub eax, 0x74
je 0x10029045
dec eax
sub eax, 1
je 0x10029045
dec eax
sub eax, 1
je 0x1002903e
sub eax, 0x3c
je 0x10029037
sub eax, 0x8464
je 0x1002904c
xor eax, eax
pop esi
pop ebp
ret 4
mov edx, 0x3030401
jmp 0x10029051
mov edx, 0x3030701
jmp 0x10029051
mov edx, 0x3030501
jmp 0x10029051
mov edx, 0x3030103
mov eax, 0x400
cmp word [ecx + 0x14], ax
ja 0x10029030
movzx eax, word [ecx + 0x18]
mov ecx, 0x10b
cmp ax, cx
je 0x10029074
mov ecx, 0x20b
cmp ax, cx
jne 0x10029030
mov eax, dword [ebp + 8]
mov dword [eax], edx
xor eax, eax
inc eax
jmp 0x10029032

Function at 0x1003086c
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
cmp edx, 8
jb 0x1003088d
push edi
mov edi, edx
shr edi, 3
mov eax, dword [ecx + 4]
sub edx, 8
xor eax, dword [ecx]
add ecx, 8
xor esi, eax
sub edi, 1
jne 0x1003087a
pop edi
cmp edx, 4
jb 0x10030897
xor esi, dword [ecx]
add ecx, 4
and edx, 3
cmp edx, 2
jbe 0x100308a8
movzx eax, byte [ecx]
shl eax, 0x10
xor esi, eax
inc ecx
cmp edx, 1
jbe 0x100308b6
movzx eax, byte [ecx]
shl eax, 8
xor esi, eax
inc ecx
test edx, edx
je 0x100308bf
movzx ecx, byte [ecx]
xor esi, ecx
mov eax, esi
pop esi
ret
Function at 0x1004107f
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d49e0
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x1010a058]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0x30]
call fcn.100c751e
pop ecx
lea ecx, [esi + 0x10]
call fcn.10041024
and dword [ebp - 4], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x100410c6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret
Function at 0x1004a9a2
Capabilities:
Check for software breakpoints

Disassembly:
mov edx, dword [ecx]
xor ecx, ecx
mov eax, ecx
cmp dword [eax + str.Hah_], edx
je 0x1004a9bf
add eax, 0xc
inc ecx
cmp eax, 0xcc
jb 0x1004a9a8
or eax, 0xffffffff
ret
mov eax, ecx
ret

Function at 0x10054b10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
xor edi, edi
lea eax, [edx + esi]
cmp edx, eax
cmova esi, ebx
test esi, esi
je 0x10054b44
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
movzx eax, word [eax*2 + 0x1010f328]
xor ecx, eax
inc edx
inc edi
cmp edi, esi
jne 0x10054b29
pop edi
pop esi
mov eax, ecx
pop ebx
pop ebp
ret 4

Function at 0x1005aa1a
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
cmp dword [ecx + 0x3c], 2
mov eax, dword [ebp + 8]
jge 0x1005aa36
cmp byte [ecx + 0x42], 0
je 0x1005aa97
cmp eax, 0x3f
jb 0x1005aa97
je 0x1005aa8b
dec eax
jmp 0x1005aa97
cmp eax, 0x2c
jb 0x1005aa97
cmp dword [ecx + 0x3c], 3
jl 0x1005aa4b
cmp eax, 0x2c
jne 0x1005aa4a
push 0x48
jmp 0x1005aa96
dec eax
cmp dword [ecx + 0x3c], 4
jl 0x1005aa5b
cmp eax, 0x2c
jne 0x1005aa5a
push 0x49
jmp 0x1005aa96
dec eax
cmp eax, 0x3a
jb 0x1005aa97
cmp byte [ecx + 0x14], 0
je 0x1005aa7b
cmp eax, 0x3a
jne 0x1005aa6f
push 0x44
jmp 0x1005aa96
cmp eax, 0x3b
jne 0x1005aa78
push 0x45
jmp 0x1005aa96
sub eax, 2
cmp eax, 0x3f
jb 0x1005aa8f
cmp byte [ecx + 0x42], 0
je 0x1005aa8f
cmp eax, 0x3f
jne 0x1005aa33
push 0x46
jmp 0x1005aa96
cmp eax, 0x44
jne 0x1005aa97
push 0x47
pop eax
pop ebp
ret 4

Function at 0x1005b226
Capabilities:
Parse pe header

Disassembly:
push esi
mov esi, edx
cmp esi, 2
jb 0x1005b26c
cmp byte [ecx], 0x4d
jne 0x1005b26c
cmp byte [ecx + 1], 0x5a
jne 0x1005b26c
cmp esi, 0x40
jb 0x1005b26c
mov edx, dword [ecx + 0x3c]
lea eax, [edx - 0x40]
cmp eax, 0xfc0
ja 0x1005b26c
test dl, 7
jne 0x1005b26c
lea eax, [edx + 0x18]
cmp eax, esi
ja 0x1005b26c
cmp dword [ecx + edx], 0x4550
jne 0x1005b26c
cmp word [ecx + edx + 0x14], 0x60
pop esi
sbb al, al
inc al
ret
xor al, al
pop esi
ret
Function at 0x10071092
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d6aa3
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x1010a058]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esi + 0x160]
mov dword [esi], vtable.NArchive::NSquashfs::CHandler.0
mov dword [esi + 4], vtable.NArchive::NSquashfs::CHandler.1.0
call fcn.10015723
and dword [ebp - 4], 0
mov ecx, dword [esi + 0x814]
test ecx, ecx
je 0x100710e3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [esi + 0x808]
call fcn.100c751e
pop ecx
mov ecx, dword [esi + 0x15c]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x10071106
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x154]
mov dword [ebp - 4], 2
test ecx, ecx
je 0x1007111d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x14c]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x10071134
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x144]
mov dword [ebp - 4], 4
test ecx, ecx
je 0x1007114b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [esi + 0x128]
call fcn.100c751e
push dword [esi + 0x11c]
call fcn.100c751e
push dword [esi + 0x110]
call fcn.100c751e
add esp, 0xc
mov ecx, dword [esi + 0xf8]
mov dword [ebp - 4], 5
test ecx, ecx
je 0x10071186
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [esi + 0x7c]
call fcn.100c751e
pop ecx
lea ecx, [esi + 0x5c]
call fcn.10071073
lea ecx, [esi + 0x3c]
call fcn.10071073
push dword [esi + 0x30]
call fcn.100c751e
push dword [esi + 0x24]
call fcn.100c751e
push dword [esi + 0x18]
call fcn.100c751e
push dword [esi + 0xc]
call fcn.100c751e
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret
Function at 0x1007b715
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
mov esi, ecx
test edi, edi
je 0x1007b749
movzx eax, byte [ebx]
mov edx, esi
shr edx, 8
xor edx, eax
shl esi, 8
movzx eax, dl
movzx esi, si
movzx ecx, word [eax*2 + 0x1010f548]
xor esi, ecx
inc ebx
sub edi, 1
jne 0x1007b726
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x10087780
Capabilities:
Hash data using sha1

Disassembly:
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
add ecx, 0x18
jmp fcn.100127a0
Function at 0x1008f18d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x74
mov eax, 0x100db022
call fcn.100c758e
mov edi, ecx
mov esi, dword [ebp + 0xc]
mov edx, esi
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [edi + 0x10], eax
mov al, byte [esi + 0x2c]
mov byte [edi + 0x69], al
cmp dword [esi], 0x10900
push edi
sete al
mov dword [ebp - 0x40], ecx
mov byte [edi + 0x68], al
call fcn.10090095
test eax, eax
jne 0x1008f353
mov eax, dword [esi + 0x80]
or eax, dword [esi + 0x84]
push 1
pop ebx
mov byte [ebp - 0x25], 0
je 0x1008f1e4
mov byte [ebp - 0x25], bl
and dword [ebp - 0x38], 0
lea ecx, [ebp - 0x80]
call fcn.100840e3
and dword [ebp - 4], 0
and dword [ebp - 0x3c], 0
cmp dword [edi + 0x24], 0
jbe 0x1008f341
and dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edi + 0x20]
add eax, ecx
mov dword [ebp - 0x34], eax
cmp word [esi + 0x20], bx
jne 0x1008f32b
cmp word [eax + 0x20], bx
jne 0x1008f32b
xor ebx, ebx
lea ecx, [edi + 0x5c]
cmp byte [edi + 0x68], bl
sete bl
add ebx, dword [edi + 0x60]
call fcn.1008dfd4
mov edx, ebx
mov dword [ebp - 0x30], eax
mov ecx, eax
call fcn.10090393
mov ebx, dword [ebp - 0x34]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x30]
lea ecx, [ebp - 0x80]
push edi
push esi
push ebx
push dword [ebp - 0x40]
call fcn.10090eda
test eax, eax
jne 0x1008f360
lea eax, [ebx + 0x2c]
push 0x14
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100c9227
add esp, 0xc
test eax, eax
je 0x1008f294
cmp byte [esi + 0x2c], 0
je 0x1008f35b
lea ecx, [ebx + 0x2c]
call fcn.10085db7
test al, al
je 0x1008f35b
mov eax, dword [ebp - 0x30]
and dword [eax + 0x1c], 0
cmp dword [edi + 0x3c], 0
jne 0x1008f2af
push dword [ebp + 0x10]
lea ecx, [edi + 0x38]
call fcn.1008e04a
mov eax, dword [ebp - 0x30]
push 0xffffffffffffffff
push eax
mov ecx, edi
call fcn.1008fc7d
test eax, eax
jne 0x1008f360
mov dl, byte [ebp - 0x25]
test dl, dl
je 0x1008f325
mov eax, dword [esi + 0x78]
cmp eax, dword [ebx + 8]
jne 0x1008f2df
mov eax, dword [esi + 0x7c]
cmp eax, dword [ebx + 0xc]
jne 0x1008f2df
xor ebx, ebx
inc ebx
mov dh, bl
jmp 0x1008f2e4
xor ebx, ebx
xor dh, dh
inc ebx
xor ecx, ecx
movzx eax, dl
test dh, dh
cmove ecx, eax
cmp byte [esi + 0x2d], 0
mov dl, cl
mov byte [ebp - 0x25], dl
je 0x1008f328
mov eax, dword [ebp - 0x34]
mov byte [ebp - 0x25], dl
cmp dword [eax + 0x24], ebx
jne 0x1008f328
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
test dh, dh
je 0x1008f314
cmp dword [esi + 0x28], eax
jne 0x1008f349
mov byte [ebp - 0x25], dl
cmp dword [esi + 0x28], eax
jne 0x1008f328
mov byte [ebp - 0x25], dl
test dh, dh
jne 0x1008f328
jmp 0x1008f349
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x3c]
add ecx, 0x40
inc eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x3c], eax
cmp eax, dword [edi + 0x24]
jb 0x1008f209
cmp byte [ebp - 0x25], 0
jne 0x1008f349
xor ebx, ebx
lea ecx, [ebp - 0x80]
call fcn.1008de7e
mov eax, ebx
call fcn.100c7538
ret 0x10
xor ebx, ebx
inc ebx
jmp 0x1008f349
mov ebx, eax
jmp 0x1008f349