joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d0c0
Capabilities:
Reference processor manufacturer constants

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [0x49c3bc]
mov esi, ecx
xor ecx, ecx
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
cpuid
mov edi, eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 0x38], 0
lea ecx, [esi + 0x28]
push eax
call fcn.0041a37e
test edi, edi
jle 0x44d210
mov eax, 1
xor ecx, ecx
cpuid
cmp edi, 7
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x48], edx
jl 0x44d12e
mov eax, 7
xor ecx, ecx
cpuid
shr bl, 5
and bl, 1
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x54]
mov eax, ebx
mov ecx, ebx
mov dword [esi], ebx
and eax, 0xf
shr ecx, 0xc
mov dword [esi + 0x10], eax
mov eax, ebx
mov edx, ecx
and ecx, 3
shr eax, 4
and edx, 0xf0
and eax, 0xf
or edx, eax
mov eax, ebx
shr eax, 8
mov dword [esi + 0xc], edx
and eax, 0xf
mov dword [esi + 8], eax
mov eax, ebx
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x48]
shr ebx, 0x14
shr eax, 0x10
and eax, 0xf
mov dword [esi + 0x14], eax
movzx eax, bl
mov dword [esi + 0x18], eax
mov eax, ecx
shr eax, 0x17
and al, 1
mov byte [esi + 0x1c], al
mov eax, ecx
shr ecx, 0x1a
shr eax, 0x19
and cl, 1
and al, 1
mov byte [esi + 0x1d], al
mov byte [esi + 0x1e], cl
mov ecx, dword [ebp - 0x50]
mov eax, ecx
and al, 1
mov byte [esi + 0x1f], al
mov eax, ecx
shr eax, 9
and al, 1
mov byte [esi + 0x20], al
mov eax, ecx
shr eax, 0x13
and al, 1
mov byte [esi + 0x21], al
mov eax, ecx
shr eax, 0x14
and al, 1
mov byte [esi + 0x22], al
mov eax, ecx
shr eax, 0x17
and al, 1
test ecx, ecx
mov byte [esi + 0x23], al
mov eax, ecx
setns byte [ebp - 0x48]
xor edi, edi
and eax, 0x1c000000
cmp eax, 0x1c000000
mov eax, 0
jne 0x44d1f3
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov ecx, dword [ebp - 0x50]
mov byte [esi + 0x24], al
shr ecx, 0x19
and cl, 1
test al, al
movzx eax, byte [ebp - 0x4c]
mov byte [esi + 0x26], cl
cmove eax, edi
mov byte [esi + 0x25], al
jmp 0x44d214
mov byte [ebp - 0x48], 1
mov eax, 0x80000000
xor ecx, ecx
cpuid
cmp eax, 0x80000004
jl 0x44d28c
mov edi, eax
mov eax, 0x80000002
xor ecx, ecx
cpuid
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], edx
mov eax, 0x80000003
xor ecx, ecx
cpuid
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edx
mov eax, 0x80000004
xor ecx, ecx
cpuid
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
mov byte [ebp - 0x14], 0
lea ecx, [esi + 0x34]
push eax
call fcn.0041a37e
cmp edi, 0x80000007
jl 0x44d28c
mov eax, 0x80000007
xor ecx, ecx
cpuid
and dh, 1
mov byte [esi + 0x27], dh
cmp byte [esi + 0x27], 0
setne al
or byte [ebp - 0x48], al
jne 0x44d2bd
mov eax, 0x40000000
xor ecx, ecx
cpuid
cmp edx, 0x76482074
jne 0x44d2bd
cmp ebx, 0x7263694d
jne 0x44d2bd
cmp ecx, 0x666f736f
jne 0x44d2bd
mov byte [esi + 0x27], 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00459221
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x44f640
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x160
mov eax, dword [0x49c3bc]
xor eax, ebp
mov dword [esp + 0x158], eax
mov ecx, dword [0x49f0e0]
mov edx, dword fs:[0x2c]
mov eax, dword [0x4a154c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x44f695
mov ecx, dword [esp + 0x158]
xor ecx, ebp
call fcn.00459221
mov eax, 0x4a1548
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x4a154c
call fcn.00459267
add esp, 4
cmp dword [0x4a154c], 0xffffffff
jne 0x44f67a
lea eax, [esp + 0x40]
push 0x118
push 0
push eax
call fcn.0045d5a0
add esp, 0xc
lea edi, [esp + 0x3c]
mov dword [esp + 0x3c], 0x11c
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], 0
cmp eax, 0xa
je 0x44f6ea
xor ebx, ebx
cmp eax, 6
jne 0x44f718
push 0x484156
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetProductInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push dword [esp + 0x50]
push dword [esp + 0x50]
call eax
mov ebx, dword [esp + 0xc]
push 0x50
call fcn.00459168
add esp, 4
mov ecx, dword [0x49f0e0]
mov edx, dword fs:[0x2c]
mov esi, eax
mov eax, dword [0x4a1574]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x44f767
mov ecx, esi
push ebx
push 0x4a1550
push edi
call fcn.0044f900
mov dword [0x4a1548], esi
push 0x4a154c
call fcn.004592dd
add esp, 4
jmp 0x44f67a
push 0x4a1574
call fcn.00459267
add esp, 4
cmp dword [0x4a1574], 0xffffffff
jne 0x44f741
xorps xmm0, xmm0
lea eax, [esp + 0x10]
mov dword [esp + 0x30], 0
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x10], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movsd xmm1, qword [esp + 0x20]
mov eax, dword [esp + 0x30]
movsd xmm0, qword [esp + 0x28]
movsd xmm2, qword [esp + 0x10]
movsd qword [0x4a1560], xmm1
movsd xmm1, qword [esp + 0x18]
mov dword [0x4a1570], eax
movsd qword [0x4a1568], xmm0
movsd qword [0x4a1550], xmm2
movsd qword [0x4a1558], xmm1
push 0x4a1574
call fcn.004592dd
add esp, 4
jmp 0x44f741
Function at 0x44f800
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [0x49c3bc]
xor eax, ebp
mov dword [esp + 0x30], eax
mov ecx, dword [0x49f0e0]
mov edx, dword fs:[0x2c]
mov eax, dword [0x4a1574]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x44f874
movzx eax, word [0x4a1550]
cmp eax, 0xc
ja case.0x44f840.1
xor esi, esi
jmp dword [eax*4 + 0x4890ec]
mov esi, 2
jmp case.0x44f840.0
mov esi, 4
jmp case.0x44f840.0
mov esi, 1
jmp case.0x44f840.0
mov esi, 3
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.00459221
mov eax, esi
lea esp, [ebp - 4]
pop esi
pop ebp
ret
push 0x4a1574
call fcn.00459267
add esp, 4
cmp dword [0x4a1574], 0xffffffff
jne 0x44f832
xorps xmm0, xmm0
mov eax, esp
mov dword [esp + 0x20], 0
movaps xmmword [esp + 0x10], xmm0
movaps xmmword [esp], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movsd xmm1, qword [esp + 0x10]
mov eax, dword [esp + 0x20]
movsd xmm0, qword [esp + 0x18]
movsd xmm2, qword [esp]
movsd qword [0x4a1560], xmm1
movsd xmm1, qword [esp + 8]
mov dword [0x4a1570], eax
movsd qword [0x4a1568], xmm0
movsd qword [0x4a1550], xmm2
movsd qword [0x4a1558], xmm1
push 0x4a1574
call fcn.004592dd
add esp, 4
jmp 0x44f832

