joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5187db
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x57dcc0]
push ebx
push esi
xor eax, ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0x53fd64
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x28], ebx
xor esi, esi
call edi
push str.GetUserDefaultUILanguage
push eax
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x518885
call eax
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ebx, 0x3ff
mov edi, 0xfc00
mov dword [ebp - 0x28], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ecx, cx
and eax, edi
or eax, ecx
push eax
mov dword [ebp - 0x2c], ecx
call esi
push dword [ebp - 0x2c]
mov dword [ebp - 0x48], eax
call esi
push str.GetSystemDefaultUILanguage
push dword [ebp - 0x30]
mov dword [ebp - 0x44], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov dword [ebp - 0x28], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ebx, cx
and eax, edi
or eax, ebx
push eax
call esi
push ebx
mov dword [ebp - 0x40], eax
call esi
mov dword [ebp - 0x3c], eax
push 4
xor ebx, ebx
jmp 0x518987
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x518935
lea eax, [ebp - 0x2c]
push eax
push 0x20019
push ebx
push str.Control_PanelDesktopResourceLocale
push SysReAllocString
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x518988
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
push ebx
push ebx
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0x20
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x51892a
cmp dword [ebp - 0x34], 1
jne 0x51892a
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x24]
push 0x53fcd4
push eax
call fcn.0042ee52
add esp, 0xc
cmp eax, 1
jne 0x51892a
mov eax, dword [ebp - 0x50]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov dword [ebp - 0x28], eax
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x48], eax
call esi
push 2
mov dword [ebp - 0x44], eax
pop esi
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x518988
push str.ntdll.dll
call edi
cmp eax, ebx
je 0x518988
lea ecx, [ebp - 0x28]
push ecx
push 0x5187c5
push 1
push 0x10
push eax
mov dword [ebp - 0x28], ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesW]
cmp word [ebp - 0x28], bx
je 0x518988
movzx eax, word [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x48], eax
call esi
mov dword [ebp - 0x44], eax
push 2
pop esi
mov dword [ebp + esi*4 - 0x48], 0x800
inc esi
xor edi, edi
cmp esi, ebx
jle 0x5189ad
push dword [ebp + edi*4 - 0x48]
mov ecx, dword [ebp - 0x4c]
call fcn.00518742
cmp eax, ebx
pop ecx
jne 0x5189af
inc edi
cmp edi, esi
jl 0x518997
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b9ea
leave
ret 4
Function at 0x5189c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov dword [ecx + 0x9c], edi
cmp dword [str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
mov ebx, 0x57d188
je 0x518a7c
push esi
lea eax, [ebp - 4]
push eax
push 1
push edi
push dword [ebx]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x518a64
mov esi, dword [ebx + 4]
jmp 0x518a5e
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x518a4e
cmp dword [ebp - 0xc], 4
jne 0x518a4e
cmp dword [ebp - 8], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
je 0x518a46
or dword [eax + 0x9c], ecx
jmp 0x518a4e
not ecx
and dword [eax + 0x9c], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
add esi, 8
mov eax, dword [esi]
cmp eax, edi
jne 0x518a12
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebx, 8
cmp dword [ebx], edi
mov dword [ebp - 4], edi
jne 0x5189f5
pop esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret

Function at 0x519124
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x5233e4
call fcn.0042e2c0
sub esp, 0x228
mov eax, dword [0x57dcc0]
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor eax, ebp
mov dword [ebp - 0x10], esp
lea edx, [ebp - 0x228]
mov dword [ebp - 0x14], eax
mov eax, dword [edi]
push edx
push eax
push ecx
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x22c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov esi, eax
test esi, esi
jne 0x519232
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov esi, eax
test esi, esi
jne 0x519206
and dword [ebp - 4], eax
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x224]
call fcn.00402aa0
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x228]
mov byte [ebp - 4], 1
call fcn.00519124
mov ecx, dword [ebp - 0x224]
mov esi, eax
test esi, esi
setne bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.004030b0
test bl, bl
jne 0x519206
or dword [ebp - 4], 0xffffffff
jmp 0x519171
cmp esi, 0x103
je 0x519216
cmp esi, 0x3f2
jne 0x519226
push dword [edi]
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b9ea
leave
ret 8
Function at 0x519757
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x51978c
cmp edi, dword [esi + 0xc]
jge 0x51978c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x51978c
cmp edi, dword [eax + 8]
jge 0x51978c
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
jmp 0x51978e
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x519892
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x5198c6
jmp fcn.004f96d4
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

