joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a4bd
Capabilities:
Check mutex on windows

Disassembly:
push 8
mov eax, 0x4f96a3
call fcn.004d1298
xor edi, edi
cmp dword [ebx + 4], edi
je 0x42a51a
mov dword [ebp - 0x14], vtable.KEvent.0
mov dword [ebp - 0x10], edi
push edi
push 0x5031a8
lea esi, [ebp - 0x14]
mov dword [ebp - 4], edi
call fcn.0042a446
push str.KPopCenterImpl_Exist
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x42a525
cmp esi, edi
je 0x42a512
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea ecx, [ebp - 0x14]
call fcn.0042a429
xor eax, eax
inc eax
call fcn.004d1370
ret 4
push dword [ebp + 8]
push ebx
call fcn.0045bf72
test al, al
je 0x42a512
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
push ebx
call fcn.0045c0a4
cmp eax, 1
je 0x42a512
push dword [ebp + 8]
call fcn.0045c024
lea ecx, [ebp - 0x14]
call fcn.0042a429
xor eax, eax
jmp 0x42a51d

Function at 0x42a5b6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ecx
je 0x42a645
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 4]
push edx
push ecx
lea edx, [ebp - 8]
push edx
push ecx
push dword [ebp + 8]
push eax
call edi
cmp dword [ebp - 8], 1
je 0x42a5ed
cmp dword [ebp - 8], 2
jne 0x42a644
push esi
mov esi, dword [ebp + 0xc]
call fcn.00402b3f
mov eax, dword [ebp - 4]
shr eax, 1
inc eax
push eax
call fcn.00401958
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push dword [ebx]
call edi
test eax, eax
jne 0x42a62b
mov eax, dword [ebp - 4]
shr eax, 1
and word [esi + eax*2], 0
mov dword [ebp - 0xc], 1
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x42a63c
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
mov edx, esi
call fcn.00401385
pop esi
pop edi
mov eax, dword [ebp - 0xc]
leave
ret 8

Function at 0x42bffb
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 0x550]
mov eax, dword [ecx]
push 0
mov dword [esi + 0x62c], 1
call dword [eax + 0x18]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x1f4
push 0x7ee
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [esp + 0x10]
test eax, eax
pop esi
je 0x42c049
mov ecx, dword [eax]
push str._ret__:_1
push eax
call dword [ecx + 4]
ret 0xc

Function at 0x42d02c
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi - 0x3d0]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esp + 8]
lea eax, [esi + 0x198]
push eax
mov byte [esi + 0x1ac], 0
call fcn.00402d46
push dword [esp + 0xc]
lea eax, [esi + 0x1a8]
push eax
call fcn.00402d46
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov eax, dword [esi]
push 8
mov ecx, esi
call dword [eax + 0x20]
pop esi
ret 8
Function at 0x42e4aa
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push str.preclosebyweb
lea eax, [esi + 0x56c]
push eax
mov byte [esi + 0x580], 0
call fcn.00402d46
lea ecx, [esi + 0x3d4]
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [esi + 0x550]
mov eax, dword [ecx]
push 5
call dword [eax + 0x18]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x1f4
push 0x7ee
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [esp + 0x10]
test eax, eax
pop esi
je 0x42e511
mov ecx, dword [eax]
push str._ret__:_1
push eax
call dword [ecx + 4]
ret 0xc

Function at 0x42f1a6
Capabilities:
Create process on windows