Function at 0x4503fc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0xa8
mov esi, dword [0x49c3bc]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edi, 0x7fffffff
xor esi, ebp
cmp edx, edi
mov dword [ebp - 0xc], esi
lea esi, [ebp - 0x10]
cmovb edi, edx
push 0
push esi
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x450480
xor eax, eax
dec eax
cmp dword [ebp - 0x10], eax
mov dword [ebp - 0xb0], eax
jne 0x45047b
lea eax, [ebp - 0xb0]
push str.bytes_written___static_cast_DWORD___1_
push eax
push esi
call fcn.0041cd30
add esp, 0xc
test eax, eax
je 0x45047b
lea esi, [ebp - 0xb0]
mov ecx, esi
push eax
push 0x64
push str..._.._third_party_crashpad_crashpad_util_file_file_io_win.cc
call fcn.0042ce40
mov ecx, esi
call fcn.0042c1f0
mov esi, dword [ebp - 0x10]
jmp 0x450483
xor esi, esi
dec esi
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00459221
mov eax, esi
add esp, 0xa8
pop esi
pop edi
pop ebp
ret
Function at 0x450499
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xa8
mov ecx, dword [0x49c3bc]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, 0x7fffffff
xor ecx, ebp
cmp eax, edi
cmovb edi, eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], ecx
push 0
jmp 0x450521
mov ebx, dword [ebp - 0x14]
xor eax, eax
dec eax
mov dword [ebp - 0xb4], eax
cmp ebx, eax
jne 0x45050c
push str.bytes_read___static_cast_DWORD___1_
lea ebx, [ebp - 0xb4]
push ebx
lea eax, [ebp - 0x14]
push eax
call fcn.0041cd30
add esp, 0xc
test eax, eax
je 0x450509
mov ecx, ebx
push eax
push 0x7d
push str..._.._third_party_crashpad_crashpad_util_file_file_io_win.cc
call fcn.0042ce40
mov ecx, ebx
call fcn.0042c1f0
mov ebx, dword [ebp - 0x14]
test ebx, ebx
jne 0x450546
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
jne 0x450543
push 0
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4504c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x6d
setne bl
neg ebx
jmp 0x450546
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00459221
mov eax, ebx
add esp, 0xa8
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x450af4
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0xa8
mov eax, dword [0x49c3bc]
mov esi, dword [ebp + 8]
xor ebx, ebx
xor eax, ebp
mov dword [ebp - 0xc], eax
push ebx
push ebx
push ebx
push esi
call fcn.00450a09
add esp, 0x10
or edx, eax
jne 0x450b77
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov bl, 1
test eax, eax
jne 0x450b77
push 2
call fcn.0042c980
add esp, 4
test al, al
je 0x450b75
call sub.KERNEL32.dll_GetLastError
lea esi, [ebp - 0xb0]
mov ecx, esi
push eax
push 2
push 0xf3
push str..._.._third_party_crashpad_crashpad_util_file_file_io_win.cc
call fcn.0042d100
lea eax, [ebp - 0xa8]
push 0xc
push 0x48945c
push eax
call fcn.0041c9c0
add esp, 0xc
mov ecx, esi
call fcn.0042d1c0
xor ebx, ebx
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00459221
mov eax, ebx
add esp, 0xa8
pop esi
pop ebx
pop ebp
ret

