joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d1db
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x44d278
push ebx
push esi
call fcn.0044d1a4
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0044b544
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x44d225
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x44d277
push edi
push eax
call fcn.0044b231
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x44d245
call fcn.0044b1f7
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x44d276
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0044b544
add esp, 0x20
test eax, eax
jne 0x44d264
push edi
call fcn.0044b1f7
jmp 0x44d26c
push ebx
call fcn.0044b1f7
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x100070c0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c0ce0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1022b584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x54
call fcn.10179990
mov ecx, dword [ebp + 8]
mov esi, eax
lea edx, [esi + 4]
mov dword [ebp - 0x14], esi
add esp, 4
mov dword [ebp - 4], 0
lea edi, [edx + 4]
mov dword [ebp - 0x18], edx
mov dword [esi], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8CAsyncExecuteURLExe__AEXABV__basic_string_DU__char_traits_D_std__V__allocator_D_2__2_00_ZPAV3_ABV42_ABV42_ABV42__std__X__V_std__.0
lea ebx, [ecx + 4]
mov eax, dword [ecx]
mov ecx, edi
push ebx
mov dword [edx], eax
mov dword [ebp + 8], edi
call fcn.100071a0
lea eax, [ebx + 0x18]
mov byte [ebp - 4], 1
lea ecx, [edi + 0x18]
push eax
mov dword [ebp - 0x18], ecx
call fcn.100071a0
lea eax, [ebx + 0x30]
mov byte [ebp - 4], 2
lea ecx, [edi + 0x30]
push eax
mov dword [ebp - 0x18], ecx
call fcn.100071a0
mov eax, dword [ebx + 0x48]
mov dword [edi + 0x48], eax
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
Function at 0x1000af70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c1086
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x1022b584]
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 eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x420], ecx
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x414], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
test edi, edi
jne 0x1000b00d
push 2
push eax
push esi
call ebx
mov edi, eax
test edi, edi
jne 0x1000b00d
call fcn.10009ad0
mov esi, eax
jmp 0x1000b106
push dword [ebp - 0x418]
push dword [ebp - 0x41c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x1000b030
call fcn.10009ad0
jmp 0x1000b0f9
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x1000b048
call fcn.10009ad0
jmp 0x1000b0f9
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x1000b063
mov esi, 0x8007000e
jmp 0x1000b0fb
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x1000b140
jb 0x1000b081
cmp eax, 0xffffffff
ja 0x1000b140
cmp eax, 0x400
jbe 0x1000b096
push eax
lea ecx, [ebp - 0x414]
call fcn.10009950
jmp 0x1000b0a2
lea eax, [ebp - 0x410]
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0
mov dword [ebp - 4], 1
jne 0x1000b0b9
mov esi, 0x8007000e
jmp 0x1000b0fb
push esi
push dword [ebp - 0x414]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x1000b0d9
call fcn.10009ad0
jmp 0x1000b0f9
mov eax, dword [ebp - 0x414]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x424]
push dword [ebp - 0x414]
call fcn.1000add0
mov esi, eax
test edi, edi
je 0x1000b106
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x410]
cmp dword [ebp - 0x414], eax
je 0x1000b120
lea ecx, [ebp - 0x414]
call fcn.10009db0
nop
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.101799ce
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.10009b10
int3
Function at 0x1000bae0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c111a
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x1022b584]
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 ecx, dword [0x1022e194]
mov ebx, dword [ebp + 8]
test ecx, ecx
jne 0x1000bb75
push 0x1021c068
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x1022e194], 0
jne 0x1000bb5c
push 0x1c
call fcn.10179990
mov esi, eax
add esp, 4
mov dword [ebp - 0x44], esi
test esi, esi
je 0x1000bb54
lea ecx, [esi + 4]
mov dword [esi], vtable._BaseModule::CCriticalSection.0
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x1000bb56
xor esi, esi
mov dword [0x1022e194], esi
push 0x1021c068
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x1022e194]
test ecx, ecx
jne 0x1000bb75
xor eax, eax
jmp 0x1000bbd1
mov eax, dword [0x1022e190]
test eax, eax
jne 0x1000bbd1
mov eax, dword [ecx]
push ecx
call dword [eax]
cmp dword [0x1022e190], 0
jne 0x1000bbc1
push 4
call fcn.10179990
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x1000bbaf
mov ecx, eax
call fcn.101827e0
mov ecx, eax
jmp 0x1000bbb1
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
xchg dword [ebp - 0x48], eax
mov dword [0x1022e190], ecx
mov eax, dword [0x1022e194]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [0x1022e190]
push 0
push 0x101d1fbc
push 1
mov ecx, eax
call fcn.10182870
cmp dword [ebx + 0xc], 0
jne 0x1000bcc4
call fcn.100a97a0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000bca2
push 0x13
push str.BasicTrayClient.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.1000cf00
push 3
push 0x101d1fdc
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000cf00
mov byte [ebp - 4], 2
call fcn.100a97a0
mov edi, eax
lea ecx, [ebp - 0xe0]
push 0x35
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10007f90
mov esi, eax
push str.StartPlugin
push esi
mov byte [ebp - 4], 3
call fcn.10008dd0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xe0]
call fcn.10008e90
lea ecx, [ebp - 0x28]
call fcn.10007310
lea ecx, [ebp - 0x40]
call fcn.10007310
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push eax
push 0
push ebx
push 0x1000bfd0
push 0
push 0
call fcn.10194ba0
add esp, 0x18
mov dword [ebx + 0xc], eax
mov eax, 1
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.101799ce
mov esp, ebp
pop ebp
ret 4
Function at 0x1000f820
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1000f879
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1000f879
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x1000f86a
cmp esi, edx
jae 0x1000f879
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x1000f858
cmp esi, edx
jae 0x1000f879
cmp word [esi], 0
je 0x1000f879
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x100111a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c1619
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x1022b584]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x224], edi
mov dword [edi], vtable.IBrowser.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [edi + 0x10], 0
call fcn.1018d4b0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x1022f158]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x219]
call fcn.10011df0
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100112ad
lea eax, [ebp - 0x218]
push eax
call fcn.1015b3b0
add esp, 4
test eax, eax
je 0x100112ad
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x100112ad
push str.GetPublicConfigHelperObj
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100112ad
call eax
jmp 0x100112af
xor eax, eax
mov dword [edi + 0x10], eax
test eax, eax
je 0x100112fb
lea eax, [ebp - 0x220]
push 1
push eax
call fcn.1016f450
add esp, 8
mov ecx, dword [edi + 0x10]
push dword [ebp - 0x220]
mov byte [ebp - 4], 1
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x220]
or ecx, 0xffffffff
mov byte [ebp - 4], 0
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x100112fb
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
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101799ce
mov esp, ebp
pop ebp
ret
Function at 0x100195e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x1022b584]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 0x1022e2e8
mov dword [ebp - 0x80], 0x6f0053
lea esi, [ebp - 0x80]
mov dword [ebp - 0x7c], 0x740066
push edi
mov dword [ebp - 0x78], 0x610077
mov edx, 0x3e
mov dword [ebp - 0x74], 0x650072
sub esi, eax
mov dword [ebp - 0x70], 0x4d005c
mov dword [ebp - 0x6c], 0x630069
mov dword [ebp - 0x68], 0x6f0072
mov dword [ebp - 0x64], 0x6f0073
mov dword [ebp - 0x60], 0x740066
mov dword [ebp - 0x5c], 0x57005c
mov dword [ebp - 0x58], 0x6e0069
mov dword [ebp - 0x54], 0x6f0064
mov dword [ebp - 0x50], 0x730077
mov dword [ebp - 0x4c], 0x43005c
mov dword [ebp - 0x48], 0x720075
mov dword [ebp - 0x44], 0x650072
mov dword [ebp - 0x40], 0x74006e
mov dword [ebp - 0x3c], 0x650056
mov dword [ebp - 0x38], 0x730072
mov dword [ebp - 0x34], 0x6f0069
mov dword [ebp - 0x30], 0x5c006e
mov dword [ebp - 0x2c], 0x6e0055
mov dword [ebp - 0x28], 0x6e0069
mov dword [ebp - 0x24], 0x740073
mov dword [ebp - 0x20], 0x6c0061
mov dword [ebp - 0x1c], 0x5c006c
mov dword [ebp - 0x18], 0x360033
mov dword [ebp - 0x14], 0x430030
mov dword [ebp - 0x10], 0x720068
mov dword [ebp - 0xc], 0x6d006f
mov dword [ebp - 8], 0x65
nop
lea ecx, [edx + 0x7fffffc0]
test ecx, ecx
je 0x100196fe
movzx ecx, word [esi + eax]
test cx, cx
je 0x100196fe
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x100196e0
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101799ce
mov esp, ebp
pop ebp
ret
Function at 0x1001b3d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x1022b584]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x7c], 0x6f0053
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x7c]
mov eax, 0x1022e4b0
mov dword [ebp - 0x78], 0x740066
push edi
mov dword [ebp - 0x74], 0x610077
mov edx, 0x3b
mov dword [ebp - 0x70], 0x650072
sub esi, eax
mov dword [ebp - 0x6c], 0x4d005c
mov dword [ebp - 0x68], 0x630069
mov dword [ebp - 0x64], 0x6f0072
mov dword [ebp - 0x60], 0x6f0073
mov dword [ebp - 0x5c], 0x740066
mov dword [ebp - 0x58], 0x57005c
mov dword [ebp - 0x54], 0x6e0069
mov dword [ebp - 0x50], 0x6f0064
mov dword [ebp - 0x4c], 0x730077
mov dword [ebp - 0x48], 0x43005c
mov dword [ebp - 0x44], 0x720075
mov dword [ebp - 0x40], 0x650072
mov dword [ebp - 0x3c], 0x74006e
mov dword [ebp - 0x38], 0x650056
mov dword [ebp - 0x34], 0x730072
mov dword [ebp - 0x30], 0x6f0069
mov dword [ebp - 0x2c], 0x5c006e
mov dword [ebp - 0x28], 0x6e0055
mov dword [ebp - 0x24], 0x6e0069
mov dword [ebp - 0x20], 0x740073
mov dword [ebp - 0x1c], 0x6c0061
mov dword [ebp - 0x18], 0x5c006c
mov dword [ebp - 0x14], 0x360033
mov dword [ebp - 0x10], 0x730030
mov dword [ebp - 0xc], 0x360065
lea ecx, [edx + 0x7fffffc3]
test ecx, ecx
je 0x1001b4e1
movzx ecx, word [esi + eax]
test cx, cx
je 0x1001b4e1
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1001b4c3
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101799ce
mov esp, ebp
pop ebp
ret
Function at 0x1001b7a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x1022b584]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x7c], 0x6f0053
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x7c]
mov eax, 0x1022e388
mov dword [ebp - 0x78], 0x740066
push edi
mov dword [ebp - 0x74], 0x610077
mov edx, 0x3b
mov dword [ebp - 0x70], 0x650072
sub esi, eax
mov dword [ebp - 0x6c], 0x4d005c
mov dword [ebp - 0x68], 0x630069
mov dword [ebp - 0x64], 0x6f0072
mov dword [ebp - 0x60], 0x6f0073
mov dword [ebp - 0x5c], 0x740066
mov dword [ebp - 0x58], 0x57005c
mov dword [ebp - 0x54], 0x6e0069
mov dword [ebp - 0x50], 0x6f0064
mov dword [ebp - 0x4c], 0x730077
mov dword [ebp - 0x48], 0x43005c
mov dword [ebp - 0x44], 0x720075
mov dword [ebp - 0x40], 0x650072
mov dword [ebp - 0x3c], 0x74006e
mov dword [ebp - 0x38], 0x650056
mov dword [ebp - 0x34], 0x730072
mov dword [ebp - 0x30], 0x6f0069
mov dword [ebp - 0x2c], 0x5c006e
mov dword [ebp - 0x28], 0x6e0055
mov dword [ebp - 0x24], 0x6e0069
mov dword [ebp - 0x20], 0x740073
mov dword [ebp - 0x1c], 0x6c0061
mov dword [ebp - 0x18], 0x5c006c
mov dword [ebp - 0x14], 0x360033
mov dword [ebp - 0x10], 0x730030
mov dword [ebp - 0xc], 0x360065
lea ecx, [edx + 0x7fffffc3]
test ecx, ecx
je 0x1001b8b1
movzx ecx, word [esi + eax]
test cx, cx
je 0x1001b8b1
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1001b893
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101799ce
mov esp, ebp
pop ebp
ret
Function at 0x1001e280
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c2ce3
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x1022b584]
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 dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001e461
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0
call fcn.100acbb0
push 0xfde9
push dword [edi]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
call fcn.100aae50
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 2
jb 0x1001e2f9
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x50]
call fcn.100ad960
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x1001e33a
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001e330
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001e481
push edx
push ecx
call fcn.101799c0
add esp, 8
push str.select_id_from_tb_fav
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x50]
call fcn.100ad540
mov byte [ebp - 4], 3
nop
lea ecx, [ebp - 0x6c]
call fcn.100ad3e0
lea ecx, [ebp - 0x6c]
test al, al
jne 0x1001e37b
push 0
push 0x101d2a84
call fcn.100ad860
cmp dword [esi], eax
jge 0x1001e371
mov dword [esi], eax
lea ecx, [ebp - 0x6c]
call fcn.100ad8e0
jmp 0x1001e350
call fcn.100acf20
lea ecx, [ebp - 0x50]
call fcn.100ace60
mov eax, 1
jmp 0x1001e463
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 - 0x14]
xor ecx, ebp
call fcn.101799ce
mov esp, ebp
pop ebp
ret 8
call fcn.10190cce
int3
Function at 0x1001e860
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c2da8
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x1022b584]
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 dword [ebp - 0x22c], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x228], 0
call fcn.1000ed90
mov ecx, eax
test ecx, ecx
je 0x1001ea9b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push 0x20a
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x228], 1
call fcn.1018d4b0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001e904
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000f6e0
lea ecx, [ebp - 0x21d]
call fcn.1001b6c0
mov edx, eax
test edx, edx
jne 0x1001e937
xor ecx, ecx
jmp 0x1001e94f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001e940
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.1001bd10
lea ecx, [ebp - 0x21d]
call fcn.1001b210
push eax
lea eax, [ebp - 0x224]
push edi
push eax
call fcn.1001b0d0
add esp, 0xc
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x224]
test eax, eax
sete byte [ebp - 0x21d]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001e9a5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x21d], 0
je 0x1001ea7b
push 0
push 0x101d1840
push str.InstallLocation
lea ecx, [ebp - 0x21d]
call fcn.1001b8d0
push eax
lea eax, [ebp - 0x224]
push SysReAllocString
push eax
call fcn.10034210
add esp, 0x18
push eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.100117f0
mov edx, dword [ebp - 0x224]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001ea0e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x1001ea7b
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x224], esi
call fcn.100121a0
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x224]
push eax
call fcn.100a1380
add esp, 8
push eax
mov ecx, edi
mov dword [ebp - 4], 2
call fcn.100117f0
mov eax, dword [ebp - 0x224]
mov byte [ebp - 4], 0
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1001ea6d
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
push 0xf
push str.appsdatausers
mov ecx, edi
call fcn.1001bd10
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.101799ce
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10009b10
int3
Function at 0x10021bc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c31f8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1022b584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx]
call dword [eax + 0x30]
mov esi, dword [ebx + 4]
xor edi, edi
cmp esi, dword [ebx + 8]
je 0x10021c6f
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.100121a0
add esp, 4
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
cmp dword [edi - 0xc], 0
mov dword [ebp - 4], 0
je 0x10021c85
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10021c85
push 0xa
push str.Bookmarks
lea ecx, [ebp - 0x10]
call fcn.1001bd10
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
mov ecx, ebx
push dword [ebp + 8]
push eax
call fcn.10021da0
mov edx, dword [ebp - 0x10]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x10021c67
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, dword [ebx + 8]
jne 0x10021bf7
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 8
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10021ca4
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
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 8