joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431550
Capabilities:
Delete service

Disassembly:
push ebx
push esi
push edi
push 0xf003f
push 0
push 0
mov ebx, ecx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x431604
cmp edi, 0xffffffff
je 0x431604
push 0xf01ff
push str.wpscloudsvr
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x4315db
cmp esi, 0xffffffff
je 0x4315db
push 0x1388
push esi
mov ecx, ebx
call fcn.00430fe0
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov ecx, eax
test ecx, ecx
jne 0x4315bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0x430
sete cl
xor eax, eax
mov ebx, 0x50005
test ecx, ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmovne ebx, eax
call esi
push edi
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
shl ebx, 0x10
or ebx, 5
test esi, esi
je 0x43161b
cmp esi, 0xffffffff
je 0x43161b
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
shl ebx, 0x10
or ebx, 5
test edi, edi
je 0x431624
cmp edi, 0xffffffff
je 0x431624
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x431950
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4ce4bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4d389c]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push edi
mov edi, dword [ebp + 8]
test eax, eax
je 0x431987
push 0x3e9
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [0x4d389c]
inc eax
mov dword [0x4d389c], eax
call fcn.004110c0
test eax, eax
je 0x431adb
mov eax, dword fs:[0x2c]
mov ecx, dword [0x4d6db4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4d3924]
cmp eax, dword [ecx + 4]
jg 0x431afe
push esi
mov esi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itow_s]
push 0xa
push 0x10
push 0x4d38a0
push dword [0x4d3920]
call esi
push 0xa
push 0x20
mov eax, edi
cdq
push 0x4d38e0
push edx
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__i64tow_s]
add esp, 0x24
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0xa
push 0x10
push 0x4d38c0
push eax
call esi
mov ecx, 8
mov dword [0x4d3930], 1
mov esi, str.kcrashdumper.exe
mov dword [0x4d392c], 0
lea edi, [ebp - 0x28]
mov dword [0x4d3928], 0xc
rep movsd dword es:[edi], dword [esi]
add esp, 0x10
lea eax, [ebp - 0x28]
movsw word es:[edi], word [esi]
push eax
call fcn.004110c0
push eax
push str._s_s
push 0x4d3938
call fcn.00431630
call fcn.00411460
push eax
push 0x4d38e0
push 0x4d38c0
push 0x4d38a0
push str._pid_s__tid_s__exp_s__callfrom1__module_s
push 0x4d4138
call fcn.00431670
push 0x4d527c
push 0x4d5238
push 0
push 0
push 1
push 0
mov eax, 0xa
mov dword [0x4d5238], 0x44
push 0x4d4138
push 0x4d3938
mov dword [0x4d5264], 1
mov word [0x4d5268], ax
call fcn.00493270
add esp, 0x48
mov dword [0x4d528c], eax
test eax, eax
je 0x431ada
push 0xffffffffffffffff
push dword [0x4d527c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x4d5280]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [0x4d527c]
call esi
pop esi
call fcn.00431b40
push 0x3e9
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00499afc
mov esp, ebp
pop ebp
ret
push 0x4d3924
call fcn.00499ebf
add esp, 4
cmp dword [0x4d3924], 0xffffffff
jne 0x4319ba
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push 0x4d3924
mov dword [0x4d3920], eax
call fcn.00499e75
add esp, 4
jmp 0x4319ba
Function at 0x431b40
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a015d
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4ce4bc]
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
call fcn.004110c0
test eax, eax
je 0x431c94
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401960
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x60], ecx
cmp eax, 8
jb 0x431c8c
add eax, 0xfffffff9
lea edx, [ecx + eax*2]
mov eax, ecx
mov dword [ebp - 0x5c], edx
sub edx, eax
mov esi, 0
sar edx, 1
je 0x431bd5
cmp word [eax], 0x2f
je 0x431bd3
cmp edx, 1
je 0x431bd5
add eax, 2
dec edx
cmp word [eax], 0x2f
jne 0x431bc4
mov esi, eax
mov eax, esi
test eax, eax
je 0x431c8c
movzx edx, word [eax]
mov edi, 0x2f
mov esi, 8
mov ecx, str._nativex
cmp edx, edi
jb 0x431c14
mov ebx, eax
sub ebx, ecx
cmp dx, di
ja 0x431c14
cmp esi, 1
je 0x431c1c
movzx edx, word [ebx + ecx + 2]
add ecx, 2
dec esi
movzx edi, word [ecx]
cmp dx, di
jae 0x431bfc
mov edx, dword [ebp - 0x5c]
add eax, 2
jmp 0x431bb3
sub eax, dword [ebp - 0x60]
sar eax, 1
cmp eax, 0xffffffff
je 0x431c8c
lea eax, [ebp - 0x58]
push 1
push eax
call fcn.0048fe70
push str._addonsjsapi_nativex.dll
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
call fcn.00401590
add esp, 0x14
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.00401af0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x431c84
push str.ProcNativeXCrash
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x431c7d
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x40]
call fcn.00401af0
lea ecx, [ebp - 0x28]
call fcn.00401af0
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.00499afc
mov esp, ebp
pop ebp
ret
Function at 0x432270
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a01f5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4ce4bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 0xc]
push esi
call fcn.00432490
xor eax, eax
mov dword [edi], vtable.KClientHostSplashShow.0
mov dword [edi + 0x98], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x18], ax
cmp byte [0x4d58f8], al
je 0x4322f3
mov eax, 1
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1a]
push eax
push 0x4ac4b4
push str.KClientHostSplashShow
push 1
call fcn.0045bb20
add esp, 0x14
mov ebx, dword [ebp + 8]
mov dword [edi + 0x20], 0
mov byte [ebp - 4], 1
mov al, byte [ebx + 0x80]
mov byte [edi + 0x9c], al
cmp byte [ebx], 0
je 0x432454
cmp byte [ebx + 0x83], 0
jne 0x432454
push 0
mov dword [edi + 0x20], 1
call fcn.0048f0f0
add esp, 4
test al, al
je 0x432351
test esi, esi
je 0x43234b
cmp esi, 1
je 0x43234b
cmp esi, 2
je 0x43234b
cmp esi, 3
jne 0x432351
test byte [ebx + 8], 0x1f
jmp 0x432355
cmp dword [ebx + 8], 0
je 0x43235e
mov dword [edi + 0x20], 0
cmp dword [ebx + 0xc8], 0
je 0x43236e
mov dword [edi + 0x20], 0
cmp dword [ebx + 4], 0
jne 0x432386
cmp dword [ebx + 0x28], 1
je 0x432386
cmp dword [ebx + 0x10], 1
je 0x432386
cmp byte [ebx + 0x7e], 0
je 0x43238d
mov dword [edi + 0x20], 0
cmp dword [ebx + 0x30], 0
je 0x4323ea
call fcn.00436fa0
test al, al
je 0x4323e3
cmp dword [edi + 0x24], 1
jne 0x4323ea
cmp dword [ebx + 0x30], 1
jne 0x4323ea
mov eax, dword [ebx + 0x2c]
mov esi, dword [eax]
cmp esi, eax
je 0x4323ea
push 0xffffffffffffffff
lea ecx, [esi + 8]
push str..pps
call fcn.00438570
cmp eax, 0xffffffff
jne 0x4323e3
push eax
push str..ppsx
lea ecx, [esi + 8]
call fcn.00438570
cmp eax, 0xffffffff
jne 0x4323e3
mov eax, dword [esi]
mov esi, eax
cmp eax, dword [ebx + 0x2c]
jne 0x4323b1
jmp 0x4323ea
mov dword [edi + 0x20], 0
cmp dword [ebx + 0x10], 1
jne 0x432454
test byte [ebx + 8], 0x1f
je 0x432454
lea eax, [ebp + 0xc]
xor ebx, ebx
push eax
push 1
push ebx
push str.SoftwarekingsoftOffice6.0CommonApplication_Settings
push 0x80000001
mov dword [ebp + 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43244b
lea eax, [ebp - 0x10]
mov dword [ebp + 8], ebx
push eax
lea eax, [ebp + 8]
mov dword [ebp - 0x10], 4
push eax
push ebx
push ebx
push str.oleForceShowSplash
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x432442
cmp dword [ebp + 8], ebx
setne bl
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [edi + 0x98], ebx
mov dword [edi + 0x20], ebx
cmp byte [0x4d58f8], 0
mov byte [ebp - 4], 2
je 0x432472
push dword [ebp - 0x18]
push dword [ebp - 0x1a]
push dword [ebp - 0x1c]
call fcn.0045bb80
add esp, 0xc
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
Function at 0x432490
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a023b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4ce4bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
fld qword [0x4ad8d0]
mov dword [esi], vtable.KHostSplashShow.0
mov dword [esi + 8], 0
mov dword [esi + 0x24], eax
xor eax, eax
fstp qword [esi + 0x28]
mov byte [esi + 0xc], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 7
mov word [esi + 0x44], ax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], 7
mov word [esi + 0x70], ax
push eax
mov byte [ebp - 4], 1
mov word [esi + 0x88], ax
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, esi
mov dword [esi + 4], eax
call fcn.004389e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x433280
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov eax, dword [0x4ce4bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x404]
push 0x400
push 0
push eax
mov dword [ebp - 0x458], edi
mov dword [ebp - 0x444], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x444]
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x44c], esi
push eax
push 0x20019
push esi
push edi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4334a1
lea eax, [ebp - 0x440]
mov dword [ebp - 0x440], 0xc
push eax
lea eax, [ebp - 0x43c]
push eax
push esi
push esi
push str.Size
push dword [ebp - 0x444]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x433495
cmp dword [ebp - 0x440], 0xc
jne 0x433495
mov esi, dword [ebp - 0x438]
mov eax, esi
mov ecx, dword [ebp - 0x434]
shl eax, 5
cdq
and edx, 7
mov dword [ebp - 0x448], ebx
add eax, edx
mov dword [ebp - 0x430], 0x28
xor edx, edx
sar eax, 3
imul eax, ecx
push edx
push edx
mov dword [ebp - 0x418], edx
mov dword [ebp - 0x414], edx
mov dword [ebp - 0x450], eax
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x448]
push eax
push edx
lea eax, [ebp - 0x430]
mov dword [ebp - 0x410], edx
push eax
push edx
mov dword [ebp - 0x40c], edx
mov dword [ebp - 0x408], edx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x424], 0x200001
mov dword [ebp - 0x420], edx
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov ebx, eax
mov dword [ebp - 0x454], ebx
test ebx, ebx
je 0x433493
mov edi, dword [ebp - 0x448]
test edi, edi
je 0x433493
mov eax, dword [ebp - 0x450]
xor ebx, ebx
mov esi, eax
test eax, eax
je 0x43344c
push ebx
lea eax, [ebp - 0x404]
push str.Segment_u
push eax
call fcn.00432230
add esp, 0xc
mov ecx, 0x100000
cmp esi, 0x100000
mov eax, esi
cmova eax, ecx
mov dword [ebp - 0x440], eax
lea eax, [ebp - 0x440]
push eax
push edi
push 0
push 0
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x444]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43346f
add edi, dword [ebp - 0x440]
inc ebx
sub esi, dword [ebp - 0x440]
jne 0x4333e3
mov edi, dword [ebp - 0x448]
mov eax, dword [ebp - 0x450]
push dword [ebp - 0x458]
push eax
push edi
call fcn.00433940
xor edx, edx
add esp, 0xc
cmp dword [ebp - 0x43c], eax
sete dl
mov dword [ebp - 0x44c], edx
je 0x433485
push dword [ebp - 0x454]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [ebp - 0x44c]
xor ebx, ebx
jmp 0x433495
mov ebx, dword [ebp - 0x454]
mov esi, dword [ebp - 0x44c]
jmp 0x433495
xor esi, esi
push dword [ebp - 0x444]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor eax, eax
test esi, esi
pop edi
cmovne eax, ebx
xor ecx, ebp
pop esi
pop ebx
call fcn.00499afc
mov esp, ebp
pop ebp
ret
Function at 0x4338f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov ecx, edx
push esi
push edi
xor esi, esi
mov edi, dword [edx + 0x14]
cmp edi, 8
jb 0x433906
mov ecx, dword [edx]
mov eax, dword [edx + 0x10]
lea eax, [ecx + eax*2]
lea esp, [esp]
mov ecx, edx
cmp edi, 8
jb 0x433919
mov ecx, dword [edx]
cmp eax, ecx
je 0x433938
movzx ecx, word [eax - 2]
add eax, 0xfffffffe
cmp ecx, 0x5c
je 0x433938
cmp ecx, 0x2f
je 0x433938
imul esi, esi, 0x1000193
xor esi, ecx
jmp 0x433910
pop edi
mov eax, esi
pop esi
pop ebp
ret
Function at 0x435420
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x4ce4bc]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
push 0x20019
push 0
push str.SoftwarekingsoftwpscloudcompanyStartupsplash
mov dword [ebp - 0x34], edi
push 0x80000001
mov dword [ebp - 0x30], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4354d9
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4354d9
xor ecx, ecx
mov dword [ebp - 0x38], 0x28
push esi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x34], 1
push ecx
lea ecx, [ebp - 0x34]
push ecx
push 0
push 0x4ace60
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x30]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x4354d9
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00401960
mov eax, edi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00499afc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [edi], 0
xor ecx, ebp
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov eax, edi
pop edi
call fcn.00499afc
mov esp, ebp
pop ebp
ret

