joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101a5d5b
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x101d5328], 0
mov byte [0x101d532c], 0
mov dword [0x101d5320], 0x247e
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [0x101d5324], 0
mov dword [ebp - 0x1c], eax
jmp 0x101a5db3
mov dword [0x101d5324], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x101a5ddb
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101d5324]
add eax, 1
mov dword [0x101d5324], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101a5db3
jmp 0x101a5da2
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x101d5330], 0
mov edi, dword [0x101d531c]
mov ebx, edi
add ebx, 0xffffd965
mov dword [0x101d5320], ebx
mov ebx, dword [0x101d5328]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [esi + ecx]
add ecx, ebx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add ecx, edx
mov dword [0x101d5330], ecx
mov dword [0x101d5320], 0x162a
mov eax, ecx
cdq
mov ecx, dword [ebp - 0x28]
idiv ecx
mov dword [0x101d5328], edx
add edi, 0x26f4
mov dword [0x101d531c], edi
mov edi, dword [ebp - 0x24]
mov cl, byte [esi + edi]
mov byte [0x101d532c], cl
mov dword [0x101d531c], 0x8fc
mov cl, byte [esi + edx]
mov byte [esi + edi], cl
mov dword [0x101d531c], 0x721
mov cl, byte [0x101d532c]
mov edx, dword [0x101d5328]
mov byte [esi + edx], cl
mov dword [0x101d5320], 0x15d4
mov edx, dword [0x101d5324]
add edx, 1
mov dword [0x101d5324], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x101a5ddb
mov dword [0x101d531c], 0x71f
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101a5ec5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x101d5320], 0x26bd
mov dword [0x101d531c], 0xe95
mov edx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
lea edx, section..data
imul esi, eax, 0x9c
mov edi, edx
add edi, esi
add edi, 0x98
mov esi, dword [edi]
imul edi, eax, 0x9c
add edx, edi
add edx, 0x54
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x46e
mov ecx, edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
jne 0x101a5ef2
lea eax, [0x101a92a3]
mov ecx, 0xe
lea edx, [ebp - 0x2c]
mov dword [0x101d5320], 0x130b
mov dword [0x101d531c], 0x1346
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], ecx
call fcn.101a61a7
mov dword [0x101d5320], 0xb5d
mov dword [0x101d531c], 0x6c2
call fcn.101a60e7
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], eax
call fcn.101a6329
mov ecx, eax
mov dword [0x101d533c], eax
mov eax, esp
mov edx, dword [ebp - 0x3c]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
lea edx, section..data
imul esi, eax, 0x9c
mov edi, edx
add edi, esi
add edi, 0x98
mov esi, dword [edi]
imul edi, eax, 0x9c
mov ebx, edx
add ebx, edi
add ebx, 0x18
mov edi, dword [ebx]
imul ebx, eax, 0x9c
add edx, ebx
add edx, 0x54
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x48]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], edx
call fcn.101a6d04
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
add eax, ecx
mov edx, dword [ebp - 0x54]
add edx, 1
cmp edx, 0x46e
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], edx
jne 0x101a5fd5
mov dword [0x101d5320], 0x9b1
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x3c]
mov dword [esp + 8], ecx
call fcn.101a6254
xor eax, eax
mov ecx, dword [ebp - 0x48]
add ecx, 0x50f9c
mov edx, dword [ebp - 0x30]
mov dword [edx], ecx
mov ecx, dword [0x101d531c]
add ecx, 0x183c
mov dword [0x101d531c], ecx
mov dword [edx + 4], 0x135c00
mov dword [0x101d5320], 0x13e1
mov ecx, dword [ebp - 0x48]
add ecx, 0x433a0
mov dword [edx + 8], ecx
mov ecx, dword [0x101d531c]
add ecx, 0x1510
mov dword [0x101d531c], ecx
mov dword [edx + 0xc], 0x20a0
mov ecx, dword [0x101d5320]
add ecx, 0xfffff7d7
mov dword [0x101d5320], ecx
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101a64e5
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x101a92a3]
mov esi, 0xe
lea edi, [ebp - 0x2c]
mov ebx, dword [0x101d531c]
add ebx, 0x1e99
mov dword [0x101d531c], ebx
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], esi
call fcn.101a61a7
mov eax, dword [0x101d531c]
add eax, 0xfffffc44
mov dword [0x101d5320], eax
mov dword [0x101d531c], 0x6c2
call fcn.101a60e7
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.101a6329
xor ecx, ecx
mov dword [0x101d531c], 0x236d
cmp eax, 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
je 0x101a6637
mov eax, dword [ebp - 0x40]
mov dword [0x101d531c], 0x1258
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x101d531c]
add ecx, 0x194b
mov dword [0x101d5320], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x30]
mov dword [esp + 4], ecx
mov dword [ebp - 0x48], eax
call fcn.101a5ad1
xor eax, eax
mov ecx, dword [ebp - 0x48]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x34]
mov dword [edx], ecx
mov dword [0x101d531c], 0x341
mov ecx, dword [ebp - 0x48]
mov dword [edx + 0x34], ecx
cmp ecx, 0
mov dword [ebp - 0x44], eax
je 0x101a6637
mov eax, dword [ebp - 0x48]
add eax, 0x1f4d
mov dword [0x101d5320], 0x1ddf
mov dword [ebp - 0x4c], eax
mov dword [0x101d531c], 0xffffefc9
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101a6642
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x24
mov dword [ebp - 0xc], 0
mov dword [0x101d531c], 0x1367
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov esi, dword [0x101d531c]
mov edi, esi
add edi, 0xffffec0a
mov dword [0x101d531c], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
jmp 0x101a66e1
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov edx, dword [ebp - 0x14]
add edx, 0xfffff5a8
mov dword [0x101d531c], edx
mov edx, dword [ebp - 0x18]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
je 0x101a66c1
mov eax, dword [ebp - 0x28]
add esp, 0x24
pop esi
pop edi
pop ebp
ret
xor eax, eax
mov dword [0x101d531c], 0x28f
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x28], eax
je 0x101a6710
jmp 0x101a66b7
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], edx
je 0x101a6691
mov eax, dword [ebp - 0x2c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], eax
jl 0x101a66e1
jmp 0x101a6691
xor eax, eax
mov dword [0x101d531c], 0x2505
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x28], eax
jne 0x101a66b7
mov dword [0x101d5320], 0x870
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x28], eax
jne 0x101a66b7
mov dword [0x101d531c], 0x264f
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x28], eax
jne 0x101a66b7
xor eax, eax
mov dword [0x101d531c], 0x1f9e
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x28], eax
jne 0x101a66b7
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x28], eax
jne 0x101a66b7
mov dword [0x101d531c], 0x536
mov eax, 1
mov dword [ebp - 0x28], eax
jmp 0x101a66b7
Function at 0x101a6b10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov ecx, dword [0x101d531c]
add ecx, 0xffffea42
mov dword [0x101d5320], ecx
mov dword [ebp - 0x10], eax
call fcn.101a6eb5
mov ecx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x3c]
mov dword [0x101d531c], 0x1516
mov esi, dword [ebp - 0x18]
mov edx, dword [esi + edx + 0x78]
mov dword [0x101d531c], 0x11d0
add esi, dword [esi + edx + 0x20]
mov dword [0x101d5320], 0x6c2
mov edi, dword [ebp - 0x18]
mov ebx, dword [edi + edx + 0x18]
cmp ebx, 0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], eax
jne 0x101a6b95
mov eax, dword [ebp - 0x28]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 0xffffefb4
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x24]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
xor esi, esi
mov edi, dword [ebp - 0x24]
mov ebx, dword [edi + eax*4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], esi
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x44]
add ecx, edx
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x4e], cl
je 0x101a6c20
mov eax, dword [ebp - 0x4c]
add eax, 1
mov cl, byte [ebp - 0x4d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x48], eax
jne 0x101a6bcf
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x101a6c68
jmp 0x101a6c29
mov eax, 0xffffeebe
xor ecx, ecx
mov dword [0x101d531c], 0x10da
mov edx, dword [ebp - 0x3c]
add edx, 2
mov esi, dword [ebp - 0x38]
add esi, 1
mov edi, dword [ebp - 0x1c]
cmp esi, edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], esi
jb 0x101a6baf
jmp 0x101a6b8a
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x40]
mov dword [0x101d5320], edx
mov esi, dword [ebp - 0x20]
add esi, 0x1c
mov edi, dword [ebp - 0x18]
add edi, esi
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], edi
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x58]
add eax, dword [ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x54]
add edx, dword [eax + esi*4]
mov dword [0x101d531c], 0x1a69
mov dword [ebp - 0x28], edx
jmp 0x101a6b8a
Function at 0x101a7022
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x101d5324], 0
mov dword [0x101d5328], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov ecx, 0x4207
mov dword [0x101d5334], 0
mov dword [0x101d5320], 0x222c
mov dword [0x101d531c], 0x4207
mov edx, dword [ebp - 0x10]
cmp edx, 0
mov esi, eax
mov edi, eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], eax
je 0x101a71d5
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov edi, 0x100
add ecx, 0xfffff351
mov dword [0x101d531c], ecx
add edx, 1
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv edi
mov dword [0x101d5324], edx
mov ecx, dword [ebp - 0x1c]
movzx ebx, byte [ecx + edx]
add ebx, esi
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x101d5328], edx
mov dword [0x101d531c], 0x1bda
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x101d532c], cl
mov dword [0x101d531c], 0x297
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x101d531c], 0x2f0
mov cl, byte [0x101d532c]
mov edx, dword [0x101d5328]
mov byte [edi + edx], cl
mov edx, dword [0x101d5324]
movzx edx, byte [edi + edx]
mov ebx, dword [0x101d5328]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x101d5320], 0xffffe4ab
and ebx, 0xff
mov dword [0x101d5334], ebx
mov dword [0x101d531c], 0x1696
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov byte [0x101d5339], ch
mov byte [0x101d533a], cl
xor ch, cl
mov byte [0x101d5338], ch
mov dword [0x101d5320], 0xffffef26
mov dword [0x101d531c], 0x15f1
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x101a71d5
mov eax, dword [0x101d531c]
mov ecx, dword [0x101d5324]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov eax, dword [0x101d5328]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x2c], esi
jmp 0x101a709b
mov dword [0x101d5320], 0x23ec
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101a71e7
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
call fcn.1000106e
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
jne 0x101a7334
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 0x20], ecx
call fcn.101a5ec5
lea ecx, [0x101a6cae]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x84], edx
mov dword [0x101d5320], 0x1082
mov dword [esp + 0x54], 0x135c00
mov edx, dword [0x101d5308]
mov dword [esp + 0x78], edx
mov edx, dword [0x101d530c]
mov dword [esp + 0x68], edx
mov edx, dword [0x101d5310]
mov dword [esp + 0x64], edx
mov edx, dword [0x101d5314]
mov dword [esp + 0x94], edx
mov edx, dword [0x101d5318]
mov dword [esp + 0x7c], edx
mov dword [0x101d531c], 0xffffe113
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
cmp word [eax], 0x5a4d
mov dword [esp + 0x14], eax
jne 0x101a72aa
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x10], ecx
je 0x101a72be
mov eax, dword [esp + 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x18], eax
jmp 0x101a7287
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], eax
mov dword [0x101d531c], 0x1516
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x50], edx
mov dword [0x101d5320], 0x3a6
call fcn.101a6642
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
jne 0x101a732c
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.101a64e5
mov dword [0x101d5320], 0x2491
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov esp, ebp
pop ebp
ret
Function at 0x40a000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
dec ecx
adc byte [eax], al
add byte [ebx - 0x72f0d808], al
inc eax
adc byte [eax], al
add byte [esi + 0x14], bh
mov esi, 0x14
add byte [eax], al
mov byte [esp + ecx*2], dh
or al, 0x83
clc
add eax, 0x63188d0f
add eax, dword [eax]
add byte [eax], al
add bh, al
inc esp
and al, 0x38
inc esp
je 0x40a63d
add bh, al
inc esp
and al, 0x60
inc esp
je 0x40a645
add byte [ebp + 0x9b], cl
add byte [ebx + 0x4e8b0450], cl
add al, 0x89
push esp
and al, 0x48
ret 0x8302
inc esi
sbb byte [ecx + 0x70a11c41], cl
jb 0x40a6c1
add byte [ebx - 0x74c7dbb4], cl
inc eax
sbb al, 0x89
inc ecx
sbb byte [ebx + 0x4c72700d], cl
add byte [ecx + 0x4c7460], ah
add al, byte [ebx + 0x4cff02c2]
and al, 0x38
rol byte [edx], 0xff
dec esp
and al, 0x40
test byte [ecx], ah
pop esi
add eax, dword [eax]
sbb al, 9
add byte [eax], al
add byte [ebx + 0x4e8b0870], cl
sub byte [ebp + 0x43850fc9], al
push ebx
add eax, dword [eax]
adc al, 0xff
salc
add byte [eax], al
inc esi
or al, 4
add byte [eax], al
add al, ch
mov dl, 0x5f
add dword [eax], eax
test byte [esi + 3], 0
js 0x40b0e6
add al, 0xf
test byte [edx - 0x74fffca9], bl
enter 0x38e8, 0xffffffffffffffe9
invalid
add byte [ebx - 0x7af0fe02], al
push 0x59
add eax, dword [eax]
cmc
invalid
out dx, al
invalid
add cl, ch
hlt
cmc
invalid
Function at 0x1009b454
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x1014fef1
call fcn.10147df8
mov esi, ecx
mov dword [ebp - 0x14], esi
call fcn.1008f6dc
xor ebx, ebx
mov dword [esi], vtable.ScObjects::Thread.0
push 0x10
mov dword [ebp - 4], ebx
mov dword [esi + 0x10], ebx
mov byte [esi + 0x14], bl
call fcn.100d8743
mov dword [ebp - 0x14], eax
pop ecx
test eax, eax
je 0x1009b49b
mov dword [eax], vtable.ScObjects::ThreadData.0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
jmp 0x1009b49d
mov eax, ebx
mov dword [esi + 8], eax
lea eax, [ebp - 0x10]
push eax
push 4
push esi
push 0x1009b680
push ebx
push ebx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, eax
add esp, 0x18
cmp ecx, 0xffffffff
jne 0x1009b4d0
mov eax, dword [esi + 8]
mov dword [esi + 0x10], 0x20
mov dword [esi + 0xc], ebx
mov dword [eax + 4], ebx
jmp 0x1009b4dc
mov eax, dword [ebp - 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
mov dword [eax + 4], ecx
mov eax, esi
call fcn.10147dc1
ret

Function at 0x1009b790
Capabilities:
Resume thread

Disassembly:
cmp dword [ecx + 0x10], 0
jne 0x1009b7a2
mov eax, dword [ecx + 8]
push dword [eax + 4]
call dword [sym.imp.kernel32.dll_ResumeThread]
ret

Function at 0x100a1d60
Capabilities:
Generate random numbers via winapi

Disassembly:
push 0x2c
mov eax, 0x10150bd0
call fcn.10147e2c
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x38], esi
mov ecx, esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x34], edi
call fcn.1009b955
mov dword [ebp - 4], edi
mov dword [ebp - 0x34], 1
call fcn.100a1e88
test eax, eax
jne 0x100a1da4
push 0xffffffffffffffff
push 0x10159980
mov ecx, esi
call fcn.100d8743
jmp 0x100a1dea
lea ecx, [ebp - 0x20]
push ecx
push 0x10
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov ecx, esi
push 0xffffffffffffffff
push 0x10159980
test eax, eax
je 0x100a1d9d
call fcn.100d8743
movzx eax, byte [ebp + edi - 0x20]
push eax
lea eax, [ebp - 0x30]
push 0x10165c80
push eax
call fcn.100d8743
lea eax, [ebp - 0x30]
push eax
push esi
call fcn.100d8743
add esp, 0x14
inc edi
cmp edi, 0x10
jb 0x100a1dc3
mov eax, esi
call fcn.10147dd6
ret