Disassembly:
push 0x10
mov eax, 0x4efc6e
call fcn.004d1298
and dword [ebp - 4], 0
mov edi, dword [ebp + 8]
cmp dword [edi - 0xc], 0
je 0x42f2ba
xor ebx, ebx
lea ecx, [ebp - 0x18]
call fcn.0048ae26
mov byte [ebp - 4], 1
mov eax, dword [0x550310]
mov ecx, 0x550310
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push edi
push str._url:__s_
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00401a57
mov edx, dword [ebp - 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
call fcn.0048dab4
test eax, eax
je 0x42f2a4
push 1
push ebx
push ebx
push edi
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [0x550bdc], ebx
cdq
je 0x42f2a4
cmp edx, ebx
jl 0x42f236
jg 0x42f230
cmp eax, 0x20
jbe 0x42f236
mov byte [ebp - 0xd], 1
jmp 0x42f239
mov byte [ebp - 0xd], bl
lea eax, [ebp - 0xd]
push eax
push str.___result:
push edi
push str.ShellExecute_
push 0x509228
push str.KCommonAlienPopBase::OpenUrlByUserToken
push 0x5091f4
lea eax, [ebp - 0x1c]
push eax
push 0x5091f0
push ecx
mov dword [ebp - 0x1c], 0x540
call fcn.004022f5
add esp, 4
call fcn.0040233d
call fcn.00423894
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
call fcn.00432440
mov esi, eax
call fcn.00402366
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004012f9
lea eax, [edi - 0x10]
call fcn.004012f9
call fcn.004d1370
ret 4

Function at 0x42f52a
Capabilities:
Read .ini file

Disassembly:
push 4
mov eax, 0x4eb355
call fcn.004d1298
mov eax, dword [esi + 0x480]
sub eax, 0x10
call fcn.00401311
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x50a144
lea eax, [ebp - 0x10]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.00402a1b
push dword [ebp - 0x10]
mov dword [esi + 0x658], edi
push 0x2ae
push str.width
mov dword [esi + 0x65c], edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, str.size
push ebx
call edi
push dword [ebp - 0x10]
mov dword [esi + 0x660], eax
push 0x1c6
push str.height
push ebx
call edi
mov ebx, dword [ebp - 0x10]
push ebx
push 5
push 0x50a180
push str.close
mov dword [esi + 0x664], eax
call edi
mov dword [esi + 0x670], eax
lea eax, [ebx - 0x10]
call fcn.004012f9
call fcn.004d1370
ret
Function at 0x42f672
Capabilities:
Check if file exists

Disassembly:
push 0x34
mov eax, 0x4f6e2f
call fcn.004d1298
mov ebx, 0x400000
lea ecx, [ebp - 0x10]
call fcn.0048afb1
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.00428fe8
mov eax, dword [eax]
cmp eax, 2
jne 0x42f6b5
lea eax, [ebp - 0x10]
push eax
call fcn.0048b04d
lea eax, [ebp - 0x10]
mov dword [esp], str.ksoft_
push eax
call fcn.00402a1b
mov eax, dword [0x550310]
mov esi, str.ceflibcef.dll
mov ecx, 0x550310
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], str.cefkwebui.dll
mov dword [ebp - 0x34], str.ceficudtl.dat
mov dword [ebp - 0x30], str.cefcef.pak
mov dword [ebp - 0x2c], str.cef_natives_blob.bin
mov dword [ebp - 0x28], str.ceflocaleszh_TW.pak
mov dword [ebp - 0x24], str.ceflocaleszh_CN.pak
mov dword [ebp - 0x20], str.ceflocalesen_US.pak
mov dword [ebp - 0x1c], ebx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x14], edi
xor eax, eax
cmp eax, esi
mov byte [ebp - 4], 1
je 0x42f74f
lea eax, [ebp - 0x18]
push esi
push eax
lea ecx, [ebp - 0x10]
call fcn.004062ff
pop ecx
pop ecx
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00402a90
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004012f9
mov edi, dword [ebp - 0x14]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42f754
mov esi, dword [ebp + ebx*4 - 0x38]
inc ebx
test esi, esi
jne 0x42f70e
xor esi, esi
inc esi
jmp 0x42f7bd
cmp dword [0x550bdc], 0
je 0x42f7bb
push str._not_exist__so_webkit_not_exist
push esi
push 0x50a348
push 0x509228
push str.KCommonAlienPopBase::IsWebKitExist
push 0x5091f4
lea eax, [ebp - 0x18]
push eax
push 0x5091f0
mov dword [ebp - 0x18], 0x66a
call fcn.004022f5
call fcn.0040233d
call fcn.00423894
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
mov esi, eax
call fcn.00402366
xor esi, esi
lea eax, [edi - 0x10]
call fcn.004012f9
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, esi
call fcn.004d1370
ret
Function at 0x42fcf3
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x550840]
push ebx
push esi
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x20], esi
je 0x42fd17
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
jmp 0x42fd1b
mov dword [esp + 0x10], esi
cmp dword [esp + 0x10], esi
jne 0x42fd2f
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
mov dword [esp + 0x10], eax
je 0x42fd5c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [esp + 0x10], eax
je 0x42fd5c
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x42fd5c
push esi
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x20], 1
mov ebx, dword [ebp + 8]
push dword [esp + 0x10]
mov ecx, ebx
mov dword [ebx + 0x364], esi
call fcn.00430111
mov ecx, eax
cmp ecx, esi
mov dword [esp + 0x18], ecx
jne 0x42fd8d
push 1
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x42feba
mov eax, dword [0x550840]
cmp eax, esi
mov dword [esp + 0x24], esi
je 0x42fda4
mov edx, dword [eax + 4]
mov dword [esp + 0x24], edx
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x10]
lea edi, [ebx + 4]
push edi
call fcn.00420a46
cmp dword [ebx + 0x354], esi
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
je 0x42fe4e
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push esi
push esi
push 0x2001
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push esi
push esi
push esi
push esi
push esi
push dword [esp + 0x30]
call ebx
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x14]
je 0x42fe11
push 1
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x14]
je 0x42fe31
push esi
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0xffffffffffffffec
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
je 0x42fe4e
push esi
push esi
push 0xf
push dword [edi]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp + 8]
call fcn.004302a0
mov eax, dword [ebp + 8]
push 0x97
push esi
push esi
push esi
push esi
push esi
push dword [edi]
mov dword [eax + 0x364], esi
call ebx
cmp dword [esp + 0x20], esi
je 0x42fe99
push 1
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [esp + 0x10], esi
je 0x42fe99
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi]
jne 0x42fe99
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x550840]
cmp eax, esi
je 0x42fea9
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
push dword [edi]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x368]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x431542
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
xor ebx, ebx
lea edi, [esi + 0x300]
cmp dword [edi], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
je 0x431573
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi], ebx
mov ebx, dword [ebp + 0x10]
push 1
push ebx
push dword [ebp + 0xc]
lea ecx, [esi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x30]
test eax, eax
mov dword [ebp - 4], eax
jne 0x4315b7
push 1
push ebx
push dword [ebp + 0xc]
lea ecx, [esi + 0x10c]
mov eax, dword [ecx]
call dword [eax + 0x30]
test eax, eax
mov dword [ebp - 4], eax
jne 0x4315b7
push 1
push ebx
push dword [ebp + 0xc]
lea ecx, [esi + 0x1f0]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x2ec]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x431705
push eax
call fcn.00405678
mov edi, eax
test edi, edi
pop ecx
je 0x431684
mov eax, dword [edi + 0x10]
push 2
mov dword [ebp - 8], eax
mov eax, dword [edi]
push 0
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
test eax, eax
je 0x4315fb
push edi
call fcn.0043c13d
movzx eax, word [ebp + 0xc]
movzx ebx, bx
shl ebx, 0x10
or ebx, eax
push ebx
push dword [ebp + 8]
mov ecx, edi
push 0x202
call fcn.004057f4
mov eax, dword [ebp - 4]
cmp dword [esi + 0x2ec], eax
jne 0x431651
mov ecx, dword [edi + 0x40]
xor eax, eax
cmp ecx, eax
je 0x431643
cmp word [ecx], ax
je 0x431643
push 1
push eax
push eax
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x431684
cmp dword [edi + 0x10], eax
je 0x431684
mov dword [ebp - 0xc], 1
jmp 0x431684
mov eax, dword [edi]
push 1
push 0
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
test eax, eax
je 0x43166d
push edi
call fcn.0043c13d
push ebx
push dword [ebp + 8]
mov ecx, edi
push 0x2a3
call fcn.004057f4
mov dword [ebp - 0x10], 1
xor eax, eax
cmp dword [ebp - 0xc], eax
mov dword [esi + 0x2ec], eax
je 0x4316c6
mov eax, dword [esi + 4]
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
mov ecx, edi
mov dword [ebp - 0x20], 1
call dword [eax + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x24]
push 0x4e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x431705
cmp dword [ebp - 0x10], eax
je 0x431705
mov ecx, dword [ebp - 8]
cmp ecx, eax
je 0x431705
mov eax, dword [esi + 4]
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x28]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x14]
add esi, 0x2e8
cmp eax, dword [esi]
jne 0x431705
and dword [esi], 0
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x432684
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x9c
lea ebp, [esp - 4]
mov eax, dword [0x54b0c4]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push 0xc
mov eax, 0x4e4df1
call fcn.004d1298
lea ecx, [ebp]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
xor esi, esi
push 0x50a7f0
lea ecx, [ebp]
mov dword [ebp - 4], esi
call dword [0x4fe438]
push str.9B7A98EC_7EF9_468c_ACC8_37C793DBD7E0
lea ecx, [ebp]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push str.Implemented_Categories_
lea ecx, [ebp]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push str.A5F7140E_4311_4ef9_AABC_F55941B5EBE5
lea ecx, [ebp]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
mov dword [ebp - 0x10], esi
jae 0x4326fd
lea eax, [ebp + 4]
lea ecx, [ebp - 0x10]
push ecx
push 0x201
push esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
je 0x432749
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
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 + 0x9c]
xor ecx, ebp
call fcn.004d0736
add ebp, 0xa0
leave
ret
push 0x7e
lea eax, [ebp + 0x1e]
push esi
push eax
mov word [ebp + 0x1c], si
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push str.idex
push dword [ebp - 0x10]
mov dword [ebp - 0x18], 0x80
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
jne 0x432794
lea eax, [ebp + 0x1c]
push eax
mov ecx, edi
call dword [0x4fe438]
xor esi, esi
inc esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x432717
Function at 0x432a60
Capabilities:
Terminate process

