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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013faae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
mov eax, ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
cmp byte [eax + 0xd], 0
jne 0x1008a5d1
xor eax, eax
xor edx, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
push esi
push edi
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x48], xmm0
call fcn.10063ca0
push 0x18
mov esi, eax
mov dword [ebp - 0x3c], 0
push 0x101991c4
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call fcn.100485f0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 1
call fcn.1007a8b0
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp - 0x28], 0x10
lea esi, [ebp - 0x3c]
mov edi, dword [ebp - 0x3c]
mov edx, 0x811c9dc5
cmovae esi, edi
xor ecx, ecx
cmp dword [ebp - 0x2c], ecx
jbe 0x1008a663
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x2c]
jb 0x1008a651
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x3c]
push edx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10064540
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax + 4]
test eax, eax
je 0x1008a6b9
cmp eax, dword [ecx + 4]
je 0x1008a6b9
mov esi, dword [eax + 0x20]
lea eax, [ecx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x1008a6c5
lea eax, [ebp - 0x18]
push eax
push 0x1c
lea eax, [ebp - 0x58]
push eax
push 0
push dword [ebp + 8]
call esi
mov esi, dword [ebp + 0xc]
test eax, eax
js 0x1008a6c8
test esi, esi
je 0x1008a6c8
mov byte [ebp + 0xf], 1
jmp 0x1008a6cc
lea eax, [ecx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1008a6c8
mov esi, dword [ebp + 0xc]
mov byte [ebp + 0xf], 0
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x1008a701
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1008a6f7
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1008a6f7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.1013b151
add esp, 8
cmp byte [ebp + 0xf], 0
je 0x1008a71e
mov eax, dword [ebp - 0x1c]
push 0
push 0x1000
push esi
push dword [ebp - 0x54]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [ebp - 0x54]
xor edx, edx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x1008a9c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013fa2d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
push esi
push edi
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x38], 0
movq qword [ebp - 0x40], xmm0
call fcn.10063ca0
push 0x14
mov esi, eax
mov dword [ebp - 0x34], 0
push 0x10199274
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.100485f0
mov dword [ebp - 4], 0
call fcn.1007a8b0
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp - 0x20], 0x10
lea esi, [ebp - 0x34]
mov edi, dword [ebp - 0x34]
mov edx, 0x811c9dc5
cmovae esi, edi
xor ecx, ecx
cmp dword [ebp - 0x24], ecx
jbe 0x1008aa62
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x24]
jb 0x1008aa50
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x34]
push edx
push eax
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.10064540
mov eax, dword [eax + 4]
test eax, eax
je 0x1008aaae
cmp eax, dword [esi + 4]
je 0x1008aaae
mov esi, dword [eax + 0x20]
mov eax, dword [ebp - 0x10]
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x1008aab8
push 0
push 0x1c
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x14]
push 0
push dword [ebp + 8]
push dword [eax + 4]
call esi
mov esi, eax
jmp 0x1008aabd
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, 0xc0000138
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x1008aaf2
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1008aae8
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1008aae8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.1013b151
add esp, 8
test esi, esi
je 0x1008ab0a
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x4c]
cdq
pop edi
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x48]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x50]
mov dword [ecx + 0xc], edx
cdq
mov dword [ecx], eax
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp - 0x44]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x40]
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 0x38]
mov dword [ecx + 0x28], eax
xor eax, eax
mov dword [ecx + 4], edx
mov dword [ecx + 0x1c], 0
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1008ab70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013fade
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
push esi
push edi
mov dword [ebp - 0x18], ecx
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x4c], xmm0
call fcn.10063ca0
push 0x19
mov esi, eax
mov dword [ebp - 0x44], 0
push 0x1019928c
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
call fcn.100485f0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 1
call fcn.1007a8b0
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp - 0x30], 0x10
lea esi, [ebp - 0x44]
mov edi, dword [ebp - 0x44]
mov edx, 0x811c9dc5
cmovae esi, edi
xor ecx, ecx
cmp dword [ebp - 0x34], ecx
jbe 0x1008ac22
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x34]
jb 0x1008ac10
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x44]
push edx
push eax
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.10064540
mov eax, dword [eax + 4]
test eax, eax
je 0x1008ac81
cmp eax, dword [esi + 4]
je 0x1008ac81
mov esi, dword [eax + 0x20]
mov eax, dword [ebp - 0x14]
add eax, 0x20
mov dword [ebp - 0x24], esi
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x1008ac8b
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x20]
push eax
push 0x18
lea eax, [ebp - 0x5c]
add esi, 4
push eax
push 0
push dword [esi]
call dword [ebp - 0x24]
mov ecx, esi
test eax, eax
js 0x1008ac91
cmp dword [ebp + 8], 0
je 0x1008ac91
mov byte [ebp - 0xd], 1
jmp 0x1008ac97
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x18]
add ecx, 4
mov byte [ebp - 0xd], 0
mov esi, ecx
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x1008accc
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1008acc2
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1008acc2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.1013b151
add esp, 8
cmp byte [ebp - 0xd], 0
je 0x1008ace7
push 0
push 0x250
push dword [ebp + 8]
push dword [ebp - 0x58]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0xc]
pop edi
cdq
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x1008ad20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013faae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
push esi
push edi
mov dword [ebp - 0x1c], ecx
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x40], 0
movq qword [ebp - 0x48], xmm0
mov dword [ebp - 0x18], 0
call fcn.10063ca0
push 0x18
mov esi, eax
mov dword [ebp - 0x3c], 0
push 0x10199258
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call fcn.100485f0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 1
call fcn.1007a8b0
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp - 0x28], 0x10
lea esi, [ebp - 0x3c]
mov edi, dword [ebp - 0x3c]
mov edx, 0x811c9dc5
cmovae esi, edi
xor ecx, ecx
cmp dword [ebp - 0x2c], ecx
jbe 0x1008add7
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x2c]
jb 0x1008adc5
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x3c]
push edx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10064540
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax + 4]
test eax, eax
je 0x1008ae2d
cmp eax, dword [ecx + 4]
je 0x1008ae2d
mov esi, dword [eax + 0x20]
lea eax, [ecx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x1008ae39
lea eax, [ebp - 0x18]
push eax
push 0x1c
lea eax, [ebp - 0x58]
push eax
push 0
push dword [ebp + 8]
call esi
mov esi, dword [ebp + 0xc]
test eax, eax
js 0x1008ae3c
test esi, esi
je 0x1008ae3c
mov byte [ebp + 0xf], 1
jmp 0x1008ae40
lea eax, [ecx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1008ae3c
mov esi, dword [ebp + 0xc]
mov byte [ebp + 0xf], 0
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x1008ae75
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1008ae6b
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1008ae6b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.1013b151
add esp, 8
cmp byte [ebp + 0xf], 0
je 0x1008ae92
mov eax, dword [ebp - 0x1c]
push 0
push 0x1000
push esi
push dword [ebp - 0x54]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [ebp - 0x54]
xor edx, edx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x1008db50
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0xc], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
jbe 0x1008db81
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, 1
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.10062e00
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x1008dc8c
nop word [eax + eax]
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
mov edx, dword [ebx + 0xc]
imul edi, edi, 0x1000193
and edi, dword [ebx + 0x18]
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 4], edx
cmp ebx, esi
jne 0x1008dc10
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x1008dc7f
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x1008dc4a
mov edx, dword [edx]
mov dword [ebp - 8], edx
cmp edx, eax
je 0x1008dc42
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 8]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
jmp 0x1008dc7f
cmp ebx, edx
je 0x1008dc5c
nop
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x1008dc95
cmp ebx, edx
jne 0x1008dc50
mov ebx, dword [eax + 4]
mov dword [ebp - 8], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 4]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 0xc]
mov eax, ecx
cmp ecx, esi
jne 0x1008dbc0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 8], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x1008dc7f
Function at 0x1008dd30
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
lea edx, [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
test esi, esi
jle 0x1008dd58
mov eax, dword [ebp + 0x14]
lea edx, [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
dec esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
jmp 0x1008dd60
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
mov ecx, edx
test esi, esi
jle 0x1008dd7a
dec esi
add edx, 8
mov dword [ebp + 0x10], esi
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
jmp 0x1008dd82
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov ecx, edx
test esi, esi
jle 0x1008dd9c
dec esi
add edx, 8
mov dword [ebp + 0x10], esi
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
jmp 0x1008dda4
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov ecx, edx
test esi, esi
jle 0x1008ddbe
dec esi
add edx, 8
mov dword [ebp + 0x10], esi
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
jmp 0x1008ddc6
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov eax, edx
mov dword [ebp - 4], 0
cdq
xorps xmm0, xmm0
mov dword [ebp - 0x40], eax
mov eax, esi
mov dword [ebp - 0x3c], edx
cdq
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 8], 0
mov word [ebp - 8], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 4], esp
and esp, 0xfffffff0
push 0x33
call 0x1008de07
add dword [esp], 5
retf