Function at 0x100a1e88
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push esi
mov esi, dword [0x107d4410]
test esi, esi
jne 0x100a1edc
push edi
push esi
push 1
push esi
push esi
mov edi, 0x107d4410
push edi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x100a1ed5
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x100a1ed5
push 8
push 1
push esi
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x100a1ed5
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [0x107d4410], esi
jmp 0x100a1edb
mov esi, dword [0x107d4410]
pop edi
mov eax, esi
pop esi
ret
Function at 0x100a2070
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push 0x54
mov eax, 0x10150c7f
call fcn.10147e2c
mov ebx, dword [ebp + 8]
xor eax, eax
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 4], eax
mov dword [ebp - 0x44], eax
call fcn.100a1e88
and dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x48], eax
call fcn.1009b955
mov ecx, ebx
mov dword [ebp - 4], 1
call fcn.1009b955
push edi
mov eax, 0x10165d08
mov dword [ebp - 0x44], 1
push eax
push esi
push eax
push edi
push ebx
call fcn.100d8743
pop ecx
pop ecx
push eax
call fcn.100d8743
pop ecx
pop ecx
push eax
call fcn.100d8743
pop ecx
pop ecx
push eax
call fcn.100d8743
pop ecx
pop ecx
push eax
call fcn.100d8743
mov eax, dword [ebp - 0x48]
pop ecx
pop ecx
test eax, eax
jne 0x100a2105
push 0xffffffffffffffff
push 0x10159980
mov ecx, ebx
call fcn.100d8743
jmp 0x100a21c1
lea ecx, [ebp - 0x3c]
xor esi, esi
push ecx
push esi
push esi
push 0x8003
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x100a20f2
push esi
push dword [ebx + 8]
push dword [ebx + 4]
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x100a20f2
push 4
pop ecx
push esi
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x40], esi
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x4c], ecx
push eax
push ecx
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x100a20f2
push dword [ebp - 0x40]
call fcn.100d8743
mov edi, eax
pop ecx
test edi, edi
je 0x100a20f2
push esi
lea eax, [ebp - 0x40]
push eax
push edi
push 2
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov ecx, ebx
push 0xffffffffffffffff
push 0x10159980
test eax, eax
jne 0x100a2185
call fcn.100d8743
jmp 0x100a21ba
call fcn.100d8743
cmp dword [ebp - 0x40], esi
jbe 0x100a21ba
cmp esi, 0x28
jae 0x100a21ba
movzx eax, byte [esi + edi]
push eax
lea eax, [ebp - 0x38]
push 0x10165c80
push eax
call fcn.100d8743
lea eax, [ebp - 0x38]
push eax
push ebx
call fcn.100d8743
add esp, 0x14
inc esi
cmp esi, dword [ebp - 0x40]
jb 0x100a218f
push edi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
pop ecx
cmp dword [ebp - 0x3c], 0
je 0x100a21d0
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
lea ecx, [ebp - 0x60]
call fcn.100d8743
mov eax, ebx
call fcn.10147dd6
ret