joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10106210
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10165add
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x102a0600]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x20], edi
push dword [edi + 0x14]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [edi + 0xc]
lea esi, [edi + 0xc]
push eax
mov dword [ebp - 0x24], esi
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov ebx, eax
test ebx, ebx
jns 0x10106295
cmp dword [0x102a10c0], 1
jl 0x101063ed
push ebx
push str.Failed_to_start_audio_client:_0x_08lx_n
push dword [0x102a7f00]
push 1
call fcn.100f3fb0
add esp, 0x10
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
lea edx, [ebp - 0x1c]
push edx
push 0x1021f2e8
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov ebx, eax
test ebx, ebx
js 0x101063dd
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x14], esi
lea eax, [edi + 0x10]
mov dword [ebp - 4], 0
lea edx, [ebp - 0x14]
mov ecx, esi
cmp edx, eax
je 0x101062e1
mov ecx, dword [eax]
test ecx, ecx
je 0x101062d5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, esi
xor esi, esi
mov dword [ebp - 0x14], esi
xor ecx, ecx
mov dword [edi + 0x10], eax
mov dword [ebp - 4], 1
test ecx, ecx
je 0x101062f2
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov dword [ebp - 4], 2
nop
push 0x10
mov byte [edi + 0x30], 0
lea esi, [edi - 8]
call fcn.10084566
add esp, 4
test eax, eax
je 0x10106321
mov dword [eax], esi
mov dword [eax + 8], 0x10104380
mov dword [eax + 0xc], 0
jmp 0x10106323
xor eax, eax
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
push ecx
push 0
push eax
push 0x100fd550
push 0
push 0
call fcn.10099b80
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x10106406
cmp dword [edi + 0x38], 0
jne 0x10106401
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x38], eax
mov eax, ebx
mov dword [edi + 0x34], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1008e754
push 6
mov dword [ebp - 0x28], 0
call fcn.1008052d
int3
Function at 0x10106420
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10165b1d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x102a0600]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x20], edi
push dword [edi + 0x14]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [edi + 0xc]
lea esi, [edi + 0xc]
push eax
mov dword [ebp - 0x24], esi
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov ebx, eax
test ebx, ebx
jns 0x101064a5
cmp dword [0x102a10c0], 1
jl 0x10106601
push ebx
push str.Failed_to_start_audio_client:_0x_08lx_n
push dword [0x102a7f00]
push 1
call fcn.100f3fb0
add esp, 0x10
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
lea edx, [ebp - 0x1c]
push edx
push 0x1021f2d8
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov ebx, eax
test ebx, ebx
js 0x101065f9
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x14], esi
lea eax, [edi + 0x10]
mov dword [ebp - 4], 0
lea edx, [ebp - 0x14]
mov ecx, esi
cmp edx, eax
je 0x101064f1
mov ecx, dword [eax]
test ecx, ecx
je 0x101064e5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, esi
xor esi, esi
mov dword [ebp - 0x14], esi
xor ecx, ecx
mov dword [edi + 0x10], eax
mov dword [ebp - 4], 1
test ecx, ecx
je 0x10106502
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov dword [ebp - 4], 2
nop
push 0x10
mov byte [edi + 0x88], 0
lea esi, [edi - 8]
call fcn.10084566
add esp, 4
test eax, eax
je 0x10106534
mov dword [eax], esi
mov dword [eax + 8], 0x10102c20
mov dword [eax + 0xc], 0
jmp 0x10106536
xor eax, eax
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
push ecx
push 0
push eax
push 0x100fd550
push 0
push 0
call fcn.10099b80
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x1010661a
cmp dword [edi + 0x90], 0
jne 0x10106615
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x90], eax
mov eax, ebx
mov dword [edi + 0x8c], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1008e754
push 6
mov dword [ebp - 0x28], 0
call fcn.1008052d
int3
Function at 0x101076a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10165bed
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x102a0600]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
cmp dword [esi + 0xc], 0
jle 0x10107707
push 2
push 0
push dword [esi + 8]
call fcn.1008b2d8
add esp, 0xc
test eax, eax
je 0x10107707
cmp dword [0x102a10c0], 2
jl 0x10107707
push str.Failed_to_seek_on_output_file_n
push dword [0x102a7f00]
push 2
call fcn.100f3fb0
add esp, 0xc
mov dword [ebp - 4], 0
nop
push 8
mov byte [esi + 0x1c], 0
call fcn.10084566
add esp, 4
test eax, eax
je 0x1010772c
mov dword [eax], esi
mov dword [eax + 4], 0x10106a00
jmp 0x1010772e
xor eax, eax
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
push ecx
push 0
push eax
push 0x100fc2e0
push 0
push 0
call fcn.10099b80
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x48], ecx
test ecx, ecx
je 0x101077b0
cmp dword [esi + 0x24], 0
jne 0x101077ab
mov eax, dword [ebp - 0x44]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10084465
mov esp, ebp
pop ebp
ret
call fcn.1008e754
push 6
mov dword [ebp - 0x44], 0
call fcn.1008052d
int3
Function at 0x10107e00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
mov edi, dword [esp + 8]
push str.NONE
push edi
call fcn.100fa480
add esp, 8
test eax, eax
jne 0x10107e4d
push eax
push dword [esp + 0x10]
call fcn.10107d40
add esp, 8
cmp dword [0x102a10c0], 3
jl 0x10107f93
push str.NONE
push str.Loading_reverb__s_n
push dword [0x102a7f00]
push 3
call fcn.100f3fb0
add esp, 0x10
pop edi
ret
cmp byte [0x102a8138], 0
jne 0x10107e5d
mov eax, 0x8000
jmp 0x10107e68
xor eax, eax
cmp byte [0x102a8139], al
sete al
push ebx
mov ebx, dword [esp + 0x10]
push esi
push eax
push ebx
call fcn.10107d40
add esp, 8
mov esi, str.GENERIC
nop dword [eax]
push esi
push edi
call fcn.100fa480
add esp, 8
test eax, eax
je 0x10107ec3
add esi, 0x8c
cmp esi, 0x10218dcc
jne 0x10107e80
cmp dword [0x102a10c0], 2
jl 0x10107f91
push edi
push str.Reverb_preset__s_not_found_n
push dword [0x102a7f00]
push 2
call fcn.100f3fb0
add esp, 0x10
pop esi
pop ebx
pop edi
ret
cmp dword [0x102a10c0], 3
jl 0x10107ee2
push esi
push str.Loading_reverb__s_n
push dword [0x102a7f00]
push 3
call fcn.100f3fb0
add esp, 0x10
mov eax, dword [esi + 0x20]
mov dword [ebx + 4], eax
mov eax, dword [esi + 0x24]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0x28]
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x34]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x3c]
mov dword [ebx + 0x20], eax
mov eax, dword [esi + 0x40]
mov dword [ebx + 0x24], eax
mov eax, dword [esi + 0x44]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x48]
mov dword [ebx + 0x2c], eax
mov eax, dword [esi + 0x4c]
mov dword [ebx + 0x30], eax
mov eax, dword [esi + 0x50]
mov dword [ebx + 0x34], eax
mov eax, dword [esi + 0x54]
mov dword [ebx + 0x38], eax
mov eax, dword [esi + 0x58]
mov dword [ebx + 0x3c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebx + 0x40], eax
mov eax, dword [esi + 0x60]
mov dword [ebx + 0x44], eax
mov eax, dword [esi + 0x64]
mov dword [ebx + 0x48], eax
mov eax, dword [esi + 0x68]
mov dword [ebx + 0x4c], eax
mov eax, dword [esi + 0x6c]
mov dword [ebx + 0x50], eax
mov eax, dword [esi + 0x70]
mov dword [ebx + 0x54], eax
mov eax, dword [esi + 0x74]
mov dword [ebx + 0x58], eax
mov eax, dword [esi + 0x78]
mov dword [ebx + 0x5c], eax
mov eax, dword [esi + 0x7c]
mov dword [ebx + 0x60], eax
mov eax, dword [esi + 0x80]
mov dword [ebx + 0x64], eax
mov eax, dword [esi + 0x84]
mov dword [ebx + 0x68], eax
cmp dword [esi + 0x88], 0
setne al
mov byte [ebx + 0x6c], al
pop esi
pop ebx
pop edi
ret
Function at 0x10110db0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016670d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x102a0600]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 8
mov dword [ebp - 4], 0
call fcn.10084566
mov esi, dword [ebp + 8]
add esp, 4
test eax, eax
je 0x10110dfe
mov dword [eax], esi
mov dword [eax + 4], 0x101108b0
jmp 0x10110e00
xor eax, eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
push ecx
push 0
push eax
push 0x100fd4f0
push 0
push 0
call fcn.10099b80
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x10110eac
cmp dword [esi + 0xe0], 0
jne 0x10110ea7
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0xdc], ecx
mov dword [esi + 0xe0], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1008e754
push 6
mov dword [ebp - 0x1c], 0
call fcn.1008052d
int3
Function at 0x101279e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x34]
movss xmm6, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push edi
mov dword [esp + 0x18], eax
xor edi, edi
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x10127b19
movss xmm7, dword [esp + 0x34]
push esi
nop dword [eax + eax]
mov ecx, dword [esp + 0x28]
lea esi, [edi*4 + 0x800]
and edx, ecx
sub eax, edi
sub ecx, edx
inc ecx
cmp ecx, eax
cmova ecx, eax
mov eax, edx
shl eax, 4
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
movaps xmm0, xmm6
inc edi
inc edx
movss xmm5, dword [esi + eax - 0x800]
movss xmm3, dword [esi + eax - 0x400]
mov eax, dword [esp + 0x3c]
movss xmm4, dword [esi + eax]
mov eax, dword [esp + 0x1c]
movaps xmm1, xmm4
subss xmm1, xmm3
movss xmm2, dword [esi + eax + 0x400]
add esi, 4
mulss xmm0, xmm2
mov eax, dword [esp + 0x2c]
addss xmm1, xmm5
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x20]
add dword [esp + 0x20], 0x10
mulss xmm1, xmm7
addss xmm1, xmm0
movaps xmm0, xmm6
mulss xmm0, xmm4
movss dword [esp + 8], xmm1
movaps xmm1, xmm3
subss xmm1, xmm2
addss xmm1, xmm5
mulss xmm1, xmm7
addss xmm1, xmm0
movaps xmm0, xmm6
mulss xmm0, xmm3
movss dword [esp + 0xc], xmm1
movaps xmm1, xmm2
subss xmm1, xmm4
xorps xmm4, xmmword [0x1016a3a0]
subss xmm4, xmm2
addss xmm1, xmm5
subss xmm4, xmm3
mulss xmm1, xmm7
mulss xmm4, xmm7
addss xmm1, xmm0
movaps xmm0, xmm6
mulss xmm0, xmm5
movss dword [esp + 0x10], xmm1
addss xmm4, xmm0
movss dword [esp + 0x14], xmm4
movups xmm0, xmmword [esp + 8]
movups xmmword [esi + eax], xmm0
mov esi, dword [esp + 0x18]
sub ecx, 1
jne 0x10127a30
mov eax, dword [esp + 0x40]
cmp edi, eax
jb 0x10127a10
pop esi
pop edi
add esp, 0x1c
ret
Function at 0x1012dbb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10166ec6
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x102a0600]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x1012dc03
mov esi, edi
shr esi, 1
or esi, edi
mov eax, esi
shr eax, 2
or esi, eax
mov eax, esi
shr eax, 4
or esi, eax
mov eax, esi
shr eax, 8
or esi, eax
mov eax, esi
shr eax, 0x10
or esi, eax
mov dword [ebp + 0xc], esi
inc esi
cmp esi, edi
jbe 0x1012dcc4
mov ecx, dword [ebp + 0x10]
or eax, 0xffffffff
xor edx, edx
div ecx
cmp esi, eax
ja 0x1012dcc4
imul esi, ecx
mov ecx, 0x20
mov dword [ebp - 0x14], esi
lea eax, [esi + 0x10]
cmp eax, ecx
cmovb eax, ecx
add eax, ecx
mov ecx, 0x40
cmp eax, ecx
cmovb eax, ecx
push eax
push 0x10
call fcn.100f0020
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1012dcdf
mov dword [ebp - 0x18], ebx
mov dword [ebx], 0
lea eax, [ebx + 0x30]
mov dword [ebx + 4], 0
push esi
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
push eax
mov dword [ebp - 4], 0
mov dword [ebx + 0x20], esi
call fcn.1012db90
mov eax, dword [ebp + 8]
add esp, 8
mov edx, dword [ebp + 0xc]
mov ecx, edx
cmp dword [ebp + 0x14], 0
mov dword [eax], ebx
cmovne ecx, edi
mov dword [ebx + 8], ecx
mov ecx, dword [eax]
mov dword [ecx + 0xc], edx
mov ecx, dword [eax]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0x10], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Ring_buffer_size_overflow
lea ecx, [ebp - 0x30]
call fcn.100809b7
push 0x102953e8
lea eax, [ebp - 0x30]
push eax
call fcn.10086437
lea ecx, [ebp - 0x24]
call fcn.1000287c
push 0x1029e438
lea eax, [ebp - 0x24]
push eax
call fcn.10086437
int3

