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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x101063e4]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [ebp + 8]
mov eax, dword [ebp + 0x48]
push esi
movups xmmword [ebp - 0x48], xmm0
mov esi, dword [ebp + 0x8c]
movups xmm0, xmmword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x90]
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x4c], esi
mov dword [edi + 0x40], esi
movups xmm0, xmmword [ebp + 0x28]
movups xmmword [ebp - 0x28], xmm0
movups xmm0, xmmword [ebp + 0x38]
movups xmmword [ebp - 0x18], xmm0
movups xmm0, xmmword [ebp + 0x4c]
movups xmmword [ebp - 0x8c], xmm0
movups xmm0, xmmword [ebp + 0x5c]
movups xmmword [ebp - 0x7c], xmm0
movups xmm0, xmmword [ebp + 0x6c]
movups xmmword [ebp - 0x6c], xmm0
movups xmm0, xmmword [ebp + 0x7c]
movups xmmword [ebp - 0x5c], xmm0
test esi, esi
jle 0x10005ba4
cmp esi, 0x40
jb 0x10005b8d
lea edx, [esi - 1]
lea ecx, [ebp + esi - 0x49]
add edx, edi
cmp edi, ecx
ja 0x10005ac7
lea ecx, [ebp - 0x48]
cmp edx, ecx
jae 0x10005b8d
lea ecx, [ebp + esi - 0x8d]
cmp edi, ecx
ja 0x10005ae0
lea ecx, [ebp - 0x8c]
cmp edx, ecx
jae 0x10005b8d
mov ecx, esi
push ebx
and ecx, 0x8000003f
jns 0x10005af0
dec ecx
or ecx, 0xffffffc0
inc ecx
mov ebx, esi
lea edx, [edi + 0x20]
sub ebx, ecx
mov dword [ebp - 0x98], edx
mov esi, edi
lea ecx, [ebp - 0x38]
sub esi, ecx
sub ecx, edi
mov dword [ebp - 0x90], ecx
lea ecx, [ebp - 0x7c]
sub ecx, edi
mov edi, dword [ebp - 0x90]
mov dword [ebp - 0x94], ecx
nop dword [eax]
movups xmm0, xmmword [ebp + eax - 0x48]
lea ecx, [ebp - 0x38]
add edx, eax
movups xmm1, xmmword [ebp + eax - 0x8c]
add ecx, eax
pxor xmm1, xmm0
movups xmm0, xmmword [ecx]
movups xmmword [esi + ecx], xmm1
mov ecx, dword [ebp - 0x94]
movups xmm1, xmmword [ebp + eax - 0x7c]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0x6c]
movups xmmword [edx - 0x10], xmm1
movups xmm1, xmmword [ebp + eax - 0x28]
add eax, 0x40
pxor xmm1, xmm0
movups xmm0, xmmword [edi + edx]
movups xmmword [edx], xmm1
movups xmm1, xmmword [ecx + edx]
pxor xmm1, xmm0
movups xmmword [edx + 0x10], xmm1
mov edx, dword [ebp - 0x98]
cmp eax, ebx
jl 0x10005b20
mov esi, dword [ebp - 0x9c]
mov edi, dword [ebp - 0xa0]
pop ebx
cmp eax, esi
jge 0x10005ba4
mov cl, byte [ebp + eax - 0x8c]
xor cl, byte [ebp + eax - 0x48]
mov byte [edi + eax], cl
inc eax
cmp eax, esi
jl 0x10005b91
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10075b61
mov esp, ebp
pop ebp
ret
Function at 0x1000ae60
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x1000b2d0
push 0
push 0
call fcn.100a0087
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret
Function at 0x10015c70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c6970
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x101063e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.10075b85
mov edi, eax
add esp, 4
test edi, edi
je 0x10015d1b
push 1
mov dword [ebp - 4], 0
call fcn.10052f73
mov dword [edi + 4], eax
add esp, 4
mov dword [esi + 0x30], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001d490
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c75b2
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x101063e4]
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, dword [ebp + 8]
mov ecx, edi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x424], edi
mov dword [ebp - 0x41c], 0
push 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
push 0x100d5dc0
mov dword [ebp - 4], 0
mov byte [edi], 0
call fcn.100056d0
push 0
push 0
push 0
push 1
push 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x41c], 1
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x1001d5e7
cmp dword [esi + 0x14], 8
jb 0x1001d531
mov esi, dword [esi]
push 0
push 0x84000000
push 0
push 0
push esi
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
test esi, esi
je 0x1001d5db
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 0x418], 0
nop
push 0x401
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.1009c500
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
push 0x400
lea eax, [ebp - 0x414]
push eax
push esi
call ebx
test eax, eax
mov eax, dword [ebp - 0x418]
je 0x1001d5d0
test eax, eax
je 0x1001d5d4
cmp eax, 0x401
jae 0x1001d607
mov byte [ebp + eax - 0x414], 0
lea eax, [ebp - 0x414]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001d5b2
sub eax, edx
mov ecx, edi
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.100046e0
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x1001d560
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x420]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
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 - 0x10]
xor ecx, ebp
call fcn.10075b61
mov esp, ebp
pop ebp
ret 8
call fcn.10075d0e
int3
Function at 0x10020be0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x101063e4]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
cmp dword [edi + 4], 0
jne 0x10020d10
push esi
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.1009c500
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jb 0x10020c5b
push 0
call dword [sym.imp.USER32.dll_GetDC]
push edi
push 0x10020a00
mov esi, eax
push 0
push esi
call dword [sym.imp.GDI32.dll_EnumFontFamiliesW]
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x10020c5f
or dword [edi + 0xc], 8
mov eax, dword [edi + 0xc]
test al, 0x20
je 0x10020c78
push 6
push str.Tahoma
lea ecx, [edi + 8]
call fcn.100044d0
mov eax, dword [edi + 0xc]
test al, 0x10
je 0x10020c8e
push 4
push 0x100d7ca8
lea ecx, [edi + 8]
call fcn.100044d0
mov eax, dword [edi + 0xc]
test al, 8
je 0x10020ca4
push 2
push 0x100d7ca0
lea ecx, [edi + 8]
call fcn.100044d0
mov eax, dword [edi + 0xc]
test al, 4
je 0x10020cba
push 0x12
push str.Microsoft_YaHei_UI
lea ecx, [edi + 8]
call fcn.100044d0
mov eax, dword [edi + 0xc]
test al, 2
je 0x10020cd0
push 0xf
push str.Microsoft_YaHei
lea ecx, [edi + 8]
call fcn.100044d0
mov eax, dword [edi + 0xc]
test al, 1
je 0x10020ce3
push 4
push 0x100d7c4c
lea ecx, [edi + 8]
call fcn.100044d0
push dword [edi + 8]
push 0x20
push 0
push 0
push 0
push 0x86
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0xfffffffffffffff4
call dword [sym.imp.GDI32.dll_CreateFontW]
mov dword [edi + 4], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.10075b61
mov esp, ebp
pop ebp
ret
Function at 0x100219e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c7ae6
mov eax, dword fs:[0]
push eax
mov eax, 0x1010
call fcn.10075bc0
mov eax, dword [0x101063e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1010]
push 0x1000
push 0
mov dword [ebp - 0x101c], esi
push eax
mov dword [ebp - 0x1018], 1
call fcn.1009c500
add esp, 0xc
mov dword [ebp - 0x1014], 0x800
lea eax, [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x1018]
push eax
push 0x100d7e30
push str.SoftwareMicrosoftInternet_ExplorerMain
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10021ac9
call fcn.10004380
mov ecx, eax
test ecx, ecx
je 0x10021b1f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x1010]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.10004090
test al, al
jne 0x10021b03
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10021ab0
sub ecx, edx
lea eax, [ebp - 0x1010]
sar ecx, 1
push ecx
push eax
jmp 0x10021afc
call fcn.10004380
mov ecx, eax
test ecx, ecx
je 0x10021b29
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push 0x100d2904
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.10004090
test al, al
jne 0x10021b03
push 0
push 0x100d2904
mov ecx, esi
call fcn.100044d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10075b61
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10003f10
push 0x80004005
call fcn.10003f10
int3
Function at 0x10028e90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c87d0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x101063e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.1000a500
push 1
mov ecx, eax
call fcn.10061510
call fcn.1000a500
push 0
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.1005e530
push str.LogComputerZ12.log
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10006f60
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 1
jb 0x10028f00
mov eax, dword [eax]
push eax
call fcn.100580a0
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x10028f44
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10028f3a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10028fd4
push edx
push ecx
call fcn.100757e2
add esp, 8
cmp dword [0x10109e80], 0
jne 0x10028f85
mov dword [0x10109e80], 1
call fcn.1000a590
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x40]
call fcn.100257d0
push 0
push 0
push eax
push 0x1002a1b0
push 0
push 0
call fcn.100a0087
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10028fbb
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10028fb1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10028fd9
push edx
push ecx
call fcn.100757e2
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10075b61
mov esp, ebp
pop ebp
ret
call fcn.100a0325
call fcn.100a0325
int3
Function at 0x100315a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c56d0
mov eax, dword fs:[0]
push eax
mov eax, dword [0x101063e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ecx + 0x30]
or eax, 0xffffffff
mov dword [ecx], vtable.CLayerControlBase.0
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100315e3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x10031600
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c56b0
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x101063e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x30]
or eax, 0xffffffff
mov dword [esi], vtable.CLayerControlBase.0
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10031646
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test byte [ebp + 8], 1
je 0x10031657
push 0x48
push esi
call fcn.100757e2
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100318b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c9678
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x101063e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
add ebx, 0x30
mov eax, dword [ebx]
mov ecx, dword [eax - 0x10]
lea esi, [eax - 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x10031902
cmp ecx, dword [esi]
jne 0x10031902
lock inc dword [eax]
jmp 0x10031932
mov eax, dword [ecx]
lea edi, [esi + 4]
push 2
push dword [edi]
call dword [eax]
mov esi, eax
test esi, esi
je 0x10031a9b
mov eax, dword [edi]
mov dword [esi + 4], eax
mov eax, dword [edi]
inc eax
add eax, eax
push eax
push dword [ebp - 0x10]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.10004850
add esp, 0x10
add esi, 0x10
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x10031a1c
mov edi, ecx
lea edx, [edi + 2]
nop
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x10031950
sub edi, edx
sar edi, 1
je 0x10031a1c
mov edx, dword [ebx]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x14], eax
mov eax, ecx
sub eax, edx
sar eax, 1
mov dword [ebp - 0x10], eax
test edi, edi
js 0x10031aa0
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, edi
or eax, ecx
jge 0x10031999
push edi
mov ecx, ebx
call fcn.10004430
mov edx, dword [ebx]
mov eax, dword [ebp - 0x10]
lea ecx, [edi + edi]
cmp eax, dword [ebp - 0x14]
ja 0x100319ee
lea eax, [edx + eax*2]
mov dword [ebp + 0xc], eax
test ecx, ecx
je 0x10031a04
test eax, eax
jne 0x100319c4
call fcn.100a06cc
mov dword [eax], 0x16
call fcn.100a0315
jmp 0x10031a01
mov eax, dword [edx - 8]
add eax, eax
cmp eax, ecx
jae 0x100319df
call fcn.100a06cc
mov dword [eax], 0x22
call fcn.100a0315
jmp 0x10031a01
push ecx
push dword [ebp + 0xc]
push edx
call fcn.1009c6d0
add esp, 0xc
jmp 0x10031a01
mov eax, dword [edx - 8]
push ecx
push dword [ebp + 0xc]
add eax, eax
push eax
push edx
call fcn.10004850
add esp, 0x10
lea ecx, [edi + edi]
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x10031aa0
mov dword [eax - 0xc], edi
xor edx, edx
mov eax, dword [ebx]
mov word [ecx + eax], dx
jmp 0x10031a23
mov ecx, ebx
call fcn.10009fb0
mov eax, dword [ebx]
test eax, eax
je 0x10031aaa
mov ecx, esi
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10031a56
test dx, dx
je 0x10031a52
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10031a56
add ecx, 4
add eax, 4
test dx, dx
jne 0x10031a30
xor eax, eax
jmp 0x10031a5b
sbb eax, eax
or eax, 1
test eax, eax
je 0x10031a68
mov ecx, dword [ebp + 8]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10031a87
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.10004600
push 0x80070057
call fcn.10003f10
push 0x80004005
call fcn.10003f10
int3
Function at 0x10033b10
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x10032e80
push 0
push 0
call fcn.100a0087
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret

Function at 0x10034ce0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c9b86
mov eax, dword fs:[0]
push eax
mov eax, 0x1028
call fcn.10075bc0
mov eax, dword [0x101063e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1010]
push 0x1000
push 0
mov dword [ebp - 0x1034], esi
push eax
mov dword [ebp - 0x1030], 1
call fcn.1009c500
lea eax, [ebp - 0x1028]
mov dword [ebp - 0x102c], 0x800
push str.TK8Fj70YG_v_3_vPPg7Vdm30XuBkLQEO1THF4mZ06i_foDUuatiCLqo3UQuDlAcNYT9wv6OGo2LxfcPIj7LcA
push eax
call fcn.1004be30
add esp, 0x14
cmp dword [ebp - 0x1014], 8
lea ecx, [ebp - 0x102c]
push ecx
lea ecx, [ebp - 0x1010]
mov dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 0x1030]
push ecx
lea eax, [ebp - 0x1028]
cmovae eax, dword [ebp - 0x1028]
push str.InstallLocation
push eax
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10034dd2
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.User_DataDefault
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [ebx + 0x58]
cmp dword [eax - 0xc], 0
je 0x10034dd2
push eax
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.10004380
mov ecx, eax
test ecx, ecx
je 0x10034e89
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x1010]
mov byte [ebp - 4], 1
push eax
mov ecx, esi
call fcn.10004090
test al, al
jne 0x10034e2e
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10034e10
sub ecx, edx
lea eax, [ebp - 0x1010]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.100044d0
mov edx, dword [ebp - 0x1014]
cmp edx, 8
jb 0x10034e6a
mov ecx, dword [ebp - 0x1028]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10034e60
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10034e93
push edx
push ecx
call fcn.100757e2
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10075b61
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10003f10
call fcn.100a0325
int3
Function at 0x100356d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c9c90
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x101063e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x30], 0
je 0x10035714
xor eax, 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
lea eax, [ebp - 0x10]
push eax
call fcn.10034ce0
mov dword [ebp - 4], 0
call fcn.10004380
mov ecx, eax
test ecx, ecx
je 0x10035871
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov edx, dword [ebp - 0x10]
mov edi, dword [ebx + 0x40]
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], edx
jge 0x10035772
push 0x104
lea ecx, [ebp - 0x14]
call fcn.10004430
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
cmp dword [esi - 8], 0x104
jl 0x1003587b
push edi
push edx
xor eax, eax
mov dword [esi - 0xc], 0x104
push esi
mov word [esi + 0x208], ax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push dword [esi - 8]
push esi
call fcn.100a0806
add esp, 8
test eax, eax
js 0x1003587b
cmp eax, dword [esi - 8]
jg 0x1003587b
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
je 0x1003581b
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003581b
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1003581b
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 0x3c]
call fcn.10009350
lea eax, [ebx + 0x48]
mov ecx, ebx
push eax
lea eax, [ebx + 0x44]
push eax
lea eax, [ebx + 0x4c]
push eax
call fcn.10034ea0
lea eax, [ebx + 0x38]
push eax
push 0x11
push dword [ebx + 0x40]
push dword [ebx + 0x3c]
call fcn.10034c50
mov ecx, eax
call fcn.10041ae0
mov dword [ebx + 0x30], 1
xor edi, edi
jmp 0x10035820
mov edi, 0x80004005
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003583e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x1003585d
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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 0x80004005
call fcn.10003f10
push 0x80070057
call fcn.10003f10
int3
Function at 0x100362d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c9dcb
mov eax, dword fs:[0]
push eax
mov eax, 0x1028
call fcn.10075bc0
mov eax, dword [0x101063e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1034], edi
cmp word [0x10109ed0], 0
jne 0x100363f8
push 0x1000
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x1030], 1
push 0
push eax
call fcn.1009c500
lea eax, [ebp - 0x1028]
mov dword [ebp - 0x102c], 0x800
push str.TK8Fj70YG_v_3_vPPg7Vdm30XuBkLQEO1THF4mZ06i_foDUuatiCLqo3UQuDlAc1wuD5hVjglIbaOJeXMCQ
push eax
call fcn.1004be30
add esp, 0x14
lea ecx, [ebp - 0x102c]
cmp dword [ebp - 0x1014], 8
lea eax, [ebp - 0x1028]
cmovae eax, dword [ebp - 0x1028]
push ecx
lea ecx, [ebp - 0x1010]
push ecx
lea ecx, [ebp - 0x1030]
push ecx
push str.InstallLocation
push eax
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x100363b0
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.User_DataDefault
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, 0x10109ed0
lea esi, [ebp - 0x1010]
mov edx, 0x104
sub esi, ecx
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x100363e0
movzx eax, word [esi + ecx]
test ax, ax
je 0x100363e0
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x100363c2
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x1028]
call fcn.10008bd0
call fcn.10004380
mov ecx, eax
test ecx, ecx
je 0x1003646b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push 0x10109ed0
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.10004090
test al, al
jne 0x1003644c
mov ecx, 0x10109ed0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10036430
sub ecx, edx
sar ecx, 1
push ecx
push 0x10109ed0
mov ecx, edi
call fcn.100044d0
mov eax, edi
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.10075b61
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10003f10
int3