Function at 0x519937
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c]
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jle 0x519a30
cmp eax, dword [edi + 0xc]
jge 0x519a30
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x519988
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
jl 0x519a19
cmp dword [ebp + 0xc], ebx
je 0x519a19
jmp 0x5199b2
push 0x10
call fcn.00519623
cmp eax, ebx
je 0x51999e
mov ecx, eax
call fcn.00519889
mov esi, eax
jmp 0x5199a0
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
mov dword [edi + 0x14], esi
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x5199c9
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x5199d9
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
jne 0x5199eb
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.004f96d4
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0xc]
sub edx, ecx
shl edx, 2
push edx
lea eax, [eax + ecx*4]
push ebx
push eax
call fcn.0042c040
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x519a2b
cmp ecx, dword [esi + 8]
jge 0x519a2b
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
push dword [ebp - 4]
jmp 0x519a31
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x519af0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x519b1e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x519b3c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00519a5a
jmp 0x519b3c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x519b3c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00519a5a
test edi, edi
mov eax, edi
jne 0x519b26
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x581aa0]
test ecx, ecx
je 0x519bef
jmp 0x519aef
ret 8

Function at 0x51a21c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x51a24b
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
neg eax
sbb eax, eax
inc eax
jmp 0x51a29c
push esi
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x51a299
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0xc]
push 1
push 0
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x51a299
test esi, esi
jne 0x51a299
inc eax
jmp 0x51a29b
xor eax, eax
pop esi
pop ebp
ret 0xc
Function at 0x10002930
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1012d034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x10], eax
push edi
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0xc], edx
jb 0x1000295e
mov edi, dword [ebx]
jmp 0x10002960
mov edi, ebx
xor ecx, ecx
mov esi, 0x811c9dc5
add eax, eax
je 0x10002984
mov edx, eax
lea ecx, [ecx]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x10002970
mov edx, dword [ebp - 0xc]
mov edi, dword [edx + 0x14]
mov ecx, edi
and ecx, esi
cmp dword [edx + 0x18], ecx
ja 0x10002999
shr edi, 1
or eax, 0xffffffff
sub eax, edi
add ecx, eax
mov esi, dword [edx + 8]
shl ecx, 3
mov dword [ebp - 8], ecx
mov esi, dword [ecx + esi]
add ecx, dword [edx + 8]
mov eax, dword [edx]
cmp dword [ecx], eax
je 0x100029b3
mov eax, dword [ecx + 4]
mov eax, dword [eax]
cmp esi, eax
je 0x10002a50
cmp dword [ebx + 0x14], 8
lea ecx, [esi + 8]
jb 0x100029c8
mov eax, dword [ebx]
jmp 0x100029ca
mov eax, ebx
push dword [ebx + 0x10]
push eax
push dword [ecx + 0x10]
push 0
call fcn.100032d0
test eax, eax
je 0x100029e6
mov esi, dword [esi]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
jmp 0x100029a5
mov edi, esi
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 8]
mov edi, edi
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + 8]
mov eax, dword [edx]
cmp dword [ecx + edi], eax
je 0x10002a03
mov eax, dword [ecx + edi + 4]
mov eax, dword [eax]
cmp esi, eax
je 0x10002a2e
cmp dword [esi + 0x1c], 8
lea eax, [esi + 8]
mov ecx, dword [eax + 0x10]
jb 0x10002a15
mov eax, dword [eax]
push ecx
push eax
push dword [ebx + 0x10]
mov ecx, ebx
push 0
call fcn.100032d0
test eax, eax
jne 0x10002a2b
mov esi, dword [esi]
jmp 0x100029f0
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x14]
cmp edi, esi
je 0x10002a50
mov eax, dword [ebp - 0x10]
mov dword [eax], edi
pop edi
mov dword [eax + 4], esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx]
pop edi
pop esi
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret 8
Function at 0x10003050
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1012d034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edi
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
jb 0x1000307e
mov esi, dword [edi]
jmp 0x10003080
mov esi, edi
xor ecx, ecx
mov edx, 0x811c9dc5
add eax, eax
je 0x100030a4
mov edi, eax
lea ecx, [ecx]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x10003090
mov edi, dword [ebp - 0xc]
mov esi, dword [ebx + 0x14]
mov ecx, esi
and ecx, edx
cmp dword [ebx + 0x18], ecx
ja 0x100030b9
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add ecx, eax
mov esi, dword [ebx]
shl ecx, 3
mov dword [ebp - 8], ecx
add ecx, dword [ebx + 8]
mov eax, dword [ecx]
cmp esi, eax
je 0x10003105
mov esi, dword [ecx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x10003105
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 8
lea eax, [esi + 8]
mov ecx, dword [eax + 0x10]
jb 0x100030e4
mov eax, dword [eax]
push ecx
push eax
push dword [edi + 0x10]
mov ecx, edi
push 0
call fcn.100032d0
test eax, eax
je 0x10003103
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 8]
cmp esi, dword [ecx + eax]
jne 0x100030d3
jmp 0x10003105
mov esi, dword [esi]
mov eax, dword [ebx]
push edi
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
push dword [eax + 4]
push eax
call fcn.10003510
mov edx, eax
mov ecx, 0x3fffffe
mov eax, dword [ebx + 4]
sub ecx, eax
cmp ecx, 1
jae 0x10003132
push str.list_T__too_long
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xlength_error_char_const__]
inc eax
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
mov edi, dword [ebx]
mov edi, dword [edi]
mov eax, dword [edi]
cmp esi, eax
je 0x1000316c
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 8]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x10003185
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [edx + eax + 4], edi
jmp 0x100031aa
cmp eax, esi
jne 0x1000318d
mov dword [ecx], edi
jmp 0x100031aa
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x100031aa
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 8]
mov edx, dword [edx + eax + 4]
mov edx, dword [edx + 4]
mov dword [ecx + eax + 4], edx
mov ecx, ebx
call fcn.10003210
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10003390
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1012d034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edi
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
jb 0x100033be
mov esi, dword [edi]
jmp 0x100033c0
mov esi, edi
xor ecx, ecx
mov edx, 0x811c9dc5
add eax, eax
je 0x100033e4
mov edi, eax
lea ecx, [ecx]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x100033d0
mov edi, dword [ebp - 0xc]
mov esi, dword [ebx + 0x14]
mov ecx, esi
and ecx, edx
cmp dword [ebx + 0x18], ecx
ja 0x100033f9
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add ecx, eax
mov esi, dword [ebx]
shl ecx, 3
mov dword [ebp - 8], ecx
add ecx, dword [ebx + 8]
mov eax, dword [ecx]
cmp esi, eax
je 0x10003445
mov esi, dword [ecx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x10003445
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 8
lea eax, [esi + 8]
mov ecx, dword [eax + 0x10]
jb 0x10003424
mov eax, dword [eax]
push ecx
push eax
push dword [edi + 0x10]
mov ecx, edi
push 0
call fcn.100032d0
test eax, eax
je 0x10003443
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 8]
cmp esi, dword [ecx + eax]
jne 0x10003413
jmp 0x10003445
mov esi, dword [esi]
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x1000346f
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 8]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x10003488
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [edx + eax + 4], edi
jmp 0x100034ad
cmp eax, esi
jne 0x10003490
mov dword [ecx], edi
jmp 0x100034ad
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x100034ad
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 8]
mov edx, dword [edx + eax + 4]
mov edx, dword [edx + 4]
mov dword [ecx + eax + 4], edx
mov ecx, ebx
call fcn.10003210
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10003960
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ed922
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x1012d034]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], vtable.CChrome.0
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov dword [ebp - 0x220], esi
mov word [esi + 4], cx
mov dword [ebp - 4], ecx
xor eax, eax
mov dword [esi + 0x30], 7
mov dword [esi + 0x2c], ecx
mov word [esi + 0x1c], ax
lea edi, [esi + 0x34]
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], eax
mov word [edi], ax
mov dword [esi + 0x60], 7
mov dword [esi + 0x5c], eax
mov word [esi + 0x4c], cx
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov al, byte [ebp + 8]
mov byte [esi + 0x70], al
mov dword [esi + 0x74], ecx
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], ecx
xor eax, eax
mov byte [ebp - 4], 5
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x21c], 0
jne 0x10003a3c
xor ecx, ecx
jmp 0x10003a54
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003a45
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
mov ecx, edi
push eax
call fcn.10001e10
push 0x14
push 0
push 0x100f9398
mov ecx, edi
call fcn.10006d30
cmp eax, 0xffffffff
je 0x10003a93
mov ecx, esi
mov byte [esi + 0x71], 1
call fcn.100040d0
push 0
push 0x100f93c4
mov ecx, edi
call fcn.10001e10
jmp 0x10003aa0
push edi
lea ecx, [esi + 0x74]
mov byte [esi + 0x71], 0
call fcn.10006ae0
push 0
push 0x100f93c8
lea ecx, [esi + 0x4c]
call fcn.10001e10
mov eax, dword [0x10132504]
test al, 1
jne 0x10003ada
or eax, 1
mov dword [0x10132504], eax
mov byte [ebp - 4], 6
call fcn.100134d0
push 0x100f6ad0
call fcn.100ebe7b
add esp, 4
mov byte [ebp - 4], 5
cmp dword [0x10132564], 8
mov edx, 0x10132550
cmovae edx, dword [0x10132550]
cmp word [edx], 0
jne 0x10003af7
xor eax, eax
jmp 0x10003b0f
mov eax, edx
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10003b00
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esi + 4]
call fcn.10001e10
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret 4
Function at 0x10003ba0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ed971
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1012d034]
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 dword [ebp - 4], 0
lea edi, [ecx + 0x34]
mov dword [ebp - 0x30], 0
cmp dword [edi + 0x14], 8
jb 0x10003be6
mov eax, dword [edi]
jmp 0x10003be8
mov eax, edi
mov esi, dword [ebp + 8]
push eax
push str._sGoogleChromeUser_DataDefaultLocal_State
push esi
call fcn.10039f20
add esp, 0xc
xor eax, eax
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.10001a70
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
call fcn.1003ad30
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov byte [ebp - 4], 0
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
setne al
cmp dword [ebp - 0x18], 8
mov byte [ebp - 0x11], al
jb 0x10003c6c
push dword [ebp - 0x2c]
call ebx
mov al, byte [ebp - 0x11]
add esp, 4
test al, al
jne 0x10003cc6
cmp dword [edi + 0x14], 8
jb 0x10003c78
mov edi, dword [edi]
push edi
lea eax, [ebp - 0x2c]
push str._sGoogleChromeUser_DataLocal_State
push eax
call fcn.10039f20
mov edi, eax
add esp, 0xc
cmp esi, edi
je 0x10003cb8
cmp dword [esi + 0x14], 8
jb 0x10003c9d
push dword [esi]
call ebx
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push edi
mov word [esi], ax
call fcn.10001910
cmp dword [ebp - 0x18], 8
jb 0x10003cc6
push dword [ebp - 0x2c]
call ebx
add esp, 4
mov eax, esi
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.100ebd7b
mov esp, ebp
pop ebp
ret 4