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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10145e46
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x1019a128]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x44], ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 1
xorps xmm0, xmm0
push 0x7c
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], 0
call fcn.101157fb
add esp, 4
mov esi, eax
mov dword [ebp - 0x28], esi
push 0x7c
push 0
push esi
call fcn.10117ff0
add esp, 0xc
mov dword [esi], vtable.std::_Associated_state_bool_.0
lea eax, [esi + 0xc]
mov dword [esi + 4], 1
lea edi, [esi + 4]
push eax
call fcn.10114966
add esp, 4
lea eax, [esi + 0x14]
push 2
push eax
call fcn.10113e0a
lea eax, [esi + 0x44]
push eax
call fcn.10113fe1
add esp, 0xc
mov byte [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov word [esi + 0x74], 0
mov byte [esi + 0x76], 0
mov dword [esi + 0x78], 0
mov dword [ebp - 0x24], esi
mov byte [ebp - 0x20], 0
xorps xmm0, xmm0
mov byte [ebp - 0x1c], 1
movlpd qword [ebp - 0x34], xmm0
lock inc dword [edi]
mov dword [ebp - 0x34], esi
mov byte [ebp - 0x30], 1
mov dword [ebp - 0x40], 2
push 0x48
mov byte [ebp - 4], 3
call fcn.101157fb
add esp, 4
mov edi, eax
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
call fcn.1007abc0
lea eax, [edi + 0x28]
lea ecx, [ebp - 0x24]
mov dword [eax], 0
cmp eax, ecx
je 0x1007d65a
mov dword [eax], esi
mov dword [ebp - 0x24], 0
mov byte [eax + 4], 0
mov byte [eax + 8], 1
mov eax, dword [ebp - 0x44]
mov dword [edi + 0x38], eax
mov dword [edi + 0x40], 0x1007d770
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x40], 6
add ebx, 4
mov byte [ebp - 4], 5
push ebx
push 0
push edi
push 0x1007e7b0
push 0
push 0
call fcn.101236ea
mov edi, dword [ebp - 0x48]
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x1007d736
xorps xmm0, xmm0
mov dword [ebp - 0x40], 7
movlpd qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x38], 1
mov byte [ebp - 4], 8
cmp byte [esi + 0x6c], 0
jne 0x1007d743
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 8]
mov byte [ebp - 4], 9
lea ecx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [ecx], eax
jne 0x1007d6f6
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x1007d6ee
mov eax, dword [ecx]
push esi
jmp 0x1007d6f4
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
lea ecx, [ebp - 0x24]
call fcn.1007ddb0
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x1007d716
mov esi, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.101157bc
mov esp, ebp
pop ebp
ret 0x2c
push 6
mov dword [ebx], 0
call fcn.10113718
mov edx, 4
lea ecx, [ebp - 0x2c]
call fcn.1007d150
push eax
call fcn.10114b5b
mov ecx, dword [ebp - 0x4c]
call fcn.10035910
sub esp, 8
mov ecx, esp
call fcn.1007e8f0
call fcn.1007e910
int3
Function at 0x1007ebd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x1019a128]
xor eax, esp
mov dword [esp + 0x24], eax
push 4
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x2af8
push eax
push 4
push 0
push 0x101676f8
push dword [ecx]
xorps xmm0, xmm0
movlpd qword [esp + 0x34], xmm0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, eax
test ecx, ecx
je 0x1007ec1a
mov edx, 0x1019abc0
jmp 0x1007ec23
mov ecx, dword [esp + 0x1c]
mov edx, 0x1019ab88
mov eax, dword [edx + 4]
cmp eax, dword [0x1019ab8c]
jne 0x1007ec41
test ecx, ecx
jne 0x1007ec41
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.101157bc
mov esp, ebp
pop ebp
ret
push edx
push ecx
mov edx, str.RegSetValueEx_failed
lea ecx, [esp + 0xc]
call fcn.1002dfd0
add esp, 8
lea eax, [esp + 4]
push 0x10197920
push eax
call fcn.101179f2
int3
Function at 0x10081120
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [edx]
movups xmmword [ecx], xmm0
movq xmm0, qword [edx + 0x10]
movq qword [ecx + 0x10], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov eax, dword [edx + 0x18]
mov dword [ecx + 0x18], eax
movzx eax, byte [edx + 0x1c]
mov byte [ecx + 0x1c], al
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
movups xmm0, xmmword [edx + 0x20]
movups xmmword [ecx + 0x20], xmm0
movq xmm0, qword [edx + 0x30]
movq qword [ecx + 0x30], xmm0
mov dword [edx + 0x30], 0
mov dword [edx + 0x34], 0xf
mov byte [edx + 0x20], 0
mov eax, dword [edx + 0x38]
mov dword [ecx + 0x38], eax
movzx eax, byte [edx + 0x3c]
mov byte [ecx + 0x3c], al
mov eax, dword [edx + 0x40]
mov dword [ecx + 0x40], eax
mov dword [ecx + 0x44], 0
mov dword [ecx + 0x54], 0
mov dword [ecx + 0x58], 0
movups xmm0, xmmword [edx + 0x44]
movups xmmword [ecx + 0x44], xmm0
movq xmm0, qword [edx + 0x54]
movq qword [ecx + 0x54], xmm0
mov dword [edx + 0x54], 0
mov dword [edx + 0x58], 0xf
mov byte [edx + 0x44], 0
mov eax, dword [edx + 0x5c]
mov dword [ecx + 0x5c], eax
movzx eax, byte [edx + 0x60]
mov byte [ecx + 0x60], al
mov dword [ecx + 0x64], 0
mov dword [ecx + 0x74], 0
mov dword [ecx + 0x78], 0
movups xmm0, xmmword [edx + 0x64]
movups xmmword [ecx + 0x64], xmm0
movq xmm0, qword [edx + 0x74]
movq qword [ecx + 0x74], xmm0
mov dword [edx + 0x74], 0
mov dword [edx + 0x78], 0xf
mov byte [edx + 0x64], 0
mov eax, dword [edx + 0x7c]
mov dword [ecx + 0x7c], eax
movzx eax, byte [edx + 0x80]
mov byte [ecx + 0x80], al
mov eax, ecx
mov dword [ecx + 0x84], 0
mov dword [ecx + 0x94], 0
mov dword [ecx + 0x98], 0
movups xmm0, xmmword [edx + 0x84]
movups xmmword [ecx + 0x84], xmm0
movq xmm0, qword [edx + 0x94]
movq qword [ecx + 0x94], xmm0
mov dword [edx + 0x94], 0
mov dword [edx + 0x98], 0xf
mov byte [edx + 0x84], 0
pop ebp
ret 4
Function at 0x10084e80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10146e2d
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1019a128]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], eax
call fcn.10098270
test al, al
je 0x10084fec
cmp dword [ebp - 0x34], 8
lea ecx, [ebp - 0x48]
cmovae ecx, dword [ebp - 0x48]
call fcn.10097d60
test al, al
je 0x10084fec
cmp dword [ebp - 0x34], 8
lea edi, [ebp - 0x48]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
cmovae edi, dword [ebp - 0x48]
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], 0x7a0061
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.10098820
test al, al
jne 0x10084f3a
lea ecx, [ebp - 0x24]
call fcn.100987a0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.10098690
lea ecx, [ebp - 0x24]
mov word [ebp - 0x18], ax
call fcn.10098690
lea ecx, [ebp - 0x24]
mov word [ebp - 0x16], ax
call fcn.10098690
mov word [ebp - 0x14], ax
lea ecx, [ebp - 0x30]
xor eax, eax
xorps xmm0, xmm0
movq qword [ebp - 0x30], xmm0
push 0x7fff
mov word [ebp - 0x12], ax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
call fcn.10002350
push 0xfffe
push 0
push eax
lea esi, [eax + 0xfffe]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], esi
call fcn.10117ff0
add esp, 0xc
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 4
lea eax, [ebp - 0x18]
push dword [ebp - 0x30]
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x10085014
lea ecx, [ebp - 0x30]
call fcn.100825d0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10084fda
push 0x1388
push eax
call fcn.101157ed
add esp, 8
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10084fec
push 1
push eax
call fcn.101157ed
add esp, 8
xor bl, bl
lea ecx, [ebp - 0x48]
call fcn.10002400
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101157bc
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x30]
mov edx, esi
lea edi, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10085020
sub edx, edi
mov ecx, ebx
sar edx, 1
push edx
push esi
call fcn.10002060
lea ecx, [ebp - 0x30]
call fcn.100825d0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10085055
push 0x1388
push eax
call fcn.101157ed
add esp, 8
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10085067
push 1
push eax
call fcn.101157ed
add esp, 8
mov bl, 1
jmp 0x10084fee
Function at 0x10093fa0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, ecx
mov esi, edx
push edi
mov dword [ebp - 4], ebx
push 0x1388
mov dword [ebp - 4], ebx
call fcn.101157fb
mov edx, dword [esi]
mov edi, eax
add esp, 4
mov dword [ebp - 4], edi
mov ecx, 1
mov dword [edi + 0x1384], 0xffffffff
lea esi, [edi + 8]
mov dword [edi + 4], edx
nop word [eax + eax]
mov eax, edx
lea esi, [esi + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
inc ecx
mov dword [esi - 4], edx
cmp ecx, 0x270
jb 0x10093fe0
mov dword [edi], 0x270
mov eax, ebx
mov dword [ebx], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100940c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10148b53
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1019a128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x70
call fcn.101157fb
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
lea edi, [esi + 8]
mov dword [esi], vtable.std::_Func_impl_no_alloc_class__lambda_f4c11dcd6d2ebc9b5cfe79cdf7b78e6a___void___.0
lea ecx, [edi + 4]
mov eax, dword [ebx + 8]
mov dword [edi], eax
lea eax, [ebx + 0xc]
push eax
mov dword [ebp - 0x14], edi
call fcn.10002780
mov byte [ebp - 4], 1
add edi, 0x20
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
mov dword [ebp - 0x18], edi
mov dword [edi], eax
mov dword [edi + 4], ecx
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x34]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
lea ecx, [edi + 0x14]
mov eax, dword [ebx + 0x38]
mov dword [edi + 0x10], eax
lea eax, [ebx + 0x3c]
push eax
call fcn.10002780
lea eax, [ebx + 0x54]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 0x2c]
call fcn.10002780
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10094370
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov eax, dword [edi]
cmp eax, 0x270
jne 0x100943ce
lea edx, [edi + 8]
mov esi, eax
nop dword [eax]
mov ecx, dword [edx - 4]
lea edx, [edx + 4]
xor ecx, dword [edx - 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x10094390
mov eax, dword [edi]
jmp 0x100944b9
cmp eax, 0x4e0
jb 0x100944b9
mov eax, dword [edi + 0x9c4]
push ebx
lea ebx, [edi + 0x9c4]
mov edi, 0xe3
nop dword [eax + eax]
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x100943f0
mov ebx, dword [ebp - 4]
mov edi, 0x18c
add ebx, 0xd50
mov eax, dword [ebx]
nop dword [eax]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x10094440
mov edi, dword [ebp - 4]
pop ebx
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10094500
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x1019a128]
xor eax, esp
mov dword [esp + 0x2c], eax
push esi
push edi
lea eax, [esp + 0x20]
xorps xmm0, xmm0
push eax
push dword [ecx]
movlpd qword [esp + 0x34], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x10094546
call dword [sym.imp.KERNEL32.dll_GetLastError]
xorps xmm0, xmm0
mov edx, 0x1019abc0
movlpd qword [esp + 0x20], xmm0
jmp 0x1009454f
mov eax, dword [esp + 0x2c]
mov edx, 0x1019ab88
mov ecx, dword [edx + 4]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
cmp ecx, dword [0x1019ab8c]
jne 0x1009457b
test eax, eax
jne 0x1009457b
mov ecx, dword [esp + 0x34]
mov eax, edi
pop edi
mov edx, esi
pop esi
xor ecx, esp
call fcn.101157bc
mov esp, ebp
pop ebp
ret
push edx
push eax
mov edx, str.GetFileSizeEx_failed
lea ecx, [esp + 0x14]
call fcn.1002dfd0
add esp, 8
lea eax, [esp + 0xc]
push 0x10197920
push eax
call fcn.101179f2
int3
Function at 0x10098270
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101491c5
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1019a128]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movq qword [ebp - 0x2c], xmm0
lea ecx, [ebp - 0x2c]
push 0x7fff
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.10002350
push 0xfffe
push 0
push eax
lea esi, [eax + 0xfffe]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], esi
call fcn.10117ff0
add esp, 0xc
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
sub esi, eax
push eax
sar esi, 1
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x1009830e
xor bl, bl
jmp 0x10098413
mov edx, dword [ebp - 0x2c]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10098316
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.10002060
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x38], 0x7a0061
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.10098820
test al, al
jne 0x1009836a
lea ecx, [ebp - 0x38]
call fcn.100987a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
mov eax, 0x5f
mov dword [ebp - 0x20], 0x640062
mov word [ebp - 0x1c], ax
call fcn.10098690
lea ecx, [ebp - 0x38]
mov word [ebp - 0x1a], ax
call fcn.10098690
lea ecx, [ebp - 0x38]
mov word [ebp - 0x18], ax
call fcn.10098690
mov word [ebp - 0x16], ax
xor eax, eax
cmp dword [edi + 0x14], 8
mov word [ebp - 0x14], ax
mov eax, edi
jb 0x100983b2
mov eax, dword [edi]
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x20]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x100983ca
xor bl, bl
jmp 0x100983ec
mov ecx, dword [ebp - 0x2c]
mov edx, ecx
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100983d2
sub edx, esi
sar edx, 1
push edx
push ecx
mov ecx, edi
call fcn.10002060
mov bl, 1
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x10098401
push 0x1388
push eax
call fcn.101157ed
add esp, 8
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x10098413
push 1
push eax
call fcn.101157ed
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.100825d0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101157bc
mov esp, ebp
pop ebp
ret