Function at 0x10144d00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
lea edx, [eax*4]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], edx
lea esi, [ecx + 0x7d0]
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], eax
push edi
lea edi, [ecx + 0x10]
cmp ebx, eax
je 0x10144da8
mov ebp, dword [edi]
cmp ebp, 0xffffffff
je 0x10144d9b
push esi
lea eax, [edx + ebx]
push eax
push ebx
lea eax, [edi + 0x20]
push eax
lea ecx, [edi + 4]
call fcn.1012f970
mov eax, dword [esp + 0x14]
lea ecx, [edi + 0x3c]
sar eax, 2
lea esi, [esi + eax*4]
mov eax, dword [esp + 0x10]
push eax
push esi
push eax
lea eax, [edi + 0x58]
push eax
call fcn.1012f970
push dword [esp + 0x20]
movss xmm0, dword [edi + 0x78]
lea eax, [edi + 0x74]
push ecx
movss dword [esp], xmm0
push eax
shl ebp, 0xc
add ebp, dword [esp + 0x38]
push ebp
push esi
mov esi, dword [esp + 0x24]
push esi
call dword [0x102a13bc]
mov eax, dword [esp + 0x30]
add esp, 0x18
mov edx, dword [esp + 0x14]
add ebx, 0x1000
add edi, 0x7c
cmp ebx, eax
jne 0x10144d33
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x14
Function at 0x101576a0
Capabilities:
Check for time delay via queryperformancecounter
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101679d1
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x102a0600]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x102a73f4]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x10321ff8]
cmp eax, dword [esi + 8]
jg 0x10157774
mov eax, dword [0x10322000]
cmp eax, dword [esi + 8]
jg 0x101577c9
cmp byte [0x10321ffc], 0
je 0x10157732
mov eax, dword [0x10322008]
cmp eax, dword [esi + 8]
jg 0x10157804
push 0x10322004
lea ecx, [ebp - 0x10]
call fcn.1005a050
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea ecx, [ebp - 0x10]
call fcn.1005a070
jmp 0x1015773c
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
call fcn.10085050
mulsd xmm0, qword [0x10321ff0]
call fcn.10084f50
mov esi, dword [ebp + 8]
push edx
push eax
push esi
call fcn.10058880
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x10321ff8
call fcn.10084502
add esp, 4
cmp dword [0x10321ff8], 0xffffffff
jne 0x101576e6
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.10085050
movsd xmm1, qword [0x1016ccd8]
divsd xmm1, xmm0
push 0x10321ff8
movsd qword [0x10321ff0], xmm1
call fcn.100844b1
add esp, 4
jmp 0x101576e6
push 0x10322000
call fcn.10084502
add esp, 4
cmp dword [0x10322000], 0xffffffff
jne 0x101576f7
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
push 0x10322000
setb byte [0x10321ffc]
call fcn.100844b1
add esp, 4
jmp 0x101576f7
push 0x10322008
call fcn.10084502
add esp, 4
cmp dword [0x10322008], 0xffffffff
jne 0x10157711
mov ecx, 0x10322004
mov dword [ebp - 4], 0
call fcn.10059f90
push 0x101689a0
call fcn.100849b0
push 0x10322008
mov dword [ebp - 4], 0xffffffff
call fcn.100844b1
add esp, 8
jmp 0x10157711

