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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004052e0
test eax, eax
je 0x5f4f6a
mov eax, dword [ebp - 4]
call fcn.004052e0
mov edx, eax
mov eax, edi
call fcn.0040566c
xor eax, eax
push ebp
push 0x5f4f60
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00405064
mov eax, dword [ebp - 4]
call fcn.004052e0
test eax, eax
jbe 0x5f4f56
mov dword [ebp - 8], eax
mov ebx, 1
mov eax, edi
call fcn.00405538
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx - 1]
movzx ecx, si
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
mov eax, dword [edi]
movzx eax, byte [eax + ebx - 1]
add si, ax
imul ax, si, 0x310f
add ax, 0x3a4e
mov esi, eax
inc ebx
dec dword [ebp - 8]
jne 0x5f4f21
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5f4f6a
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x5f4f74
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov edi, edx
mov esi, eax
mov eax, esi
call fcn.004052e0
test eax, eax
je 0x5f4fe8
mov eax, esi
call fcn.004052e0
mov edx, eax
mov eax, dword [esp]
call fcn.0040566c
mov eax, dword [esp]
mov edx, esi
call fcn.00405064
mov eax, esi
call fcn.004052e0
mov ebp, eax
test ebp, ebp
jbe 0x5f4fe8
mov ebx, 1
mov eax, dword [esp]
call fcn.00405538
mov dl, byte [esi + ebx - 1]
movzx ecx, di
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
xor eax, eax
mov al, byte [esi + ebx - 1]
add di, ax
imul ax, di, 0x310f
add ax, 0x3a4e
mov edi, eax
inc ebx
dec ebp
jne 0x5f4fb8
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5f4ff0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004052e0
test eax, eax
je 0x5f5096
mov eax, dword [ebp - 4]
call fcn.004052e0
mov edx, eax
mov eax, edi
call fcn.0040566c
xor eax, eax
push ebp
push 0x5f508c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00405064
mov eax, dword [ebp - 4]
call fcn.004052e0
test eax, eax
jbe 0x5f5082
mov dword [ebp - 8], eax
mov ebx, 1
mov eax, edi
call fcn.00405538
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx - 1]
movzx ecx, si
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
mov eax, dword [edi]
movzx eax, byte [eax + ebx - 1]
add si, ax
imul ax, si, 0xcb6f
add ax, 0x41ba
mov esi, eax
inc ebx
dec dword [ebp - 8]
jne 0x5f504d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5f5096
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x5f51a8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov edi, edx
mov esi, eax
mov eax, esi
call fcn.004052e0
test eax, eax
je 0x5f521c
mov eax, esi
call fcn.004052e0
mov edx, eax
mov eax, dword [esp]
call fcn.0040566c
mov eax, dword [esp]
mov edx, esi
call fcn.00405064
mov eax, esi
call fcn.004052e0
mov ebp, eax
test ebp, ebp
jbe 0x5f521c
mov ebx, 1
mov eax, dword [esp]
call fcn.00405538
mov dl, byte [esi + ebx - 1]
movzx ecx, di
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
xor eax, eax
mov al, byte [esi + ebx - 1]
add di, ax
imul ax, di, 0xce6d
add ax, 0x58bf
mov edi, eax
inc ebx
dec ebp
jne 0x5f51ec
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5f5224
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004052e0
test eax, eax
je 0x5f52ca
mov eax, dword [ebp - 4]
call fcn.004052e0
mov edx, eax
mov eax, edi
call fcn.0040566c
xor eax, eax
push ebp
push 0x5f52c0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00405064
mov eax, dword [ebp - 4]
call fcn.004052e0
test eax, eax
jbe 0x5f52b6
mov dword [ebp - 8], eax
mov ebx, 1
mov eax, edi
call fcn.00405538
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx - 1]
movzx ecx, si
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
mov eax, dword [edi]
movzx eax, byte [eax + ebx - 1]
add si, ax
imul ax, si, 0xce6d
add ax, 0x58bf
mov esi, eax
inc ebx
dec dword [ebp - 8]
jne 0x5f5281
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5f52ca
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x5f52d4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004052e0
test eax, eax
je 0x5f537a
mov eax, dword [ebp - 4]
call fcn.004052e0
mov edx, eax
mov eax, edi
call fcn.0040566c
xor eax, eax
push ebp
push 0x5f5370
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00405064
mov eax, dword [ebp - 4]
call fcn.004052e0
test eax, eax
jbe 0x5f5366
mov dword [ebp - 8], eax
mov ebx, 1
mov eax, edi
call fcn.00405538
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx - 1]
movzx ecx, si
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
mov eax, dword [edi]
movzx eax, byte [eax + ebx - 1]
add si, ax
imul ax, si, 0xd7fb
add ax, 0x3efd
mov esi, eax
inc ebx
dec dword [ebp - 8]
jne 0x5f5331
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5f537a
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x5f5384
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov edi, edx
mov esi, eax
mov eax, esi
call fcn.004052e0
test eax, eax
je 0x5f53f8
mov eax, esi
call fcn.004052e0
mov edx, eax
mov eax, dword [esp]
call fcn.0040566c
mov eax, dword [esp]
mov edx, esi
call fcn.00405064
mov eax, esi
call fcn.004052e0
mov ebp, eax
test ebp, ebp
jbe 0x5f53f8
mov ebx, 1
mov eax, dword [esp]
call fcn.00405538
mov dl, byte [esi + ebx - 1]
movzx ecx, di
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
xor eax, eax
mov al, byte [esi + ebx - 1]
add di, ax
imul ax, di, 0xd7fb
add ax, 0x3efd
mov edi, eax
inc ebx
dec ebp
jne 0x5f53c8
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5f5400
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004052e0
test eax, eax
je 0x5f54a6
mov eax, dword [ebp - 4]
call fcn.004052e0
mov edx, eax
mov eax, edi
call fcn.0040566c
xor eax, eax
push ebp
push 0x5f549c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00405064
mov eax, dword [ebp - 4]
call fcn.004052e0
test eax, eax
jbe 0x5f5492
mov dword [ebp - 8], eax
mov ebx, 1
mov eax, edi
call fcn.00405538
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx - 1]
movzx ecx, si
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
mov eax, dword [edi]
movzx eax, byte [eax + ebx - 1]
add si, ax
imul ax, si, 0x5ca0
add ax, 0x15ec
mov esi, eax
inc ebx
dec dword [ebp - 8]
jne 0x5f545d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5f54a6
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x5f54b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov edi, edx
mov esi, eax
mov eax, esi
call fcn.004052e0
test eax, eax
je 0x5f5524
mov eax, esi
call fcn.004052e0
mov edx, eax
mov eax, dword [esp]
call fcn.0040566c
mov eax, dword [esp]
mov edx, esi
call fcn.00405064
mov eax, esi
call fcn.004052e0
mov ebp, eax
test ebp, ebp
jbe 0x5f5524
mov ebx, 1
mov eax, dword [esp]
call fcn.00405538
mov dl, byte [esi + ebx - 1]
movzx ecx, di
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
xor eax, eax
mov al, byte [esi + ebx - 1]
add di, ax
imul ax, di, 0x5ca0
add ax, 0x15ec
mov edi, eax
inc ebx
dec ebp
jne 0x5f54f4
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5f560c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004052e0
test eax, eax
je 0x5f56b2
mov eax, dword [ebp - 4]
call fcn.004052e0
mov edx, eax
mov eax, edi
call fcn.0040566c
xor eax, eax
push ebp
push 0x5f56a8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00405064
mov eax, dword [ebp - 4]
call fcn.004052e0
test eax, eax
jbe 0x5f569e
mov dword [ebp - 8], eax
mov ebx, 1
mov eax, edi
call fcn.00405538
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx - 1]
movzx ecx, si
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
mov eax, dword [edi]
movzx eax, byte [eax + ebx - 1]
add si, ax
imul ax, si, 0x5ab3
add ax, 0x8d1e
mov esi, eax
inc ebx
dec dword [ebp - 8]
jne 0x5f5669
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5f56b2
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x5f5978
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
mov edx, eax
lea esi, [edx + 0x18]
lea edi, [edx + 4]
mov ecx, 5
cld
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
lea edi, [edx + 0x2c]
lea esi, [edx + 0x6c]
mov eax, dword [ecx + edi]
rol ax, 8
rol eax, 0x10
rol ax, 8
mov dword [ecx + esi], eax
add ecx, 4
cmp ecx, 0x40
jl 0x5f5993
xor ecx, ecx
mov edi, esi
add edi, 0x40
mov eax, dword [ecx + edi - 0xc]
xor eax, dword [ecx + edi - 0x20]
xor eax, dword [ecx + edi - 0x38]
xor eax, dword [ecx + edi - 0x40]
rol eax, 1
mov dword [ecx + edi], eax
add ecx, 4
cmp ecx, 0x100
jl 0x5f59b3
lea edi, [edx + 4]
mov ecx, 0x14
xor esi, esi
mov eax, dword [edi + 4]
mov ebx, eax
and eax, dword [edi + 8]
not ebx
and ebx, dword [edi + 0xc]
or eax, ebx
call fcn.005f5a7f
add esi, 4
dec ecx
jne 0x5f59dd
mov ecx, 0x14
mov eax, dword [edi + 4]
xor eax, dword [edi + 8]
xor eax, dword [edi + 0xc]
call fcn.005f5a7f
add esi, 4
dec ecx
jne 0x5f59fc
mov ecx, 0x14
mov eax, dword [edi + 4]
mov ebx, eax
and eax, dword [edi + 8]
and ebx, dword [edi + 0xc]
or eax, ebx
mov ebx, dword [edi + 8]
and ebx, dword [edi + 0xc]
or eax, ebx
call fcn.005f5a7f
add esi, 4
dec ecx
jne 0x5f5a15
mov ecx, 0x14
mov eax, dword [edi + 4]
xor eax, dword [edi + 8]
xor eax, dword [edi + 0xc]
call fcn.005f5a7f
add esi, 4
dec ecx
jne 0x5f5a3a
lea esi, [edx + 0x18]
mov eax, dword [edi]
add eax, dword [esi]
mov dword [esi], eax
mov eax, dword [edi + 4]
add eax, dword [esi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
add eax, dword [esi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
add eax, dword [esi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
add eax, dword [esi + 0x10]
mov dword [esi + 0x10], eax
pop esi
pop edi
pop ebx
ret
Function at 0x5f5c90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004054d0
xor eax, eax
push ebp
push 0x5f5e66
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.004050a8
lea eax, [ebp - 0x10]
call fcn.00405538
mov edx, dword [ebp - 0x10]
mov dl, byte [edx + 1]
mov ecx, dword [ebp - 0x10]
mov cl, byte [ecx + 0xb]
xor dl, cl
and edx, 0xff
add edx, 0x431f
mov byte [eax], dl
mov eax, dword [ebp - 0x10]
call fcn.004052e0
mov esi, eax
test esi, esi
jle 0x5f5d2d
mov ebx, 1
mov eax, dword [ebp - 0x10]
call fcn.004052e0
sub eax, ebx
mov al, byte [eax + 0x6048d8]
mov edx, dword [ebp - 0x10]
mov dl, byte [edx + ebx - 1]
xor al, dl
push eax
lea eax, [ebp - 0x10]
call fcn.00405538
pop edx
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x5f5d02
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x10]
call fcn.004052e8
mov eax, dword [ebp - 0x10]
call fcn.004052e0
mov esi, eax
test esi, esi
jle 0x5f5d76
mov ebx, 1
mov eax, dword [ebp - 0x10]
call fcn.004052e0
sub eax, ebx
mov al, byte [eax + 0x6049d8]
mov edx, dword [ebp - 0x10]
mov dl, byte [edx + ebx - 1]
xor al, dl
push eax
lea eax, [ebp - 0x10]
call fcn.00405538
pop edx
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x5f5d4b
mov eax, dword [ebp - 0x10]
call fcn.004052e0
mov esi, eax
test esi, esi
jle 0x5f5db4
mov ebx, 1
mov eax, dword [ebp - 0x10]
call fcn.004052e0
sub eax, ebx
mov al, byte [eax + 0x6047d8]
mov edx, dword [ebp - 0x10]
mov dl, byte [edx + ebx - 1]
xor al, dl
push eax
lea eax, [ebp - 0x10]
call fcn.00405538
pop edx
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x5f5d89
mov eax, dword [ebp - 0x10]
call fcn.004052e0
mov esi, eax
test esi, esi
jle 0x5f5dfc
mov ebx, 1
mov edi, 0x6046d9
mov eax, dword [0x604c34]
add eax, 2
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
call fcn.00405538
mov dl, byte [edi]
mov ecx, dword [ebp - 0x14]
add dl, byte [ecx]
mov ecx, dword [ebp - 0x10]
mov cl, byte [ecx + ebx - 1]
xor dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
add dword [ebp - 0x14], 2
inc edi
dec esi
jne 0x5f5dd7
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x10]
call fcn.004052e8
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x10]
call fcn.004052e8
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x10]
call fcn.004052e8
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x10]
call fcn.004052e8
push ebp
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x10]
call fcn.005f5b30
pop ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00405064
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f5e6d
lea eax, [ebp - 0x18]
call fcn.00405010
lea eax, [ebp - 0x10]
call fcn.00405010
lea eax, [ebp - 8]
call fcn.00405010
ret
Function at 0x5f7a7c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x5f7b98
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 0xc8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x14]
mov eax, dword [0x604c40]
mov eax, dword [eax]
mov eax, dword [eax + 0x55c]
xor ecx, ecx
call fcn.004bb470
mov edi, eax
mov eax, dword [0x604c40]
mov eax, dword [eax]
mov eax, dword [eax + 0x55c]
mov edx, edi
call fcn.004bd0e0
mov ebx, eax
mov byte [ebx], 4
mov eax, 0x50
call fcn.0040bf90
mov dword [ebx + 4], eax
mov dword [esi + 8], edi
mov eax, dword [ebx + 4]
mov dword [esi + 0xc], eax
mov ebx, eax
mov dword [ebx], esi
mov eax, dword [esi + 0x68]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0x64]
mov dword [ebx + 0xc], eax
mov ax, word [esi + 0x6c]
mov word [ebx + 0x10], ax
lea ecx, [ebx + 0x18]
lea edx, [ebx + 0x14]
mov eax, esi
call fcn.005f7820
mov byte [ebx + 0x20], 0
lea eax, [ebx + 0x24]
mov edx, dword [esi + 0x20]
call fcn.00405064
xor eax, eax
mov dword [ebx + 0x30], eax
xor eax, eax
mov dword [ebx + 0x34], eax
xor eax, eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov al, byte [esi + 0x74]
mov byte [ebx + 0x2c], al
cmp dword [esi + 0x2c], 0
je 0x5f7b71
lea edx, [ebp - 8]
mov eax, dword [esi + 0x2c]
call fcn.004dc728
mov edx, dword [ebp - 8]
lea eax, [ebx + 0x1c]
call fcn.0040573c
jmp 0x5f7b82
lea eax, [ebx + 0x1c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x18]
mov edx, dword [edx + 0x40]
call fcn.0040573c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f7b9f
lea eax, [ebp - 8]
call fcn.00405700
ret
Function at 0x1003dd22
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x1003dd31
pop dword [ebp - 0x2c]
mov eax, 0x1003dd31
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x7ddadc54
sub dword [ebp - 0x3c], 0x2f889709
mov dword [ebp - 0x38], 0x41223586
sub dword [ebp - 0x38], 0xeeee941
mov dword [ebp - 0x34], 0x40ccb59c
add dword [ebp - 0x34], 0xb7f8e92
mov dword [ebp - 0x30], 0x6cfaa462
sub dword [ebp - 0x30], 0x6cfaa462
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x4e48ad9b
sub eax, 0x3e35aab3
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x2fa8515a
sub dword [ebp - 0x3c], 0xbb35e804
mov dword [ebp - 0x38], 0x749a2320
add dword [ebp - 0x38], 0xccd23e55
mov dword [ebp - 0x34], 0x1edab844
add dword [ebp - 0x34], 0x4494b428
mov dword [ebp - 0x30], 0x4c10d2b2
sub dword [ebp - 0x30], 0x4c10d2b2
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x65175
push 0
call eax
mov ecx, 0xe4fce26f
sub ecx, 0xe4fc9926
xor edi, edi
add edi, eax
mov edx, 0x5bc1b3f
add edx, 0xabfdec1
add edx, dword [ebp - 0x2c]
mov esi, 0x4c809341
sub esi, 0xe7abd9ed
mov dword [ebp - 0x14], 0xc41a0004
mov ebx, dword [edx]
xor ebx, esi
mov dword [ebp - 0x20], 0x8403828c
mov dword [edi], ebx
add edi, 0x8466bac1
add edi, 0x7b994543
add edx, 4
loop 0x1003de4b
add eax, 0x792dc811
add eax, 0x86d34fe6
xor ebx, ebx
add ebx, eax
add eax, 0x6bc5ea44
add eax, 0x943a15c1
mov ecx, 0xf64bb5c6
add ecx, 0x19b44a3a
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x10089086
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x1012abca
call fcn.10123694
mov esi, ecx
mov dword [ebp - 0x14], esi
call fcn.1007dd03
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.1003dd22
pop ecx
test eax, eax
je 0x100890ca
mov dword [eax], vtable.ScObjects::ThreadData.0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
jmp 0x100890cc
mov eax, ebx
mov dword [esi + 8], eax
lea eax, [ebp - 0x10]
push eax
push 4
push esi
push 0x10089256
push ebx
push ebx
call dword [sym.imp.MSVCR120.dll__beginthreadex]
mov ecx, eax
add esp, 0x18
cmp ecx, 0xffffffff
jne 0x100890ff
mov eax, dword [esi + 8]
mov dword [esi + 0x10], 0x20
mov dword [esi + 0xc], ebx
mov dword [eax + 4], ebx
jmp 0x1008910b
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.10123662
ret