Function at 0x1008de90
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5d0
push ebx
push esi
xorps xmm0, xmm0
push edi
movlpd qword [ebp - 0x10], xmm0
push 0x33
call 0x1008deab
add dword [esp], 5
retf

Function at 0x1008e190
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x101b2600]
sub esp, 0x1a4
mov edx, dword [0x101b2604]
push ebx
push esi
push edi
test eax, eax
jne 0x1008e1cb
test edx, edx
jne 0x1008e1cb
call fcn.1008de90
mov esi, eax
mov dword [0x101b2600], eax
mov edi, edx
mov dword [0x101b2604], edx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], edi
jmp 0x1008e1d5
mov esi, eax
mov dword [ebp - 0x10], eax
mov edi, edx
mov dword [ebp - 0x14], edx
test esi, esi
jne 0x1008e1e1
test edi, edi
je 0x1008e5f9
lea ecx, [ebp - 0x98]
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], edx
push 0x33
call 0x1008e1f7
add dword [esp], 5
retf
pop edi
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100a1210
Capabilities:
Generate random numbers via winapi

Disassembly:
mov eax, 4
call fcn.1013b6d0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
push 1
push esi
xor edi, edi
call fcn.10095410
mov ebx, eax
push ebx
push esi
call fcn.100952f0
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x100a1299
push 0xf0000040
push 1
push edi
push edi
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x100a1273
push ebp
push ebx
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0
push dword [esp + 0x14]
test eax, eax
cmovne edi, ebx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea eax, [edi*8]
push eax
push edi
push esi
call fcn.10095360
push esi
call fcn.100954b0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x100a1299
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 1
push esi
call fcn.10095410
mov ebx, eax
push ebx
push esi
call fcn.100952f0
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x100a1308
push 0xf0000040
push 0x16
push str.Intel_Hardware_Cryptographic_Service_Provider
xor edi, edi
lea eax, [esp + 0x1c]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x100a12ee
push ebp
push ebx
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0
push dword [esp + 0x14]
test eax, eax
cmovne edi, ebx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea eax, [edi*8]
push eax
push edi
push esi
call fcn.10095360
push esi
call fcn.100954b0
add esp, 0x10
mov edi, eax
test edi, edi
jne 0x100a1291
push esi
call fcn.100954b0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x100ee740
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 0x18], 0
je 0x100ee754
mov dword [esp + 0x18], fcn.100ecf20
jmp fcn.10096fa0
mov dword [esp + 0x18], fcn.100ec1b0
jmp fcn.10096cd0
Function at 0x40507c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x40508b
pop dword [ebp - 0x3c]
mov eax, 0x110ba628
add eax, 0xef34aa63
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x3b7f7
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0xf9b2c191
add ecx, 0x64d7cd4
xor ebx, ebx
add ebx, eax
mov edx, 0x435400
add edx, dword [ebp - 0x3c]
mov edi, 0xa668d7b5
sub dword [ebp - 0x14], 0x323ea0e3
mov esi, dword [edx]
sub dword [ebp - 0x30], 0x71957cfb
xor esi, edi
mov dword [ebp - 0x2c], 0x4542e072
mov dword [ebx], esi
sub dword [ebp - 0x28], 0xe0875b87
add ebx, 0x66ab6216
sub ebx, 0x66ab6212
add edx, 4
loop 0x4050db
add eax, 0x3c67a47e
add eax, 0xc39947e9
mov ebx, eax
add eax, 0xd65400e9
sub eax, 0xd65400e4
mov ecx, 0x16ede737
sub ecx, 0x16ade737
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x407875
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42f180]
jne 0x40787f
repz ret
jmp fcn.0040bbd7
Function at 0x42a6e1
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x42a70f
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x42a716
cmp ebx, dword [eax + 4]
jae 0x42a716
xor eax, eax
jmp 0x42a906
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x42a727
xor eax, eax
inc eax
jmp 0x42a905
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x42a73d
cmp ecx, edx
jae 0x42a882
cmp dword [eax + 4], 0
je 0x42a746
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x42a72e
cmp dword [ebp + 8], 0
je 0x42a768
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x42a882
cmp eax, esi
jae 0x42a882
mov eax, dword [0x434fe0]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x42a78d
cmp dword [esi*4 + 0x434fe8], edi
je 0x42a886
inc esi
cmp esi, eax
jl 0x42a77b
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x42c1d4]
test eax, eax
je 0x42a902
cmp dword [ebp - 8], 0x1000000
jne 0x42a902
test byte [ebp - 0xc], 0xcc
je 0x42a80b
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x42a902
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x42a902
cmp word [eax + 0x18], 0x10b
jne 0x42a902
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x42a902
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x42a80b
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x42a80b
test byte [ecx + 0x27], 0x80
jne 0x42a882
push 1
push 0x435028
call dword [0x42c160]
test eax, eax
jne 0x42a71f
mov ecx, dword [0x434fe0]
test ecx, ecx
mov edx, ecx
jle 0x42a83f
lea eax, [ecx*4 + 0x434fe4]
cmp dword [eax], edi
je 0x42a83f
dec edx
sub eax, 4
test edx, edx
jg 0x42a833
test edx, edx
jne 0x42a870
push 0xf
pop ebx
cmp ecx, ebx
jg 0x42a84c
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x42a864
lea eax, [edx*4 + 0x434fe8]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x42a852
cmp ecx, 0x10
jge 0x42a870
inc ecx
mov dword [0x434fe0], ecx
push 0
push 0x435028
call dword [0x42c160]
jmp 0x42a71f
xor eax, eax
jmp 0x42a905
test esi, esi
jle 0x42a71f
mov ebx, dword [0x42c160]
push 1
push 0x435028
call ebx
test eax, eax
jne 0x42a71f
cmp dword [esi*4 + 0x434fe8], edi
je 0x42a8dc
mov eax, dword [0x434fe0]
lea esi, [eax - 1]
test esi, esi
jl 0x42a8ca
cmp dword [esi*4 + 0x434fe8], edi
je 0x42a8c6
dec esi
jns 0x42a8ba
test esi, esi
jge 0x42a8da
cmp eax, 0x10
jge 0x42a8d5
inc eax
mov dword [0x434fe0], eax
lea esi, [eax - 1]
jmp 0x42a8dc
je 0x42a8f4
xor ecx, ecx
test esi, esi
jl 0x42a8f4
lea eax, [ecx*4 + 0x434fe8]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x42a8e2
push 0
push 0x435028
call ebx
jmp 0x42a71f
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret