joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005ac80
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101591d8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x101c0618]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
push 0
call dword [eax + 8]
mov eax, dword [esi + 0x10]
lea edi, [esi + 0x10]
mov ecx, edi
mov dword [ebp - 0x1c], edi
xor ebx, ebx
call dword [eax + 4]
mov eax, dword [esi + 0xc]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1005acd3
lea esi, [ebx + 1]
jmp 0x1005acf7
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100b45a3
mov ecx, eax
add esp, 4
mov dword [ebp - 0x18], ecx
test ecx, ecx
jne 0x1005ad1b
xor esi, esi
mov edx, dword [edi]
mov ecx, edi
mov dword [ebp - 4], 2
call dword [edx + 8]
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 8
mov eax, dword [ebp - 0x14]
shl eax, 2
push eax
push 0
push ecx
call fcn.100ec480
lea eax, [esi + 8]
add esp, 0xc
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov esi, dword [eax]
mov dword [ebp - 0x10], esi
cmp esi, eax
je 0x1005add3
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x1c], eax
mov edx, dword [eax]
test edx, edx
je 0x1005ad55
mov ecx, dword [ebp - 0x18]
mov dword [ecx + ebx*4], edx
inc ebx
mov ecx, dword [eax + 0x18]
cmp ecx, 0x10
jb 0x1005ad8c
mov eax, dword [eax + 4]
inc ecx
cmp ecx, 0x1000
jb 0x1005ad7f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005ae5d
mov eax, edx
push ecx
push eax
call fcn.100b4158
mov eax, dword [ebp - 0x1c]
add esp, 8
push 0x24
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0xf
push eax
mov byte [eax + 4], 0
call fcn.100b4158
add esp, 8
lea ecx, [ebp - 0x10]
call fcn.1005a680
mov ecx, dword [ebp - 0x14]
push esi
call fcn.1005af10
push 0x18
push eax
call fcn.100b4158
mov eax, dword [ebp - 0x14]
add esp, 8
mov esi, dword [ebp - 0x10]
cmp esi, dword [eax]
jne 0x1005ad42
mov eax, dword [edi]
mov ecx, edi
mov dword [ebp - 4], 3
call dword [eax + 8]
push dword [ebp + 8]
mov edi, dword [ebp - 0x18]
push 1
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp + 8], eax
cmp eax, 0x102
jne 0x1005ae20
cmp dword [ebp + 0xc], 0
je 0x1005ae20
xor esi, esi
test ebx, ebx
jle 0x1005ae20
nop word [eax + eax]
push 0
push dword [edi + esi*4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
inc esi
cmp esi, ebx
jl 0x1005ae10
xor esi, esi
test ebx, ebx
jle 0x1005ae34
push dword [edi + esi*4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, ebx
jl 0x1005ae26
push edi
call fcn.100b46bc
xor eax, eax
add esp, 4
cmp dword [ebp + 8], 0x102
setne al
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.100f67b8
int3
Function at 0x1005de30
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x101c0618]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x1005df81
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.100ec480
add esp, 0xc
lea eax, [ebp - 0x414]
push 0x104
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.100ec480
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.1010b855
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0x1017dd94
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [edi], 0
jne 0x1005df81
lea eax, [ebp - 0x20c]
push 1
push eax
call fcn.100440d0
add esp, 8
test eax, eax
je 0x1005dfc2
cmp dword [edi + 4], 0
jne 0x1005df7c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 4], eax
test eax, eax
je 0x1005dfc2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpInit
push eax
call esi
push str.HttpUninit
push dword [edi + 4]
mov dword [edi + 8], eax
call esi
push str.zlib_uncompress
push dword [edi + 4]
mov dword [edi + 0xc], eax
call esi
push str.zlib_compress
push dword [edi + 4]
mov dword [edi + 0x14], eax
call esi
push str.zlib_compressBound
push dword [edi + 4]
mov dword [edi + 0x18], eax
call esi
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 8]
test eax, eax
je 0x1005df5f
call eax
mov dword [edi + 0x10], eax
cmp dword [edi + 0xc], 0
je 0x1005df78
cmp dword [edi + 8], 0
je 0x1005df78
cmp dword [edi + 0x10], 0
je 0x1005df78
mov eax, 1
jmp 0x1005df7a
xor eax, eax
mov dword [edi], eax
cmp dword [edi], 0
je 0x1005dfc2
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x1005dfc2
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
je 0x1005dfae
mov edx, dword [esi]
mov ecx, esi
push 0
push str.ungzip
call dword [edx + 0x30]
mov eax, dword [esi]
mov ecx, esi
push 0
push str.gzip
call dword [eax + 0x30]
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.100b4568
mov esp, ebp
pop ebp
ret 4
Function at 0x1005e160
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp dword [edi], 0
je 0x1005e175
mov eax, 1
pop edi
pop ebp
ret 4
push esi
mov esi, dword [ebp + 8]
push 1
push esi
call fcn.100440d0
add esp, 8
test eax, eax
je 0x1005e220
cmp dword [edi + 4], 0
jne 0x1005e218
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 4], eax
test eax, eax
je 0x1005e220
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpInit
push eax
call esi
push str.HttpUninit
push dword [edi + 4]
mov dword [edi + 8], eax
call esi
push str.zlib_uncompress
push dword [edi + 4]
mov dword [edi + 0xc], eax
call esi
push str.zlib_compress
push dword [edi + 4]
mov dword [edi + 0x14], eax
call esi
push str.zlib_compressBound
push dword [edi + 4]
mov dword [edi + 0x18], eax
call esi
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 8]
test eax, eax
je 0x1005e1f5
call eax
mov dword [edi + 0x10], eax
cmp dword [edi + 0xc], 0
je 0x1005e214
cmp dword [edi + 8], 0
je 0x1005e214
cmp dword [edi + 0x10], 0
je 0x1005e214
mov eax, 1
pop esi
mov dword [edi], eax
pop edi
pop ebp
ret 4
xor eax, eax
mov dword [edi], eax
mov eax, dword [edi]
pop esi
pop edi
pop ebp
ret 4
pop esi
xor eax, eax
pop edi
pop ebp
ret 4

Function at 0x10060350
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x101c0618]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x34], 0x53005c
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x34]
mov eax, 0x101c67a0
mov dword [ebp - 0x30], 0x730079
mov dword [ebp - 0x2c], 0x4f0057
mov edx, 0x18
mov dword [ebp - 0x28], 0x360057
sub esi, eax
mov dword [ebp - 0x24], 0x5c0034
mov dword [ebp - 0x20], 0x750072
mov dword [ebp - 0x1c], 0x64006e
mov dword [ebp - 0x18], 0x6c006c
mov dword [ebp - 0x14], 0x320033
mov dword [ebp - 0x10], 0x65002e
mov dword [ebp - 0xc], 0x650078
lea ecx, [edx + 0x7fffffe6]
test ecx, ecx
je 0x100603e1
movzx ecx, word [esi + eax]
test cx, cx
je 0x100603e1
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x100603c3
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x101c67a0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret
Function at 0x10060410
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x101c0618]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x28], 0x6f0043
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x28]
mov eax, 0x101c6770
mov dword [ebp - 0x24], 0x70006d
mov dword [ebp - 0x20], 0x740075
mov edx, 0x12
mov dword [ebp - 0x1c], 0x720065
sub esi, eax
mov dword [ebp - 0x18], 0x5f005a
mov dword [ebp - 0x14], 0x4e0043
mov dword [ebp - 0x10], 0x65002e
mov dword [ebp - 0xc], 0x650078
nop
lea ecx, [edx + 0x7fffffec]
test ecx, ecx
je 0x1006048e
movzx ecx, word [esi + eax]
test cx, cx
je 0x1006048e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x10060470
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x101c6770
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret

Function at 0x100604b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x101c0618]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x34], 0x53005c
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x34]
mov eax, 0x101c67d0
mov dword [ebp - 0x30], 0x730079
push edi
mov dword [ebp - 0x2c], 0x650074
mov edx, 0x18
mov dword [ebp - 0x28], 0x33006d
sub esi, eax
mov dword [ebp - 0x24], 0x5c0032
mov dword [ebp - 0x20], 0x750072
mov dword [ebp - 0x1c], 0x64006e
mov dword [ebp - 0x18], 0x6c006c
mov dword [ebp - 0x14], 0x320033
mov dword [ebp - 0x10], 0x65002e
mov dword [ebp - 0xc], 0x650078
lea ecx, [edx + 0x7fffffe6]
test ecx, ecx
je 0x10060542
movzx ecx, word [esi + eax]
test cx, cx
je 0x10060542
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x10060524
lea ecx, [eax - 2]
test edx, edx
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
mov word [ecx], ax
mov eax, 0x101c67d0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret
Function at 0x10061530
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x101aa858
push 0x100ecb90
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x101c0618]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x28], 0
xor edi, edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 4], edi
mov dword [eax], edi
mov dword [ecx], edi
lea eax, [ebp - 0x28]
push eax
push edi
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
je 0x100615aa
cmp dword [ebp - 0x28], edi
je 0x100615aa
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100615e2
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x3f0
jne 0x100616c4
lea eax, [ebp - 0x28]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x100616c4
cmp dword [ebp - 0x28], 0
je 0x100616c4
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 2
push dword [ebp - 0x28]
mov ebx, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call ebx
test eax, eax
jne 0x100616c4
cmp dword [ebp - 0x2c], eax
jbe 0x100616c4
call esi
cmp eax, 0x7a
jne 0x100616c4
push dword [ebp - 0x2c]
call fcn.1010b703
add esp, 4
mov edi, eax
mov dword [ebp - 0x38], edi
test edi, edi
je 0x100616c4
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x2c]
push edi
push 2
push dword [ebp - 0x28]
call ebx
test eax, eax
je 0x100616c4
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x2c]
jne 0x100616c4
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0x500
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x100616c4
cmp dword [ebp - 0x30], 0
je 0x100616c4
xor esi, esi
mov dword [ebp - 0x3c], esi
cmp esi, dword [edi]
jae 0x100616c4
lea ebx, [edi + esi*8]
push dword [ebp - 0x30]
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x100616ad
inc esi
jmp 0x10061690
mov eax, dword [ebp - 0x40]
mov dword [eax], 1
mov eax, dword [ebx + 8]
shr eax, 2
and eax, 1
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
mov dword [ebp - 4], 0xfffffffe
call fcn.100616f1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret 8
Function at 0x10067520
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015b8f8
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x101c0618]
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 - 0x218]
push 0x208
push 0
mov dword [ebp - 0x228], esi
push eax
mov dword [ebp - 0x21c], 0
call fcn.100ec480
add esp, 0xc
mov dword [ebp - 0x224], 1
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push str.Setup_Path
push dword [0x101c031c]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x10067602
call fcn.1000d010
mov ecx, eax
test ecx, ecx
je 0x100676df
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 1
mov eax, 0x10172dc0
mov ecx, esi
test eax, 0xffff0000
jne 0x100675f1
movzx eax, ax
push eax
call fcn.1000d1d0
jmp 0x100675fd
push 0
push 0x10172dc0
call fcn.1000adf0
jmp 0x100676b2
cmp word [ebp - 0x218], 0
je 0x10067651
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10067615
sub ecx, edx
sar ecx, 1
movzx eax, word [ebp + ecx*2 - 0x21a]
mov ecx, eax
cmp eax, 0x5c
je 0x10067651
cmp ecx, 0x2f
je 0x10067651
push 0x10179aa4
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.1010b780
add esp, 0xc
call fcn.1000d010
mov ecx, eax
test ecx, ecx
je 0x100676e9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 2
lea eax, [ebp - 0x218]
test eax, 0xffff0000
jne 0x1006768b
movzx eax, ax
mov ecx, esi
push eax
call fcn.1000d1d0
jmp 0x100676b2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10067694
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1000adf0
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 1
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.100b4568
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10007270
push 0x80004005
call fcn.10007270
int3
Function at 0x10067770
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015b9c9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x101c0618]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], 0
push eax
call fcn.10067520
add esp, 8
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x10067846
call fcn.1000d010
mov ecx, eax
test ecx, ecx
je 0x10067955
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 2
mov eax, 0x10172dc0
mov ecx, esi
test eax, 0xffff0000
jne 0x100677fa
movzx eax, ax
push eax
call fcn.1000d1d0
jmp 0x10067806
push 0
push 0x10172dc0
call fcn.1000adf0
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0
or eax, 0xffffffff
mov edi, dword [ebp - 0x10]
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10067833
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [0x101c0318]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10019d90
add esp, 0xc
mov byte [ebp - 4], 4
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100678b2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.1000bc60
mov edi, dword [ebp + 8]
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100678b0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10067923
call fcn.1000d010
mov ecx, eax
test ecx, ecx
je 0x1006795f
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 8
mov eax, 0x10172dc0
mov ecx, edi
test eax, 0xffff0000
jne 0x100678eb
movzx eax, ax
push eax
call fcn.1000d1d0
jmp 0x100678f7
push 0
push 0x10172dc0
call fcn.1000adf0
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10067923
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x10067942
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
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10007270
push 0x80004005
call fcn.10007270
int3
Function at 0x10067970
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015ba28
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x101c0618]
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 - 0x218]
push 0x208
push 0
mov dword [ebp - 0x228], esi
push eax
mov dword [ebp - 0x21c], 0
call fcn.100ec480
add esp, 0xc
mov dword [ebp - 0x224], 1
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push str.VendorID
push dword [0x101c031c]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10067a74
cmp word [ebp - 0x218], ax
je 0x10067a74
call fcn.1000d010
mov ecx, eax
test ecx, ecx
je 0x10067ae2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x218]
test eax, 0xffff0000
jne 0x10067a4b
movzx eax, ax
mov ecx, esi
push eax
call fcn.1000d1d0
jmp 0x10067a72
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10067a54
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1000adf0
jmp 0x10067ab5
call fcn.1000d010
mov ecx, eax
test ecx, ecx
je 0x10067aec
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 2
mov eax, 0x10172dc0
mov ecx, esi
test eax, 0xffff0000
jne 0x10067aa9
movzx eax, ax
push eax
call fcn.1000d1d0
jmp 0x10067ab5
push 0
push 0x10172dc0
call fcn.1000adf0
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 1
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.100b4568
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10007270
push 0x80004005
call fcn.10007270
int3
Function at 0x10067c40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015bb39
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x101c0618]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], 0
push eax
call fcn.10067520
add esp, 8
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x10067d16
call fcn.1000d010
mov ecx, eax
test ecx, ecx
je 0x10067e25
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 2
mov eax, 0x10172dc0
mov ecx, esi
test eax, 0xffff0000
jne 0x10067cca
movzx eax, ax
push eax
call fcn.1000d1d0
jmp 0x10067cd6
push 0
push 0x10172dc0
call fcn.1000adf0
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0
or eax, 0xffffffff
mov edi, dword [ebp - 0x10]
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10067d03
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [0x101c0324]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10019d90
add esp, 0xc
mov byte [ebp - 4], 4
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10067d82
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.1000bc60
mov edi, dword [ebp + 8]
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10067d80
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10067df3
call fcn.1000d010
mov ecx, eax
test ecx, ecx
je 0x10067e2f
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 8
mov eax, 0x10172dc0
mov ecx, edi
test eax, 0xffff0000
jne 0x10067dbb
movzx eax, ax
push eax
call fcn.1000d1d0
jmp 0x10067dc7
push 0
push 0x10172dc0
call fcn.1000adf0
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10067df3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x10067e12
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
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10007270
push 0x80004005
call fcn.10007270
int3