joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10010350
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a443b
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x100d76a4]
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
lea eax, [ebp - 0x230]
push eax
call fcn.1000fce0
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.1007e640
add esi, 0x28
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x100103b6
mov eax, dword [esi]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x100ade44
push str.write_date
push str.universal_popup
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov dword [ebp - 0x240], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10010400
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x250]
call fcn.1000d240
cmp dword [ebp - 0x23c], 8
lea ecx, [ebp - 0x250]
mov eax, dword [ebp - 0x250]
lea edi, [ebp - 0x230]
mov ebx, dword [ebp - 0x230]
cmovae ecx, eax
cmp dword [ebp - 0x21c], 8
mov edx, dword [ebp - 0x220]
cmovae edi, ebx
cmp edx, dword [ebp - 0x240]
jne 0x10010488
test edx, edx
je 0x10010479
sub edi, ecx
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x10010482
add ecx, 2
sub edx, 1
jne 0x10010462
mov eax, dword [ebp - 0x250]
mov byte [ebp - 0x231], 1
jmp 0x1001048f
mov eax, dword [ebp - 0x250]
mov byte [ebp - 0x231], 0
mov ecx, dword [ebp - 0x23c]
cmp ecx, 8
jb 0x100104d5
lea ecx, [ecx*2 + 2]
mov edx, eax
cmp ecx, 0x1000
jb 0x100104cb
mov eax, dword [eax - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0x238], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x10010553
mov eax, dword [ebp - 0x238]
push ecx
push eax
call fcn.10060985
add esp, 8
cmp byte [ebp - 0x231], 0
je 0x100104fd
cmp dword [esi + 0x14], 8
jb 0x100104e6
mov esi, dword [esi]
push esi
push 0
push str.showed_count
push str.universal_popup
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
jmp 0x100104ff
xor esi, esi
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x10010535
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x1001052b
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010553
push ecx
push ebx
call fcn.10060985
add esp, 8
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.10060d04
mov esp, ebp
pop ebp
ret
call fcn.10081b79
int3
Function at 0x10013e40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x100d76a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [edi + 4], 0
mov dword [edi + 8], eax
jne 0x10013f1c
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.1007e640
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [0x100dcbcc]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.pluginPopMgrStub.dll
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10013f32
lea eax, [ebp - 0x20c]
push eax
call fcn.10062180
add esp, 4
test eax, eax
je 0x10013f32
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x10013f0a
push str.CreatePopMgr
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10013f0a
call eax
mov dword [edi + 4], eax
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x10013f32
mov eax, dword [ecx]
push str.universal_popup_popmgr_stub
push ecx
call dword [eax + 4]
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10060d04
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.10060d04
mov esp, ebp
pop ebp
ret 4
Function at 0x1001c9a0
Capabilities:
Check if file exists
Get common file path
Get startup folder
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a5202
mov eax, dword fs:[0]
push eax
sub esp, 0xa18
mov eax, dword [0x100d76a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa1c], ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xa18]
push 0x800
push 0
mov dword [ebp - 0xa24], esi
push eax
mov dword [ebp - 0xa20], 0
call fcn.1007e640
add esp, 0xc
lea eax, [ebp - 0xa18]
push 0
push 0x2e
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.TencentQQUserDataInfo.ini
lea eax, [ebp - 0xa18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 4], eax
lea eax, [ebp - 0xa18]
push eax
mov dword [ebp - 0xa20], 1
call edi
test eax, eax
lea eax, [ebp - 0xa18]
je 0x1001cac3
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x100ade44
push str.UserDataSavePath
push str.UserDataSet
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001ca85
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1000d240
cmp dword [esi + 0x10], 0
je 0x1001caba
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1001cab3
mov eax, dword [esi]
push eax
call edi
test eax, eax
jne 0x1001cb1f
push 0x12
push str.CacheFileNotExists
jmp 0x1001cb37
push 0x800
push 0
push eax
call fcn.1007e640
add esp, 0xc
lea eax, [ebp - 0xa18]
push 0
push 5
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.Tencent_Files
lea eax, [ebp - 0xa18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0xa18]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001cb01
sub ecx, edx
lea eax, [ebp - 0xa18]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1000d240
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1001cb29
mov eax, dword [esi]
push eax
call edi
test eax, eax
jne 0x1001cb45
push 0xa
push str.NotInstall
mov ecx, dword [ebp - 0xa1c]
add ecx, 0x14
call fcn.1000d240
mov eax, esi
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.10060d04
mov esp, ebp
pop ebp
ret 4
Function at 0x1001ce90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a55d8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100d76a4]
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, ecx
mov dword [ebp - 0x24], edi
test edi, edi
je 0x1001cecb
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x18]
mov dword [ebp - 4], 0
test eax, eax
jne 0x1001ceff
lea eax, [edi + 0x1c]
push eax
push 0
push edi
push 0x100214e0
push 0
push 0
call fcn.100859d4
add esp, 0x18
mov dword [edi + 0x18], eax
test eax, eax
jne 0x1001ceff
xor bl, bl
jmp 0x1001d00c
mov eax, dword [ebp + 8]
push 0x38
mov ebx, dword [eax]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
call fcn.10060955
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
test esi, esi
je 0x1001cf4a
mov ecx, dword [ebp - 0x20]
lea eax, [esi + 0x10]
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_obj_class_std::function_void____cdecl___void___.0
mov dword [eax], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8UniversalPopupClient__AEXXZPAV3__std__X__V_std__.0
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0x24], eax
jmp 0x1001cf4c
xor esi, esi
xorps xmm0, xmm0
lea eax, [esi + 0x10]
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x1001cf65
lock inc dword [esi + 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], esi
mov eax, dword [edi + 0x30]
lea ebx, [edi + 0x20]
mov ecx, dword [ebx + 8]
inc eax
mov byte [ebp - 4], 2
cmp ecx, eax
ja 0x1001cf89
push 1
mov ecx, ebx
call fcn.10022280
mov ecx, dword [ebx + 8]
lea eax, [ecx - 1]
and dword [ebx + 0xc], eax
mov ecx, dword [ebx + 0x10]
add ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
dec eax
and ecx, eax
lea eax, [ecx*4]
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x20], eax
cmp dword [ecx + eax], 0
jne 0x1001cfc8
push 0x28
call fcn.10060955
mov edx, dword [ebp - 0x20]
mov ecx, eax
mov eax, dword [ebx + 4]
add esp, 4
mov dword [edx + eax], ecx
mov eax, edx
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + eax]
lea ecx, [esi + 0x10]
mov byte [ebp - 0x19], 1
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_07df6a45706ac5e3eb6e1bf85cdbdb04___void___.0
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0x24], eax
inc dword [ebx + 0x10]
test esi, esi
je 0x1001d009
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x1001d009
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x1001d009
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov bl, byte [ebp - 0x19]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
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.10060d04
mov esp, ebp
pop ebp
ret 8
Function at 0x1001f8d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a57e6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x100d76a4]
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 eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x430], 0
push 0x404
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0
call fcn.1007e640
add esp, 0xc
mov dword [ebp - 0x420], 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
mov dword [ebp - 0x42c], edi
test edi, edi
jne 0x1001f98c
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x42c], eax
test edi, edi
jne 0x1001f98c
call fcn.1001e390
mov esi, eax
jmp 0x1001fa79
push dword [ebp - 0x424]
push dword [ebp - 0x428]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x1001f9af
call fcn.1001e390
jmp 0x1001fa6c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x428], ebx
test ebx, ebx
jne 0x1001f9cd
call fcn.1001e390
jmp 0x1001fa6c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x424], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x1001f9ee
mov esi, 0x8007000e
jmp 0x1001fa6e
push eax
lea ecx, [ebp - 0x420]
mov byte [ebp - 4], 2
call fcn.1001e260
jmp 0x1001fa18
cmp dword [ebp - 0x420], 0
mov dword [ebp - 4], 1
jne 0x1001fa2f
mov esi, 0x8007000e
jmp 0x1001fa6e
push esi
push dword [ebp - 0x420]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x1001fa4f
call fcn.1001e390
jmp 0x1001fa6c
mov eax, dword [ebp - 0x420]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x420]
call fcn.1001f730
mov esi, eax
test edi, edi
je 0x1001fa79
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x41c]
cmp dword [ebp - 0x420], eax
je 0x1001fa92
lea ecx, [ebp - 0x420]
call fcn.1001e7d0
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.10060d04
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100229d0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a5a79
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100d76a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ebx + 8], 0
mov dword [ebx + 0x18], 0
mov dword [ebp - 4], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], vtable.IPopMgrWrapCallBack.0
lea edi, [ebx + 0x34]
mov dword [ebx], vtable.CefWindow.0
lea esi, [edi + 8]
mov dword [ebx + 4], vtable.CefWindow.1.0
mov ecx, esi
mov dword [ebx + 0x28], vtable.CefWindow.2.0
mov dword [ebx + 0x30], 0
mov dword [edi], vtable.CppInterfaceBridge.0
mov dword [edi + 4], 0
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100290e0
mov dword [esi], eax
xor eax, eax
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 7
mov word [edi + 0x10], ax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x68], eax
lea ecx, [ebx + 0x70]
mov byte [ebp - 4], 3
mov byte [ebx + 0x6c], al
call fcn.10013bf0
mov dword [ebx + 0xbc], 0
mov eax, ebx
mov dword [ebx + 0xc0], 0xf
mov byte [ebx + 0xac], 0
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 0x10038ee0
Capabilities:
Query or enumerate registry value

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a7c23
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x100d76a4]
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 0x1003a2c5
cmp word [esi], di
je 0x1003a2c5
test eax, eax
je 0x1003a281
cmp word [eax], di
je 0x1003a281
push edi
push edi
push eax
push esi
push edi
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
js 0x1003a2c5
jmp 0x1003a2c0
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1007e640
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 0x1003a2c5
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 0x1003a33c
mov eax, dword [ebx + 0x24]
test eax, eax
js 0x1003a327
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 0x1003a2f5
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 0x1003a316
mov dword [ebp - 0x424], edi
test ecx, ecx
je 0x1003a35c
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 0x1003a327
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x1003a33c
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.10060d04
mov esp, ebp
pop ebp
ret 0x30
call fcn.100339b4
int3

Function at 0x1003b110
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x1003b125
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1003b130
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x1003b870
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a7dfa
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100d76a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.LogUtils::LogAppender.0
lea edi, [esi + 0x14]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [esi + 0xc], 1
mov dword [esi + 0x10], 0
call fcn.10009240
mov ecx, eax
test ecx, ecx
je 0x1003ba34
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0
lea ebx, [esi + 0x18]
call fcn.10009240
mov ecx, eax
test ecx, ecx
je 0x1003ba3e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 1
call fcn.10009240
mov ecx, eax
test ecx, ecx
je 0x1003ba48
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0xffffffff
lea eax, [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 5
mov dword [esi + 0x10], eax
test edx, edx
jne 0x1003b952
xor ecx, ecx
jmp 0x1003b970
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003b960
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.1000bef0
push edi
mov ecx, ebx
call fcn.10007300
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x1003b98c
xor ecx, ecx
jmp 0x1003b9a4
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003b994
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.1000bef0
push ebx
lea eax, [ebp + 0x10]
mov ecx, esi
push eax
call fcn.1003c460
push eax
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.10007300
mov edx, dword [ebp + 0x10]
or eax, 0xffffffff
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003b9e5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebx]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
test eax, eax
je 0x1003ba1e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1003ba1e
cmp dword [esi + 0x10], 0
je 0x1003ba15
push dword [edi]
call fcn.1008b4e5
add esp, 4
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
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 0xc
push 0x80004005
call fcn.10007c80
push 0x80004005
call fcn.10007c80
push 0x80004005
call fcn.10007c80
int3
Function at 0x1003c180
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a7ee8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x100d76a4]
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, ecx
mov esi, dword [ebp + 8]
test esi, esi
je 0x1003c354
push str.__set_log_lev0
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x1003c1d5
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 4]
jmp 0x1003c354
push str.__set_log_lev1
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x1003c1f3
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 4]
jmp 0x1003c354
push str.__set_log_lev2
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x1003c211
mov eax, dword [edi]
mov ecx, edi
push 2
call dword [eax + 4]
jmp 0x1003c354
push str.__set_log_lev3
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x1003c22f
mov eax, dword [edi]
mov ecx, edi
push 3
call dword [eax + 4]
jmp 0x1003c354
push str.__reload_log_switch
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x1003c354
lea eax, [edi + 4]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x1003c254
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [edi + 0x2c]
mov dword [edi + 0x1c], 3
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], ecx
jb 0x1003c287
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
cmp ecx, 8
jae 0x1003c29f
movups xmm0, xmmword [eax]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x1003c2dd
mov esi, ecx
mov eax, 0x7ffffffe
or esi, 7
lea ecx, [ebp - 0x28]
cmp esi, eax
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.1000cc00
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x2c]
push eax
call fcn.1007db40
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
push 0x100b43e4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.1003cce0
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 0x1003c30b
mov dword [edi + 0x1c], 0
cmp dword [edi + 0x28], 0
je 0x1003c344
mov eax, dword [edi]
mov ecx, edi
push 1
mov eax, dword [eax + 8]
call eax
test al, al
je 0x1003c344
push str._______log_reload_switch
lea ecx, [ebp - 0x4c]
call fcn.10022980
mov ecx, dword [edi + 0x28]
lea edx, [ebp - 0x4c]
push edx
mov byte [ebp - 4], 2
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x4c]
call fcn.10006a60
lea ecx, [ebp - 0x28]
call fcn.10006a60
lea ecx, [ebp - 0x34]
call fcn.1000f820
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.10060d04
mov esp, ebp
pop ebp
ret 4