Function at 0x1008933b
Capabilities:
Resume thread

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

Function at 0x1008f795
Capabilities:
Generate random numbers via winapi

Disassembly:
push 0x2c
mov eax, 0x1012b954
call fcn.101236c7
mov esi, dword [ebp + 8]
xor edi, edi
mov ecx, esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], edi
call fcn.100894ce
mov dword [ebp - 4], edi
mov dword [ebp - 0x34], 1
call fcn.1008f895
test eax, eax
jne 0x1008f7d9
push 0xffffffffffffffff
push 0x10130ee8
mov ecx, esi
call fcn.1003dd22
jmp 0x1008f820
lea ecx, [ebp - 0x20]
push ecx
push 0x10
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov ecx, esi
push 0xffffffffffffffff
push 0x10130ee8
test eax, eax
je 0x1008f7d2
call fcn.1003dd22
movzx eax, byte [ebp + edi - 0x20]
push eax
lea eax, [ebp - 0x30]
push 0x1013d2f0
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
lea eax, [ebp - 0x30]
push eax
push esi
call fcn.1003dd22
add esp, 0x14
inc edi
cmp edi, 0x10
jb 0x1008f7f8
mov eax, esi
call fcn.10123676
ret

Function at 0x1008f895
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push esi
mov esi, dword [0x107ac5a0]
test esi, esi
jne 0x1008f8ea
push esi
push 1
push esi
push esi
push 0x107ac5a0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x1008f8e4
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x1008f8e4
push 8
push 1
push esi
push esi
push 0x107ac5a0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x1008f8e4
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [0x107ac5a0], esi
jmp 0x1008f8ea
mov esi, dword [0x107ac5a0]
mov eax, esi
pop esi
ret
Function at 0x1008fa93
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push 0x54
mov eax, 0x1012ba03
call fcn.101236c7
and dword [ebp - 4], 0
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
and dword [ebp - 0x48], 0
mov dword [ebp - 0x50], ebx
call fcn.1008f895
and dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x44], eax
call fcn.100894ce
mov ecx, ebx
mov dword [ebp - 4], 1
call fcn.100894ce
push edi
mov eax, 0x1013d378
mov dword [ebp - 0x48], 1
push eax
push esi
push eax
push edi
push ebx
call fcn.1003dd22
pop ecx
pop ecx
push eax
call fcn.1003dd22
pop ecx
pop ecx
push eax
call fcn.1003dd22
pop ecx
pop ecx
push eax
call fcn.1003dd22
pop ecx
pop ecx
push eax
call fcn.1003dd22
mov eax, dword [ebp - 0x44]
pop ecx
pop ecx
test eax, eax
jne 0x1008fb28
push 0xffffffffffffffff
push 0x10130ee8
mov ecx, ebx
call fcn.1003dd22
jmp 0x1008fbe9
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0
push 0x8003
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1008fb15
push 0
push dword [ebx + 8]
push dword [ebx + 4]
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1008fb15
and dword [ebp - 0x40], 0
lea eax, [ebp - 0x4c]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push 4
pop ecx
push 0
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x4c], ecx
push eax
push ecx
push dword [ebp - 0x3c]
call esi
test eax, eax
je 0x1008fb15
push dword [ebp - 0x40]
call fcn.1003dd22
mov edi, eax
pop ecx
test edi, edi
je 0x1008fb15
push 0
lea eax, [ebp - 0x40]
push eax
push edi
push 2
push dword [ebp - 0x3c]
call esi
mov ecx, ebx
push 0xffffffffffffffff
push 0x10130ee8
test eax, eax
jne 0x1008fbaa
call fcn.1003dd22
jmp 0x1008fbe2
call fcn.1003dd22
xor esi, esi
cmp dword [ebp - 0x40], esi
jbe 0x1008fbe2
cmp esi, 0x28
jae 0x1008fbe2
movzx eax, byte [esi + edi]
push eax
lea eax, [ebp - 0x38]
push 0x1013d2f0
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
lea eax, [ebp - 0x38]
push eax
push ebx
call fcn.1003dd22
add esp, 0x14
inc esi
cmp esi, dword [ebp - 0x40]
jb 0x1008fbb6
push edi
call sub.MSVCR120.dll_free
pop ecx
cmp dword [ebp - 0x3c], 0
je 0x1008fbf8
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0
call fcn.1008950a
mov eax, ebx
call fcn.10123676
ret