Function at 0x451500
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ecx, dword [0x49f0e0]
mov edx, dword fs:[0x2c]
mov eax, dword [0x4a1640]
mov ebp, esp
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x45152b
mov ecx, 0x4a1638
pop ebp
jmp fcn.004422f0
push 0x4a1640
call fcn.00459267
add esp, 4
cmp dword [0x4a1640], 0xffffffff
jne 0x451520
mov dword [0x4a163c], 0
mov dword [0x4a1638], 0
mov ecx, 0x4a1638
push 0
call fcn.00442360
push 0x4a1640
call fcn.004592dd
add esp, 4
jmp 0x451520
Function at 0x4558f0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, dword [ebp + 0xc]
movzx ebx, byte [esi + 0xb]
mov edx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ebp - 0x10], edx
test bl, bl
lea edi, [esi + ebx]
lea edx, [eax + edx]
mov dword [ebp - 0x20], ebx
cmovs edi, edx
cmovs esi, eax
sub edi, esi
cmp edi, 4
jb 0x45598a
mov dword [ebp - 0x18], ecx
mov edx, esi
mov eax, edi
lea ecx, [edi - 4]
mov dword [ebp - 0x1c], esi
nop dword [eax]
imul esi, dword [edx], 0x5bd1e995
imul eax, eax, 0x5bd1e995
add edi, 0xfffffffc
add edx, 4
mov ebx, esi
shr ebx, 0x18
xor ebx, esi
imul esi, ebx, 0x5bd1e995
xor eax, esi
cmp edi, 3
ja 0x455930
mov esi, dword [ebp - 0x1c]
mov edi, ecx
and ecx, 0xfffffffc
sub edi, ecx
lea edx, [esi + ecx + 4]
mov ecx, dword [ebp - 0x18]
cmp edi, 1
je 0x455993
cmp edi, 2
je 0x45597f
cmp edi, 3
jne 0x45599e
movzx edi, byte [edx + 2]
shl edi, 0x10
xor eax, edi
movzx edi, byte [edx + 1]
shl edi, 8
xor eax, edi
jmp 0x455993
mov eax, edi
mov edx, esi
cmp edi, 1
jne 0x45596c
movzx edx, byte [edx]
xor edx, eax
imul eax, edx, 0x5bd1e995
mov ebx, dword [ecx + 4]
mov edi, ebx
sub edi, 1
jb 0x455ab5
mov edx, eax
mov dword [ebp - 0x1c], edi
shr edx, 0xd
xor edx, eax
imul edx, edx, 0x5bd1e995
mov eax, edx
shr eax, 0xf
xor eax, edx
test edi, ebx
je 0x4559d7
cmp eax, ebx
mov edx, eax
mov edi, eax
jb 0x4559dd
mov eax, edi
xor edx, edx
div ebx
jmp 0x4559dd
mov edx, eax
and edx, edi
mov edi, eax
mov eax, dword [ecx]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x455ab5
mov dword [ebp - 0x18], ebx
mov ebx, dword [eax]
mov ecx, 0
test ebx, ebx
je 0x455ab7
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
test cl, cl
cmovns eax, ecx
mov dword [ebp - 0x10], eax
nop dword [eax]
mov eax, dword [ebx + 4]
cmp edi, eax
jne 0x455a70
movzx eax, byte [ebx + 0x13]
test al, al
mov ecx, eax
jns 0x455a24
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x10]
jne 0x455a8f
lea ecx, [ebx + 8]
test al, al
mov edx, dword [ecx]
cmovs ecx, edx
js 0x455a9b
cmp dword [ebp - 0x10], 0
je 0x455ab1
cmp byte [esi], dl
jne 0x455a8f
dec eax
xor ecx, ecx
nop word cs:[eax + eax]
nop dword [eax]
cmp eax, ecx
je 0x455ab1
movzx edx, byte [ebx + ecx + 9]
cmp dl, byte [esi + ecx + 1]
lea ecx, [ecx + 1]
je 0x455a50
jmp 0x455a8f
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
test edx, ecx
je 0x455a86
cmp eax, ecx
jb 0x455a88
xor edx, edx
div ecx
mov eax, edx
jmp 0x455a88
and eax, edx
mov ecx, dword [ebp - 0x14]
cmp eax, ecx
jne 0x455ab5
mov ebx, dword [ebx]
test ebx, ebx
jne 0x455a10
jmp 0x455ab5
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x455ab1
push eax
push esi
push ecx
call fcn.0045baed
add esp, 0xc
test eax, eax
jne 0x455a8f
mov ecx, ebx
jmp 0x455ab7
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x455bb0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
test eax, eax
js 0x455bbd
jmp 0x458390
xor eax, eax
ret
push ebp
push ebx
push edi
push esi
push eax
mov edx, dword [esp + 0x18]
xor ecx, ecx
test edx, edx
je 0x45846f
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x45846f
mov edi, eax
mov esi, eax
and edi, 3
shr esi, 2
je 0x4583f5
mov ecx, eax
mov ebx, edx
and ecx, 0xfffffffc
mov dword [esp], ecx
nop word cs:[eax + eax]
nop
movzx ebp, word [ebx]
add ebp, eax
movzx eax, word [ebx + 2]
add ebx, 4
mov ecx, ebp
shl ecx, 0x10
xor ecx, ebp
shl eax, 0xb
xor ecx, eax
mov eax, ecx
shr eax, 0xb
add eax, ecx
dec esi
jg 0x4583d0
add edx, dword [esp]
cmp edi, 1
je 0x45841e
cmp edi, 2
je 0x458430
cmp edi, 3
jne 0x458443
movzx ecx, word [edx]
add eax, ecx
movsx ecx, byte [edx + 2]
shl ecx, 0x12
xor ecx, eax
shl eax, 0x10
xor ecx, eax
mov eax, ecx
shr eax, 0xb
jmp 0x458441
movsx ecx, byte [edx]
add eax, ecx
mov ecx, eax
shl ecx, 0xa
xor ecx, eax
mov eax, ecx
shr eax, 1
jmp 0x458441
movzx ecx, word [edx]
add eax, ecx
mov ecx, eax
shl ecx, 0xb
xor ecx, eax
mov eax, ecx
shr eax, 0x11
add eax, ecx
lea ecx, [eax*8]
xor ecx, eax
mov eax, ecx
shr eax, 5
add eax, ecx
mov ecx, eax
shl ecx, 4
xor ecx, eax
mov eax, ecx
shr eax, 0x11
add eax, ecx
mov edx, eax
shl edx, 0x19
xor edx, eax
mov ecx, edx
shr ecx, 6
add ecx, edx
mov eax, ecx
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x455f20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x10
mov edx, dword [0x49c3bc]
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x18]
lea edi, [ebp - 0x10]
xor edx, ebp
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x18], 0
push edx
push esi
push edi
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x455f88
mov eax, dword [ebp - 0x10]
mov esi, 0x3f4
add eax, 0xfffffffd
cmp eax, 1
ja 0x455f88
cmp dword [ebp - 0x14], 4
jne 0x455f88
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
xor esi, esi
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00459221
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebp
ret 8
Function at 0x455fa0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x100c
call fcn.004595b0
mov edx, dword [0x49c3bc]
mov eax, dword [ebp + 8]
lea ebx, [ebp - 0x810]
lea esi, [ebp - 0x1014]
xor edx, ebp
mov dword [ebp - 0x10], edx
lea edx, [ebp - 0x1018]
mov dword [ebp - 0x1014], 1
mov dword [ebp - 0x1018], 0x800
push edx
push ebx
push esi
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x45604b
mov eax, dword [ebp - 0x1014]
mov edi, dword [ebp + 0xc]
cmp eax, 2
je 0x456015
mov esi, 0x3f4
cmp eax, 1
jne 0x45604b
mov ecx, edi
push ebx
jmp 0x456044
lea eax, [ebp - 0x1010]
push 0x400
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1018], eax
dec eax
mov esi, 0xea
cmp eax, 0x3ff
ja 0x45604b
mov ecx, edi
lea eax, [ebp - 0x1010]
push eax
call fcn.0041ad2e
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00459221
mov eax, esi
add esp, 0x100c
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x456850
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ecx, dword [0x49f0e0]
mov edx, dword fs:[0x2c]
mov eax, dword [0x4a16c0]
mov ebp, esp
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x45687b
mov ecx, 0x4a16b8
pop ebp
jmp fcn.004422f0
push 0x4a16c0
call fcn.00459267
add esp, 4
cmp dword [0x4a16c0], 0xffffffff
jne 0x456870
mov dword [0x4a16bc], 0
mov dword [0x4a16b8], 0
mov ecx, 0x4a16b8
push 0
call fcn.00442360
push 0x4a16c0
call fcn.004592dd
add esp, 4
jmp 0x456870

Function at 0x457080
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x49c3bc]
xor eax, ebp
mov dword [esp + 0x18], eax
mov edi, dword [ecx + 0x38]
test edi, edi
jne 0x457123
mov esi, ecx
mov dword [esp + 0x10], 0
mov byte [esp + 0x13], 9
mov dword [esp + 0xc], 0x65647261
mov dword [esp + 8], 0x63736964
mov word [esp + 0x10], 0x64
push 0x40
call fcn.00459168
add esp, 4
mov ebx, eax
lea eax, [esp + 8]
mov edi, esp
mov ecx, esi
push eax
push edi
call fcn.00456ff0
mov ecx, ebx
push edi
push dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
call fcn.004571e0
mov edi, dword [esi + 0x38]
mov dword [esi + 0x38], ebx
test edi, edi
je 0x45710d
mov ecx, edi
call fcn.00457230
push edi
call fcn.004591e8
add esp, 4
cmp byte [esp + 0x13], 0
jns 0x457120
push dword [esp + 8]
call fcn.004591e8
add esp, 4
mov edi, dword [esi + 0x38]
mov ecx, dword [esp + 0x18]
xor ecx, ebp
call fcn.00459221
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x45873c
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb4
mov esi, dword [ebp + 8]
mov eax, dword [0x49c3bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, esi
cmp byte [esi + 0xb], 0
jns 0x45875f
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x458792
and eax, 0x410
cmp eax, 0x410
jne 0x458792
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00459221
mov ecx, esi
add esp, 0xb4
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.0045886d
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x45879c
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov bl, 1
test eax, eax
jne 0x458856
push 2
call fcn.0042c980
add esp, 4
test al, al
je 0x458854
call sub.KERNEL32.dll_GetLastError
lea ecx, [ebp - 0xb4]
push eax
push 2
push 0x94
push str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
call fcn.0042d100
lea eax, [ebp - 0xac]
push 0xb
push str.DeleteFile
push eax
call fcn.0041c9c0
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x458801
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea ebx, [ebp - 0xc0]
push eax
push esi
push ebx
call fcn.00426480
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x458826
mov eax, dword [ebp - 0xbc]
mov ebx, dword [ebp - 0xc0]
push eax
push ebx
push edi
call fcn.0041c9c0
add esp, 0xc
xor eax, eax
cmp byte [ebp - 0xb5], al
jns 0x458849
push dword [ebp - 0xc0]
call fcn.004591e8
add esp, 4
lea ecx, [ebp - 0xb4]
call fcn.0042d1c0
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00459221
mov eax, ebx
add esp, 0xb4
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x45886d
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb4
mov eax, dword [0x49c3bc]
mov esi, ecx
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, ecx
cmp byte [ecx + 0xb], 0
jns 0x45888f
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov bl, 1
test eax, eax
jne 0x458946
push 2
call fcn.0042c980
add esp, 4
test al, al
je 0x458944
call sub.KERNEL32.dll_GetLastError
lea ecx, [ebp - 0xb4]
push eax
push 2
push 0x2f
push str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
call fcn.0042d100
lea eax, [ebp - 0xac]
push 0x10
push str.RemoveDirectory
push eax
call fcn.0041c9c0
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x4588f1
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea ebx, [ebp - 0xc0]
push eax
push esi
push ebx
call fcn.00426480
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x458916
mov eax, dword [ebp - 0xbc]
mov ebx, dword [ebp - 0xc0]
push eax
push ebx
push edi
call fcn.0041c9c0
add esp, 0xc
xor eax, eax
cmp byte [ebp - 0xb5], al
jns 0x458939
push dword [ebp - 0xc0]
call fcn.004591e8
add esp, 4
lea ecx, [ebp - 0xb4]
call fcn.0042d1c0
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00459221
mov eax, ebx
add esp, 0xb4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x47b0ee
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047b0f9
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x431072
mov ebx, 0x40915c
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0x7c3858ad
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x431060
nop
mov eax, section..reloc
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4310d2
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x4b857d2c
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219