Function at 0x435510
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x4ce4bc]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
push 0x20019
push 0
push str.SoftwarekingsoftwpscloudcompanyStartupsplash
mov dword [ebp - 0x34], edi
push 0x80000001
mov dword [ebp - 0x30], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4355c9
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4355c9
xor ecx, ecx
mov dword [ebp - 0x38], 0x28
push esi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x34], 1
push ecx
lea ecx, [ebp - 0x34]
push ecx
push 0
push 0x4ace58
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x30]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x4355c9
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00401960
mov eax, edi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00499afc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [edi], 0
xor ecx, ebp
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov eax, edi
pop edi
call fcn.00499afc
mov esp, ebp
pop ebp
ret
Function at 0x435600
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0662
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4ce4bc]
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, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x238], eax
mov byte [eax], 0
xor eax, eax
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x230]
push 1
push eax
mov dword [ebp - 0x234], 1
call fcn.0048fe70
add esp, 8
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 4], 1
test ecx, ecx
jne 0x4356f5
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x4356d5
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4356cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435835
push edx
push ecx
call fcn.00499aee
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.00499afc
mov esp, ebp
pop ebp
ret 8
mov edi, dword [ebp - 0x21c]
lea eax, [ebp - 0x230]
mov ebx, dword [ebp - 0x230]
cmp edi, 8
cmovae eax, ebx
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x435752
cmp edi, 8
lea eax, [ebp - 0x230]
cmovae eax, ebx
movzx edx, word [eax + ecx*2 - 2]
cmp ecx, edx
jb 0x43583b
cmp edi, 8
mov dword [ebp - 0x220], edx
lea eax, [ebp - 0x230]
cmovae eax, ebx
xor ecx, ecx
mov word [eax + edx*2], cx
mov edi, dword [ebp - 0x21c]
mov ebx, dword [ebp - 0x230]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
cmp edi, 8
lea eax, [ebp - 0x230]
cmovae eax, ebx
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0x18
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.oemcompanylogo.png
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4357f7
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x4357d0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4357d0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00404580
mov eax, dword [ebp - 0x238]
mov byte [eax], 1
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x4356d5
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4356cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4356cb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.00404510
int3
Function at 0x437ee0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4ce4bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push edi
mov edi, dword [ebp + 8]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x210], 0x208
lea eax, [ebp - 0x210]
mov dword [ebp - 0x218], 1
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x210]
shr ecx, 1
mov dword [ebp - 0x214], ecx
test eax, eax
jne 0x438056
cmp ecx, 3
jb 0x438056
cmp word [ebp - 0x20c], ax
je 0x438056
cmp byte [ebp + 0x10], al
jne 0x437f9c
lea eax, [ecx - 1]
push 1
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00433b60
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00499afc
mov esp, ebp
pop ebp
ret
lea esi, [ebp - 0x20c]
xor ebx, ebx
mov eax, esi
push 0x2c
push eax
call sub.VCRUNTIME140.dll_wcschr
mov edi, eax
add esp, 8
test edi, edi
je 0x438008
cmp edi, esi
jbe 0x438056
mov eax, edi
sub eax, esi
push 0
sar eax, 1
push eax
push esi
call fcn.00433b60
add esp, 0xc
cmp eax, 2
je 0x438040
mov ecx, dword [ebp - 0x214]
lea esi, [edi + 2]
cmp eax, 1
mov eax, 1
cmove ebx, eax
lea eax, [ebp - 0x20c]
lea eax, [eax + ecx*2]
cmp esi, eax
jae 0x438056
push 0x2c
push esi
call sub.VCRUNTIME140.dll_wcschr
mov edi, eax
add esp, 8
test edi, edi
jne 0x437fb7
mov ecx, dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push 1
lea eax, [eax + ecx*2]
sub eax, esi
sar eax, 1
dec eax
push eax
push esi
call fcn.00433b60
add esp, 0xc
test eax, eax
cmovne ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00499afc
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 2
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00499afc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00499afc
mov esp, ebp
pop ebp
ret
Function at 0x4386b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax]
test eax, eax
je 0x43871b
cmp dword [esi + 8], 0
push edi
lea edi, [esi + 0x10]
je 0x4386e9
push 0
push 0
push 0x12
push dword [edi]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
lea eax, [ebp - 8]
mov byte [esi + 0xc], 1
push eax
call fcn.00437180
add esp, 4
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push edi
push 0
push esi
push 0x438720
push 0
push 0
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret