joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003c6b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c71b3
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x1010739c]
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 - 0x144]
mov dword [ebp - 0x164], esi
push eax
mov dword [ebp - 0x160], 0
call fcn.1003c080
mov dword [ebp - 4], 1
cmp dword [ebp - 0x134], 0
je 0x1003c75a
movups xmm0, xmmword [ebp - 0x144]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov byte [ebp - 0x144], 0
movq xmm0, qword [ebp - 0x134]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0xf
mov dword [ebp - 0x160], 1
jmp 0x1003c882
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.1008f970
add esp, 0xc
lea eax, [ebp - 0x114]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0
lea edx, [eax + 1]
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], 0
nop dword [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003c7c0
sub eax, edx
lea ecx, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.10009030
mov byte [ebp - 4], 2
lea eax, [ebp - 0x15c]
push str._tskp_workspacecache_
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.1003a310
add esp, 0xc
mov byte [ebp - 4], 3
lea eax, [ebp - 0x12c]
cmp dword [ebp - 0x118], 0x10
cmovae eax, dword [ebp - 0x12c]
push eax
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
movups xmm0, xmmword [ebp - 0x12c]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov byte [ebp - 0x12c], 0
movq xmm0, qword [ebp - 0x11c]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x160], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x12c]
call fcn.10005550
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x15c]
call fcn.10005550
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x144]
call fcn.10005550
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.100512b9
mov esp, ebp
pop ebp
ret 4
Function at 0x10040850
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c2a06
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
push esi
push edi
mov eax, dword [0x1010739c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [ebp + 8], 0xf120
je 0x1004089f
mov dword [edi + 0x2c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
call fcn.1004f380
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x1004097a
push 0x58
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], eax
push 0x100da7b8
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], al
call fcn.10009030
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
push 3
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push 0x100da814
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.10009030
mov byte [ebp - 4], 1
lea eax, [ebp - 0x3c]
push 0x3ac
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0xd4]
call fcn.100043b0
mov esi, eax
mov byte [ebp - 4], 2
push str.TaskBarWndImpl::OnWndSysCommand____SC_RESTORE.
push esi
call fcn.100064a0
add esp, 8
call fcn.1004f380
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd4]
call fcn.10006970
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.10005550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.10005550
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10040999
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [edi + 0x228], 0
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [edi + 4]
call esi
push 4
push dword [edi + 4]
call esi
push 5
push dword [edi + 4]
call esi
push 2
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x74]
test ecx, ecx
je 0x100409cd
mov eax, dword [ecx]
push 2
push dword [edi + 4]
push ecx
call dword [eax + 0x28]
mov ecx, edi
call fcn.1003ede0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10042cd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c7eda
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
push esi
push edi
mov eax, dword [0x1010739c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x40], edi
mov dword [edi], vtable.LdsJsBasic::WebWindowListener.0
mov dword [ebp - 4], 0
lea edx, [edi + 4]
mov dword [ebp - 0x44], edx
lea eax, [edx + 8]
mov dword [edx + 4], 0
mov dword [ebp - 0x48], eax
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 2
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], 0
mov byte [ebp - 4], 3
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [edx + 0x20], eax
mov byte [ebp - 4], 5
lea ecx, [edi + 0x34]
mov dword [edi], vtable.TaskBarCefWindow.0
mov dword [edx], vtable.TaskBarCefWindow.1.0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.100389e0
mov byte [ebp - 4], 6
mov byte [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov byte [edi + 0x54], 0
call fcn.1004f380
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x10042e56
push 0x5a
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], eax
push 0x100db858
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], al
call fcn.10009030
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
push 3
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push 0x100db8b4
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.10009030
mov byte [ebp - 4], 8
lea eax, [ebp - 0x3c]
push 0xd
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0xe0]
call fcn.100043b0
mov esi, eax
mov byte [ebp - 4], 9
push str.TaskBarCefWindow::TaskBarCefWindow____webview_Create.
push esi
call fcn.100064a0
add esp, 8
call fcn.1004f380
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xe0]
call fcn.10006970
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
call fcn.10005550
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.10005550
mov dword [ebp - 4], 0xffffffff
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
Function at 0x1004cc60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c8ac1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1010739c]
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 esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], 0
mov dword [edi], 0
call fcn.1000b1c0
mov ecx, eax
test ecx, ecx
je 0x1004cdf4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], 1
push eax
push 0xf003f
push 0
push dword [ebp + 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1004cdb5
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push 0
lea eax, [ebp - 0x18]
movlpd qword [ebp - 0x18], xmm0
push eax
push 0
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1004cda7
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1004cdb5
add eax, 0x10
push 0x1010d0e2
push eax
mov dword [ebp - 0x20], eax
call fcn.100514fd
mov esi, eax
add esp, 8
test esi, esi
je 0x1004cdb5
push dword [ebp - 0x20]
push 0
push esi
call fcn.1008f970
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push esi
push 0
push 0
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1004cd6a
push esi
call fcn.100512fd
add esp, 4
jmp 0x1004cdb5
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004cd70
sub ecx, edx
sar ecx, 1
je 0x1004cd9e
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004cd86
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.1000be60
push esi
call fcn.100512fd
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1004cdb5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp + 0x10]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1004cdd4
mov ecx, dword [esi]
push esi
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100512b9
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.1000afe0
int3
Function at 0x1004ce00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1010739c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, edi
mov dword [ebp - 0xc], eax
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1004ce24
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0xf003f
push 0
push dword [ebp + 0xc]
sub esi, edx
push ecx
sar esi, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
sete bl
test eax, eax
jne 0x1004ce86
lea eax, [esi*2 + 2]
push eax
push edi
push 1
push 0
push dword [ebp - 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb ebx, ebx
mov eax, dword [ebp - 8]
inc ebx
test eax, eax
je 0x1004ce86
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
or ecx, 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1004cea1
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100512b9
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1004ed10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c8d88
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1010739c]
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 esi, ecx
mov edi, dword [ebp + 8]
test edi, edi
je 0x1004ee71
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
push str.__set_log_lev0
push edi
call ebx
test eax, eax
je 0x1004ed68
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 4]
jmp 0x1004ee71
push str.__set_log_lev1
push edi
call ebx
test eax, eax
je 0x1004ed82
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 4]
jmp 0x1004ee71
push str.__set_log_lev2
push edi
call ebx
test eax, eax
je 0x1004ed9c
mov eax, dword [esi]
mov ecx, esi
push 2
call dword [eax + 4]
jmp 0x1004ee71
push str.__set_log_lev3
push edi
call ebx
test eax, eax
je 0x1004edb6
mov eax, dword [esi]
mov ecx, esi
push 3
call dword [eax + 4]
jmp 0x1004ee71
push str.__reload_log_switch
push edi
call ebx
test eax, eax
je 0x1004ee71
push 3
mov ecx, esi
call fcn.1004ecd0
lea eax, [esi + 0x14]
push eax
lea ecx, [ebp - 0x28]
call fcn.10004130
push 0x100e02f8
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.100506b0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1004ee0e
push 0
mov ecx, esi
call fcn.1004ecd0
lea eax, [esi + 0x2c]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1004ee1f
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x44], 0
mov byte [ebp - 4], 1
je 0x1004ee61
mov ecx, dword [esi + 0x6c]
test ecx, ecx
je 0x1004ee61
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 4]
call eax
test al, al
je 0x1004ee61
push str._______log_reload_switch
lea ecx, [ebp - 0x44]
call fcn.1003a7d0
mov ecx, dword [esi + 0x44]
lea edx, [ebp - 0x44]
push edx
mov byte [ebp - 4], 2
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x44]
call fcn.100055d0
lea ecx, [ebp - 0x2c]
call fcn.10005c50
lea ecx, [ebp - 0x28]
call fcn.100055d0
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.100512b9
mov esp, ebp
pop ebp
ret 4
Function at 0x10055040
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c9378
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x1010739c]
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.10050f0a
mov edi, eax
add esp, 4
test edi, edi
je 0x100550e4
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.100461cc
add esp, 4
mov dword [edi + 4], eax
jmp 0x100550e6
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov ecx, dword [edi + 4]
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
call fcn.1002b890
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov bl, al
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x10055147
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x10055147
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov byte [esi + 0x40], bl
jne 0x1005516a
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x1005518d
cmp byte [ebp + 0xc], 0
je 0x10055179
push esi
call fcn.100463e8
add esp, 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
test cl, 4
je 0x10055199
mov esi, str.ios_base::badbit_set
jmp 0x100551a9
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.10009780
add esp, 8
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.10004ae0
push 0x100f6560
lea eax, [ebp - 0x30]
push eax
call fcn.1008ea56
int3

Function at 0x10055320
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx]
test ecx, ecx
je 0x1005532f
pop ebp
jmp fcn.10056310
xor eax, eax
pop ebp
ret 0xc
Function at 0x10056610
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c9613
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x1010739c]
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
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], 0
test esi, esi
je 0x100566b5
cmp word [esi], di
je 0x100566b5
test eax, eax
je 0x10056671
cmp word [eax], di
je 0x10056671
push edi
push edi
push eax
push esi
push edi
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
js 0x100566b5
jmp 0x100566b0
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1008f970
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push 0
push 0x104
push eax
push esi
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
js 0x100566b5
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, 1
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x1005672c
mov eax, dword [ebx + 0x24]
test eax, eax
js 0x10056717
lea esi, [ebx + 0x34]
mov dword [ebp - method._BaseModule::CAutoLocker.virtual_0], vtable._BaseModule::CAutoLocker.0
mov dword [ebp - 0x428], esi
test esi, esi
je 0x100566e5
mov eax, dword [esi]
push esi
call dword [eax]
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebp + 0x34]
mov byte [ebp - 4], 1
test eax, eax
js 0x10056706
mov dword [ebp - 0x424], edi
test ecx, ecx
je 0x1005674c
mov eax, dword [ecx]
lea edx, [ebp - 0x424]
push edx
call dword [eax + 8]
mov ecx, dword [ebp + 0x34]
mov byte [ebp - 4], 2
test esi, esi
je 0x10056717
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x1005672c
mov edx, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
xor eax, eax
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.100512b9
mov esp, ebp
pop ebp
ret 0x30
call fcn.10044bbc
int3
Function at 0x1005d800
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ca448
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1010739c]
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 eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push eax
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x28]
push 0x1a
push eax
call fcn.1005e5b0
cmp dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
je 0x1005d867
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1005d8e5
push dword [ebp - 0x44]
lea eax, [ebp - 0x40]
mov ecx, esi
push 1
push eax
call fcn.1005e5b0
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x1005d8ab
mov ecx, eax
call fcn.1000e9a0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x1005d8e5
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1005d8db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d9ed
push edx
push ecx
call fcn.10050f3a
add esp, 8
cmp dword [ebp - 0x18], 0
jne 0x1005d910
xor eax, eax
mov dword [edi + 0x10], 0
push eax
mov dword [edi + 0x14], 7
mov ecx, edi
push 0x100d6520
mov word [edi], ax
call fcn.10009130
jmp 0x1005d9c6
call fcn.1000b1c0
mov ecx, eax
test ecx, ecx
je 0x1005d9f2
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.1000aac0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.1005db90
mov edx, dword [ebp - 0x48]
add esp, 8
mov byte [ebp - 4], 1
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1005d977
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x44]
xor eax, eax
mov ecx, esi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005d992
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.10009130
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1005d9c6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x28]
call fcn.100055d0
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.100512b9
mov esp, ebp
pop ebp
ret 8
call fcn.10092f59
push 0x80004005
call fcn.1000afe0
int3
Function at 0x10060bd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100caa12
mov eax, dword fs:[0]
push eax
sub esp, 0x818
mov eax, dword [0x1010739c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edx, edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x824], esi
mov dword [ebp - 0x81c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov dword [ebp - 0x818], 0
mov word [esi], dx
mov dword [ebp - 4], edx
mov dword [ebp - 0x81c], 1
test ecx, ecx
je 0x10060d00
test eax, eax
je 0x10060d00
test ebx, ebx
je 0x10060d00
lea edx, [ebp - 0x818]
push edx
push 0x20219
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10060cef
cmp dword [ebp - 0x818], eax
je 0x10060d00
push 0x802
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.1008f970
add esp, 0xc
mov dword [ebp - 0x820], 0x800
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x814]
push eax
push 0
push 0xffff
push ebx
push 0
push dword [ebp - 0x818]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x10060cef
lea ecx, [ebp - 0x814]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10060cd1
sub ecx, edx
lea eax, [ebp - 0x814]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10009130
mov eax, dword [ebp - 0x818]
test eax, eax
je 0x10060d00
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.100512b9
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100694e0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cb8c2
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x1010739c]
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]
xor eax, eax
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x424], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x208
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x424], 1
mov dword [ebp - 0x428], 0x104
call fcn.1008f970
add esp, 0xc
mov dword [ebp - 0x42c], 1
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x42c]
push eax
push str.local_m2
push str.SOFTWAREComMaster
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x100695be
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100695a0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10009130
cmp dword [esi + 0x10], 0
jne 0x1006963a
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1008f970
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.100b67d0
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100695f4
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10009130
cmp dword [esi + 0x14], 8
mov eax, esi
mov ecx, dword [esi + 0x10]
jb 0x1006961f
mov eax, dword [esi]
add ecx, ecx
push ecx
push eax
push 1
push str.local_m2
push str.SOFTWAREComMaster
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
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.100512b9
mov esp, ebp
pop ebp
ret