joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10041050
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10185da1
mov eax, dword fs:[0]
push eax
sub esp, 0x2d4
mov eax, dword [0x101d90a8]
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
cmp dword [edi + 0x1f8], 0
je 0x10041093
mov eax, 1
jmp 0x1004125c
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1015bd90
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x101df6ac]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call esi
push str.UtilsWebView.dll
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 0x10041158
lea eax, [ebp - 0x218]
push eax
call fcn.10067600
add esp, 4
test eax, eax
je 0x10041158
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x10041158
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetWebViewFactory
push esi
call ebx
test eax, eax
je 0x1004113c
call eax
mov dword [edi + 0x1f8], eax
push str.IWebViewToIWebViewEx
push esi
call ebx
push str.IsSupportedWebViewEngine
push esi
mov dword [edi + 0x1fc], eax
call ebx
mov dword [edi + 0x200], eax
cmp dword [edi + 0x1f8], 0
jne 0x10041242
call fcn.1006bca0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1004125a
push 0x63
push str.d:jenkins.jenkinsworkspacelib_commonwnd_plugin_realeasewnd_pluginwndpermanent_web_window.cc
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.1001f970
push 3
push 0x10193314
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1001f970
mov byte [ebp - 4], 1
call fcn.1006bca0
mov edi, eax
lea ecx, [ebp - 0x2e0]
push 0x68
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.100119f0
mov esi, eax
push str.Init_View_Helper_fail
push esi
mov byte [ebp - 4], 2
call fcn.100146d0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x2e0]
call fcn.10014b90
lea ecx, [ebp - 0x230]
call fcn.10005450
lea ecx, [ebp - 0x248]
call fcn.10005450
jmp 0x1004125a
mov eax, dword [edi + 0x200]
test eax, eax
je 0x1004125a
push 0
push 2
call eax
test eax, eax
jne 0x10041089
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.1013724c
mov esp, ebp
pop ebp
ret
Function at 0x10046c90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10187d48
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x101d90a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
test edi, edi
je 0x10046cc8
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x18]
mov dword [ebp - 4], 0
test eax, eax
jne 0x10046cfc
lea eax, [edi + 0x1c]
push eax
push 0
push edi
push 0x10019c90
push 0
push 0
call fcn.1016b55f
add esp, 0x18
mov dword [edi + 0x18], eax
test eax, eax
jne 0x10046cfc
xor bl, bl
jmp 0x10046e0b
mov eax, dword [ebp + 8]
push 0x38
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
call fcn.1013725d
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
test esi, esi
je 0x10046d53
mov ecx, dword [ebp + 8]
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__P8CPopWndImpl__AEXXZPAV3__std__X__V_std__.0
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], ebx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x24], eax
jmp 0x10046d55
xor esi, esi
lea eax, [esi + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
test esi, esi
je 0x10046d66
lock inc dword [esi + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 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 0x10046d8a
push 1
mov ecx, ebx
call fcn.1001da80
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 + 8], eax
cmp dword [eax + ecx], 0
jne 0x10046dc7
push 0x28
call fcn.1013725d
mov ecx, dword [ebx + 4]
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
mov eax, edx
mov ecx, dword [ebx + 4]
mov eax, dword [eax + ecx]
lea ecx, [esi + 0x10]
mov byte [ebp + 0xb], 1
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_4d254b612af9b7b94839583204c78899___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 0x10046e08
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x10046e08
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x10046e08
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov bl, byte [ebp + 0xb]
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 esp, ebp
pop ebp
ret 8
Function at 0x1004c720
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10189800
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x101d90a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x10]
mov ecx, dword [edi + 4]
cmp ecx, 1
je 0x1004c87b
test ecx, ecx
je 0x1004c87b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x138]
cmp dword [ebp + 0xc], eax
jne 0x1004c87b
cmp ecx, 2
jne 0x1004c87b
mov eax, dword [edi + 0x14]
test eax, eax
je 0x1004c87b
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1004c87b
push dword [edi + 0x14]
lea ecx, [ebp + 0x10]
call fcn.10004fe0
mov eax, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 4], 0
mov edx, dword [eax - 0xc]
lea ecx, [edx - 4]
test ecx, ecx
cmovns esi, ecx
cmp esi, edx
jl 0x1004c7cb
add eax, 0xfffffff0
push eax
call fcn.10005980
add esp, 4
add eax, 0x10
mov dword [ebp + 0xc], eax
jmp 0x1004c838
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x1004c7dd
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x1004c7eb
call fcn.10003400
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
mov ebx, dword [ebp + 0x10]
test ecx, ecx
je 0x1004c88f
test ebx, ebx
jne 0x1004c802
test esi, esi
jne 0x1004c899
mov eax, dword [ecx]
push 2
push esi
call dword [eax]
test eax, eax
je 0x1004c8a3
lea ecx, [eax + 0x10]
mov dword [ebp + 0xc], ecx
test esi, esi
js 0x1004c899
cmp esi, dword [ecx - 8]
jg 0x1004c899
lea eax, [esi + esi]
mov dword [ecx - 0xc], esi
push eax
push ebx
push eax
xor edx, edx
push ecx
mov word [eax + ecx], dx
call fcn.10007d20
add esp, 0x10
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp + 0x10]
call fcn.10005610
lea ecx, [ebp + 0xc]
call fcn.10002f30
push 3
push dword [ebp + 0x10]
push dword [edi + 0x14]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [ebp + 8]
push 0
push 1
push 0x478
push dword [eax - 0x6c]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp + 0x10]
call fcn.10002f30
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.10003040
push 0x80070057
call fcn.10003040
call fcn.10003c00
int3
Function at 0x10052710
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10187d48
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x101d90a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
test edi, edi
je 0x10052748
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x18]
mov dword [ebp - 4], 0
test eax, eax
jne 0x1005277c
lea eax, [edi + 0x1c]
push eax
push 0
push edi
push 0x10019c90
push 0
push 0
call fcn.1016b55f
add esp, 0x18
mov dword [edi + 0x18], eax
test eax, eax
jne 0x1005277c
xor bl, bl
jmp 0x1005288b
mov eax, dword [ebp + 8]
push 0x38
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
call fcn.1013725d
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
test esi, esi
je 0x100527d3
mov ecx, dword [ebp + 8]
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__P8CWebWndImpl__AEXXZPAV3__std__X__V_std__.0
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], ebx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x24], eax
jmp 0x100527d5
xor esi, esi
lea eax, [esi + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
test esi, esi
je 0x100527e6
lock inc dword [esi + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 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 0x1005280a
push 1
mov ecx, ebx
call fcn.1001da80
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 + 8], eax
cmp dword [eax + ecx], 0
jne 0x10052847
push 0x28
call fcn.1013725d
mov ecx, dword [ebx + 4]
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
mov eax, edx
mov ecx, dword [ebx + 4]
mov eax, dword [eax + ecx]
lea ecx, [esi + 0x10]
mov byte [ebp + 0xb], 1
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_bf5382bb7f05f7080a68f7036dab53ef___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 0x10052888
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x10052888
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x10052888
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov bl, byte [ebp + 0xb]
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 esp, ebp
pop ebp
ret 8
Function at 0x10058dd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10185da1
mov eax, dword fs:[0]
push eax
sub esp, 0x2d4
mov eax, dword [0x101d90a8]
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
cmp dword [edi + 0x1b8], 0
je 0x10058e13
mov eax, 1
jmp 0x10058fdc
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1015bd90
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x101df6ac]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call esi
push str.UtilsWebView.dll
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 0x10058ed8
lea eax, [ebp - 0x218]
push eax
call fcn.10067600
add esp, 4
test eax, eax
je 0x10058ed8
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x10058ed8
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetWebViewFactory
push esi
call ebx
test eax, eax
je 0x10058ebc
call eax
mov dword [edi + 0x1b8], eax
push str.IWebViewToIWebViewEx
push esi
call ebx
push str.IsSupportedWebViewEngine
push esi
mov dword [edi + 0x1bc], eax
call ebx
mov dword [edi + 0x1c0], eax
cmp dword [edi + 0x1b8], 0
jne 0x10058fc2
call fcn.1006bca0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10058fda
push 0x56
push str.d:jenkins.jenkinsworkspacelib_commonwnd_plugin_realeasewnd_pluginwndwebwnd.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.1001f970
push 3
push 0x10193314
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1001f970
mov byte [ebp - 4], 1
call fcn.1006bca0
mov edi, eax
lea ecx, [ebp - 0x2e0]
push 0x49
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.100119f0
mov esi, eax
push str.Init_View_Helper_fail
push esi
mov byte [ebp - 4], 2
call fcn.100146d0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x2e0]
call fcn.10014b90
lea ecx, [ebp - 0x230]
call fcn.10005450
lea ecx, [ebp - 0x248]
call fcn.10005450
jmp 0x10058fda
mov eax, dword [edi + 0x1c0]
test eax, eax
je 0x10058fda
push 0
push 2
call eax
test eax, eax
jne 0x10058e09
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.1013724c
mov esp, ebp
pop ebp
ret
Function at 0x10064500
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x10064529
mov dword [ebx + 0xc], 0
mov dword [ebx + 8], 0
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx + 4], 0
movzx eax, word [ebp + 8]
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
jne 0x1006454a
xor esi, esi
jmp 0x1006463d
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x1006463d
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 8], eax
test eax, eax
jne 0x1006457b
xor esi, esi
jmp 0x1006463d
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
jne 0x10064598
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
jmp 0x1006463d
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x100645b8
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
jmp 0x1006463d
push esi
push dword [ebp + 8]
push eax
call fcn.1015b290
add esp, 0xc
mov dword [ebp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 0x10]
xor esi, esi
test eax, eax
je 0x100645e2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp + 0x10]
push eax
push 1
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x10064629
mov edi, dword [ebp + 0x10]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x10064625
lea eax, [ebp + 8]
mov dword [esi], vtable.Gdiplus::Bitmap.0
push eax
push edi
mov dword [ebp + 8], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
jmp 0x10064630
xor esi, esi
jmp 0x10064630
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x1006463d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebx + 4], esi
pop edi
test esi, esi
jne 0x1006464d
pop esi
xor al, al
pop ebx
pop ebp
ret 0xc
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 0
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x10064667
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [ebx + 4]
mov dword [ebx + 8], eax
lea eax, [ebp + 0x10]
push eax
mov dword [ebp + 0x10], 0
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x1006468a
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov ecx, ebx
mov dword [ebx + 0xc], eax
call fcn.10064490
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x10066190
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018b73f
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x101d90a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x100662ad
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100662ad
lea eax, [ebp + 8]
mov ecx, ebx
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.10066460
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebx]
jne 0x100662ad
push 0x10
call fcn.1013725d
mov esi, eax
add esp, 4
mov dword [ebp + 0xc], esi
test esi, esi
je 0x100662ad
mov eax, dword [ebp + 0x10]
mov dword [esi + 4], 0
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0xc], 1
mov dword [esi], 1
mov dword [esi + 8], 0xffffffff
push 0x18
mov dword [esi + 0xc], eax
call fcn.1013725d
add esp, 4
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x1006624e
mov ecx, eax
call fcn.100641b0
jmp 0x10066250
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 4], eax
test eax, eax
je 0x10066271
push dword [ebp + 0x10]
mov ecx, eax
call fcn.10064760
mov ecx, dword [esi + 4]
push edi
call fcn.100646a0
push dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x1c]
mov dword [esi], 1
push eax
mov dword [ebp - 0x10], esi
call fcn.10065cc0
mov eax, 1
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
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 0xc
Function at 0x10069d30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018bdb1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x101d90a8]
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.10003400
mov ecx, eax
test ecx, ecx
je 0x10069ec4
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 0x10069e85
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 0x10069e77
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10069e85
add eax, 0x10
push 0x101df8ba
push eax
mov dword [ebp - 0x20], eax
call fcn.10137a02
mov esi, eax
add esp, 8
test esi, esi
je 0x10069e85
push dword [ebp - 0x20]
push 0
push esi
call fcn.1015bd90
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 0x10069e3a
push esi
call fcn.101376ed
add esp, 4
jmp 0x10069e85
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10069e40
sub ecx, edx
sar ecx, 1
je 0x10069e6e
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10069e56
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.10006830
push esi
call fcn.101376ed
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10069e85
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 0x10069ea4
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.1013724c
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.10003040
int3
Function at 0x10069ed0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x101d90a8]
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 0x10069ef4
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 0x10069f56
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 0x10069f56
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 0x10069f71
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.1013724c
mov esp, ebp
pop ebp
ret 0x10