Function at 0x10158820
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1015884d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1015884d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1015bb05
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x102a0600]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x1015bb48
call fcn.1008e972
mov dword [eax], 0xf
call fcn.1008e985
mov dword [eax], 0xd
call fcn.1009531c
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10084465
leave
ret
test eax, eax
jne 0x1015bb4f
inc eax
jmp 0x1015bb3c
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x1015bb3a
xor eax, eax
cmp ecx, 1
setne al
jmp 0x1015bb3c
Function at 0x41139a
Capabilities:
Hash data with crc32

Disassembly:
push 8
mov ecx, eax
pop edi
mov edx, ecx
shr edx, 1
test cl, 1
mov ecx, edx
je 0x411398
xor ecx, 0xedb88320
sub edi, 1
jne 0x411387
add dword [ebp - 0x16], esi
mov dword [esi + eax*4], ecx
inc eax
cmp eax, 0x100
jb 0x411382
pop edi
pop esi
ret 4

Function at 0x41192f
Capabilities:
Encode data using xor

Disassembly:
xor eax, 0x31323836
xor esi, dword [edi + esi]
aaa
cmp byte [ebx], dh
xor dh, byte [eax + esi]
cmp byte [edx], dh
xor esi, dword [0x35323336]
cmp byte [ecx], bh
xor bh, byte ss:[ecx]
xor dword [eax], edi
xor esi, dword [0x31393836]
xor dh, byte [0x32393836]
xor esi, dword [esi]
xor eax, 0x32303839
xor dword [esi], esi
xor eax, 0x35323836
cmp byte [edx], dh
xor esi, dword [esi]
xor eax, 0x36383130
xor dh, byte [ebx]
xor byte [0x33323839], dh
cmp dword [eax], edi
xor byte [esi], dh
xor eax, 0x31323930
cmp byte [ebx], dh
xor eax, 0x31383139
xor dh, byte [ebx]
xor eax, 0x38333239
xor dword [esi], esi
xor eax, 0x36333132
cmp byte [0x33323839], dh
cmp dword [ecx], esi
xor eax, 0x33323938
cmp byte [ecx], bh
xor dh, byte [ebx]
xor eax, 0x33323139
cmp byte ss:[ecx], bh
xor eax, 0x31323336
cmp dword [eax], esi
xor eax, 0x32383936
xor esi, dword [ecx]
xor eax, 0x36303839
xor dword [edx], esi
xor esi, dword [eax]
cmp dword [eax], edi
xor eax, 0x38393036
xor dh, byte [ecx]
xor esi, dword [0x32383936]
xor esi, dword [esi]
xor eax, 0x33323839
cmp dword ss:[eax], edi
xor al, 0x37
xor dword [ecx + edi], esi
cmp byte [ebx], dh
aaa
cmp dword [eax], edi
xor al, 0x31
aaa
xor dh, byte [ecx]
xor edi, dword [ecx]
cmp byte [edi], dh
xor al, 0x39
cmp byte [edx], dh
xor dword [ebx], esi
aaa
xor al, 0x39
cmp byte [ebx], dh
xor dh, byte [ecx]
xor eax, 0x33393635
cmp byte [edx], dh
xor eax, 0x38313936
xor dh, byte [ebx]
xor eax, 0x32333836
xor eax, 0x33303839
xor dh, byte [ecx]
xor eax, 0x36383934
xor edi, dword [ecx]
xor bh, byte [eax]
xor eax, 0x39333236
xor dword [eax], edi
xor byte [esi], dh
xor eax, 0x32383039
xor esi, dword [esi]
xor eax, 0x32333839
xor dword [esi], esi
xor eax, 0x32333830
xor dword [esi], esi
cmp dword [0x32333830], esi
xor eax, 0x36383039
Function at 0x411fc6
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0x1bc
push ebx
mov ebx, dword [esp + 0x1c8]
push ebp
push esi
push edi
push 0x40
pop edi
cmp ebx, edi
jbe 0x41201b
lea eax, [esp + 0x164]
push eax
call fcn.0041c28e
push ebx
push dword [esp + 0x1d4]
lea eax, [esp + 0x16c]
push eax
call fcn.0041c2d4
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x168]
push eax
call fcn.0041c1ab
push 0x20
lea eax, [esp + 0x58]
pop ebx
jmp 0x412022
mov eax, dword [esp + 0x1d0]
mov ebp, dword [esp + 0x1e4]
mov dword [esp + 0x10], eax
test ebp, ebp
je 0x41204d
mov ecx, dword [esp + 0x1e8]
cmp byte [ecx], 0
je 0x41204d
push 0x1a
pop ecx
mov esi, ebp
lea edi, [esp + 0x94]
rep movsd dword es:[edi], dword [esi]
jmp 0x4120ab
xor edx, edx
test ebx, ebx
je 0x41206d
mov esi, eax
lea eax, [esp + 0x14]
sub esi, eax
lea ecx, [esp + 0x14]
add ecx, edx
mov al, byte [esi + ecx]
xor al, 0x36
inc edx
mov byte [ecx], al
cmp edx, ebx
jb 0x41205b
cmp ebx, edi
jae 0x412087
mov eax, edi
lea ecx, [esp + 0x14]
sub eax, ebx
add ecx, ebx
push eax
push 0x36
push ecx
call fcn.0042c0e2
add esp, 0xc
lea eax, [esp + 0x94]
push eax
call fcn.0041c28e
push edi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.0041c2d4
test ebp, ebp
je 0x4120c8
mov eax, dword [esp + 0x1e8]
cmp byte [eax], 0
jne 0x4120c8
push 0x1a
pop ecx
lea esi, [esp + 0x94]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov byte [eax], 1
push dword [esp + 0x1dc]
lea eax, [esp + 0x98]
push dword [esp + 0x1dc]
push eax
call fcn.0041c2d4
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x98]
push eax
call fcn.0041c1ab
mov ebp, dword [esp + 0x1ec]
test ebp, ebp
je 0x41211c
mov eax, dword [esp + 0x1f0]
cmp byte [eax], 0
je 0x41211c
push 0x1a
pop ecx
mov esi, ebp
lea edi, [esp + 0xfc]
rep movsd dword es:[edi], dword [esi]
jmp 0x412186
test ebx, ebx
je 0x41213e
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
sub edx, eax
xor esi, esi
lea ecx, [esp + 0x14]
add ecx, esi
mov al, byte [edx + ecx]
xor al, 0x5c
inc esi
mov byte [ecx], al
cmp esi, ebx
jb 0x41212c
cmp ebx, 0x40
jae 0x41215a
push 0x40
pop eax
sub eax, ebx
lea ecx, [esp + 0x14]
push eax
add ecx, ebx
push 0x5c
push ecx
call fcn.0042c0e2
add esp, 0xc
lea eax, [esp + 0xfc]
push eax
call fcn.0041c28e
push 0x40
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x104]
push eax
call fcn.0041c2d4
test ebp, ebp
je 0x41219c
mov eax, dword [esp + 0x1f0]
cmp byte [eax], 0
jne 0x41219c
push 0x1a
pop ecx
lea esi, [esp + 0xfc]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov byte [eax], 1
push 0x20
lea eax, [esp + 0x78]
push eax
invalid
invalid
invalid