Disassembly:
push 0xc
mov eax, 0x4f6dd6
call fcn.004d1298
mov eax, dword [ebp + 8]
and dword [ebp - 0x10], 0
mov dword [ebp - 0x18], vtable.KWebUiSubProcessHelper.0
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
call fcn.004664f3
test eax, eax
jne 0x432a97
mov eax, 0x80004005
call fcn.004d1370
ret 4
call fcn.00465d38
test eax, eax
mov dword [ebp - 0x10], eax
je 0x432a8a
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
call dword [ecx + 4]
mov esi, eax
cmp esi, 0xffffffff
je 0x432ace
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov eax, esi
jmp 0x432a8f
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x433007
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
xor ebx, ebx
cmp dword [edi + 0xc], ebx
push esi
jne 0x4330f8
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push 1
push ebx
call esi
cmp eax, ebx
mov dword [edi + 4], eax
je 0x433057
push ebx
push ebx
push 1
push ebx
call esi
cmp eax, ebx
mov dword [edi], eax
je 0x433057
push ebx
push ebx
push edi
push 0x433368
push ebx
push ebx
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
cmp eax, ebx
mov dword [edi + 8], eax
je 0x433057
mov dword [edi + 0xc], 1
cmp dword [edi + 0xc], ebx
je 0x43309e
cmp dword [0x550bdc], ebx
je 0x4330f8
push 0x50aa6c
push 0x50aa68
push str.SyncDirectReportor_class_KInfocNoKfmtFileWrap_::GlobalInit
push 0x5091f0
call fcn.004022f5
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
mov esi, eax
call fcn.00402366
jmp 0x4330f8
cmp dword [0x550bdc], ebx
je 0x4330da
push str.sync_report_init_failure.
push 0x50aa68
push str.SyncDirectReportor_class_KInfocNoKfmtFileWrap_::GlobalInit
push 0x5091f0
call fcn.004022f5
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
mov esi, eax
call fcn.00402366
mov eax, dword [edi + 4]
cmp eax, ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4330ed
push eax
call esi
mov dword [edi + 4], ebx
mov eax, dword [edi]
cmp eax, ebx
je 0x4330f8
push eax
call esi
mov dword [edi], ebx
pop esi
pop ebx
pop ecx
ret
Function at 0x434b90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x434ba3
push 0x80004005
call fcn.00401940
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x434baa
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x434bda
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push 4
push 0
push dword [esp + 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 0xc

Function at 0x434c93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x54b0c4]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
lea edx, [ebp - 0x214]
push edx
push 0x2001f
mov eax, ecx
mov ecx, dword [ebp + 8]
xor esi, esi
push esi
mov dword [ebp - 0x220], eax
mov eax, dword [eax]
push ecx
push eax
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x214], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
cmp edi, esi
jne 0x434db0
xor eax, eax
cmp dword [ebp - 0x210], esi
je 0x434d01
push dword [ebp - 0x210]
call ebx
cmp eax, esi
mov ecx, dword [ebp - 0x214]
mov edi, eax
mov dword [ebp - 0x210], ecx
jne 0x434db0
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x228]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push ecx
jmp 0x434d74
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x210]
call fcn.00434c93
cmp eax, esi
mov dword [ebp - 0x214], eax
jne 0x434dd3
lea eax, [ebp - 0x228]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x210]
mov dword [ebp - 0x218], 0x100
call edi
test eax, eax
je 0x434d39
cmp dword [ebp - 0x210], esi
je 0x434d9a
push dword [ebp - 0x210]
call ebx
mov dword [ebp - 0x210], esi
push dword [ebp - 0x21c]
mov eax, dword [ebp - 0x220]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
cmp dword [ebp - 0x210], esi
je 0x434dc0
push dword [ebp - 0x210]
call ebx
mov eax, edi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d0736
leave
ret 4
cmp dword [ebp - 0x210], esi
je 0x434de3
push dword [ebp - 0x210]
call ebx
mov eax, dword [ebp - 0x214]
jmp 0x434dc2