Function at 0x10099d50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x10099d81
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x10099d70
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x100a1d40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014a070
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x1019a128]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x14], esi
call fcn.100deed0
mov dword [ebp - 0x14], 6
lea edi, [eax + 0x60]
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.100e1770
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0xd], 0
jne 0x100a1da2
cmp dword [eax + 0x10], 6
jle 0x100a1da4
mov eax, dword [edi]
cmp eax, dword [edi]
je 0x100a1e24
add eax, 0x14
cmp dword [eax + 0x14], 8
jb 0x100a1db3
mov eax, dword [eax]
test eax, eax
jne 0x100a1e29
push str.tls1_2_lack_status_storage::write
lea edx, [eax + 4]
lea ecx, [ebp - 0xd4]
call fcn.1000aed0
add esp, 4
mov dword [ebp - 4], 0
cmp byte [eax + 0x48], 0
je 0x100a1de6
mov edx, str.failed_get_RegPathProduct
mov ecx, eax
call fcn.100205a0
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 0xffffffff
call fcn.1000ad70
push 0x2e
push str.failed_get_ProductInfo::Values::RegPathProduct
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
call fcn.10002c70
mov dword [esi], 0x1f
jmp 0x100a1e87
mov eax, 0x10168c44
push 4
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push ecx
push 4
push str.tls1_2_lack_status
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov edi, eax
test edi, edi
jne 0x100a1e61
xorps xmm0, xmm0
movups xmmword [esi], xmm0
movups xmmword [esi + 0x10], xmm0
mov dword [esi + 0x20], eax
mov byte [esi + 0x20], al
jmp 0x100a1eb9
push 0x1d
push str.failed_winapi::reg::set_value
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
call fcn.10002c70
mov dword [esi], edi
movups xmm0, xmmword [ebp - 0x2c]
mov dword [esi + 4], 0x1019abc0
mov dword [esi + 8], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
movups xmmword [esi + 8], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [esi + 0x18], xmm0
mov byte [esi + 0x20], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101157bc
mov esp, ebp
pop ebp
ret
Function at 0x100a1ee0
Capabilities:
Delete registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014a0b0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc8
push esi
push edi
mov eax, dword [0x1019a128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x14], esi
call fcn.100deed0
mov dword [ebp - 0x14], 6
lea edi, [eax + 0x60]
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100e1770
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0xd], 0
jne 0x100a1f53
cmp dword [eax + 0x10], 6
jle 0x100a1f55
mov eax, dword [edi]
cmp eax, dword [edi]
je 0x100a1fd5
add eax, 0x14
cmp dword [eax + 0x14], 8
jb 0x100a1f64
mov eax, dword [eax]
test eax, eax
jne 0x100a1fda
push str.tls1_2_lack_status_storage::remove
lea edx, [eax + 4]
lea ecx, [ebp - 0xd8]
call fcn.1000aed0
add esp, 4
mov dword [ebp - 4], 0
cmp byte [eax + 0x48], 0
je 0x100a1f97
mov edx, str.failed_get_RegPathProduct
mov ecx, eax
call fcn.100205a0
lea ecx, [ebp - 0xd8]
mov dword [ebp - 4], 0xffffffff
call fcn.1000ad70
push 0x2e
push str.failed_get_ProductInfo::Values::RegPathProduct
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
call fcn.10002c70
mov dword [esi], 0x1f
jmp 0x100a2029
mov eax, 0x10168c44
push str.tls1_2_lack_status
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyValueW]
mov edi, eax
test edi, edi
jne 0x100a2003
xorps xmm0, xmm0
movups xmmword [esi], xmm0
movups xmmword [esi + 0x10], xmm0
mov dword [esi + 0x20], eax
mov byte [esi + 0x20], al
jmp 0x100a205b
push 0x20
push str.failed_winapi::reg::delete_value
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
call fcn.10002c70
mov dword [esi], edi
movups xmm0, xmmword [ebp - 0x30]
mov dword [esi + 4], 0x1019abc0
mov dword [esi + 8], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
movups xmmword [esi + 8], xmm0
movq xmm0, qword [ebp - 0x20]
movq qword [esi + 0x18], xmm0
mov byte [esi + 0x20], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x100a5f50
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
test esi, esi
js 0x100a6054
mov eax, dword fs:[0x2c]
mov edx, dword [0x1019e528]
mov edx, dword [eax + edx*4]
mov eax, dword [0x1019f12c]
cmp eax, dword [edx + 4]
jle 0x100a5fa0
push 0x1019f12c
call fcn.10115da4
add esp, 4
cmp dword [0x1019f12c], 0xffffffff
jne 0x100a5fa0
push 0x1019f12c
mov dword [0x1019f130], esi
call fcn.10115d5a
add esp, 4
mov ecx, dword [0x1019ee28]
mov edx, str.crash
mov eax, ecx
nop dword [eax]
mov si, word [eax]
cmp si, word [edx]
jne 0x100a5fd6
test si, si
je 0x100a5fd2
mov si, word [eax + 2]
cmp si, word [edx + 2]
jne 0x100a5fd6
add eax, 4
add edx, 4
test si, si
jne 0x100a5fb0
xor eax, eax
jmp 0x100a5fdb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100a5fe6
mov ecx, 0x100a5df0
jmp 0x100a602a
mov eax, str.abort
nop dword [eax + eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x100a6016
test dx, dx
je 0x100a6012
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x100a6016
add ecx, 4
add eax, 4
test dx, dx
jne 0x100a5ff0
xor eax, eax
jmp 0x100a601b
sbb eax, eax
or eax, 1
test eax, eax
mov ecx, 0x100a5e40
mov edx, 0x100a5e20
cmove ecx, edx
xor eax, eax
cmp eax, dword [0x1019f130]
push 0
push 0
sbb eax, eax
and eax, 0x1019f130
push eax
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x100a6054
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret

Function at 0x100a6870
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [edx]
xorps xmm0, xmm0
mov edx, dword [edx + 4]
push eax
sub edx, eax
movlpd qword [esp + 0x1c], xmm0
push edx
push 0
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x100a68a3
mov eax, dword [esp + 0x18]
mov edx, 0x1019ab88
jmp 0x100a68ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x1019abc0
mov ecx, dword [edx + 4]
cmp ecx, dword [0x1019ab8c]
jne 0x100a68c1
test eax, eax
jne 0x100a68c1
mov esp, ebp
pop ebp
ret
push edx
push eax
mov edx, str.GetFileVersionInfo_failed
lea ecx, [esp + 0xc]
call fcn.1002dfd0
add esp, 8
lea eax, [esp + 4]
push 0x10197920
push eax
call fcn.101179f2
int3