joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439870
Capabilities:
Query service status
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4bf434]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
call fcn.00438e30
test eax, eax
je 0x4398ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
shl eax, 0x10
or eax, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00488042
mov esp, ebp
pop ebp
ret 8
push ebx
push esi
push edi
push 5
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
test edi, edi
je 0x439a18
cmp edi, 0xffffffff
je 0x439a18
push 0x34
push str.wpscloudsvr
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x4399f6
cmp esi, 0xffffffff
je 0x4399f6
xor eax, eax
mov ebx, 0x12c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x43997a
nop
test ebx, ebx
jle 0x43997a
mov eax, dword [ebp - 0x1c]
dec eax
cmp eax, 6
ja case.0x439934.3
movzx eax, byte [eax + 0x439a5c]
jmp dword [eax*4 + 0x439a50]
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
jmp case.0x439934.3
push dword [ebp - 0x24]
push dword [ebp + 8]
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x4399ed
push 0xc8
dec ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x439920
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
shl ebx, 0x10
or ebx, 6
test bx, bx
jne 0x439a04
xor eax, eax
mov dword [ebp - 0x24], 0x12c
mov dword [ebp - 0x20], eax
mov ebx, 0x17
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x439a04
nop
mov eax, dword [ebp - 0x24]
test eax, eax
jle 0x439a04
cmp dword [ebp - 0x1c], 1
je 0x4399f1
dec eax
push 0xc8
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x4399c0
jmp 0x439a04
xor ebx, ebx
jmp 0x439988
mov ebx, dword [ebp - 0x14]
jmp 0x439a04
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
shl ebx, 0x10
or ebx, 8
test esi, esi
je 0x439a28
cmp esi, 0xffffffff
je 0x439a28
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
jmp 0x439a2e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
shl ebx, 0x10
or ebx, 8
jmp 0x439a2e
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test edi, edi
je 0x439a3a
cmp edi, 0xffffffff
je 0x439a3a
push edi
call esi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00488042
mov esp, ebp
pop ebp
ret 8
Function at 0x439d60
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4955a1
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x4bf434]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x4c7f44]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x264], edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4c4e4c]
cmp eax, dword [ecx + 4]
jg 0x439fc7
cmp dword [0x4bf1e0], 0
jne 0x439f9c
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x439f9c
push 0x12
push str.Kingsoftoffice6_
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.00407630
push str.wpscloudsvr.exe
lea eax, [ebp - 0x248]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.004016a0
add esp, 0xc
mov esi, eax
xor eax, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x230], ax
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x439e70
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00407630
cmp dword [esi + 0x14], 8
mov eax, esi
mov byte [ebp - 4], 2
jb 0x439ea0
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x230]
push eax
call fcn.00401d80
cmp eax, 0x4bf1d0
je 0x439ece
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x439ec0
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, 0x4bf1d0
call fcn.00407630
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x439f0e
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x439f04
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439f6f
push edx
push ecx
call fcn.00488034
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00401ba0
mov edx, dword [ebp - 0x234]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x439f7f
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x439f75
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x439f75
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00488034
add esp, 8
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
push 0x4bf1d0
mov ecx, edi
call fcn.00402080
mov eax, edi
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.00488042
mov esp, ebp
pop ebp
ret 4
push 0x4c4e4c
call fcn.004882cc
add esp, 4
cmp dword [0x4c4e4c], 0xffffffff
jne 0x439db6
push 0x49baa0
call fcn.004885de
push 0x4c4e4c
call fcn.00488282
add esp, 8
jmp 0x439db6
Function at 0x43a5d0
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4bf434]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x20], eax
xor esi, esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x20]
push eax
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x43a63f
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
cmp ecx, 1
je 0x43a642
cmp esi, edi
ja 0x43a642
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 8]
add eax, 0xa
add esi, eax
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x43a613
mov ecx, dword [ebp - 0x1c]
xor eax, eax
cmp ecx, 1
mov ecx, dword [ebp - 4]
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.00488042
mov esp, ebp
pop ebp
ret 8
Function at 0x43ab40
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 esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
test edi, edi
je 0x43abdb
cmp edi, 0xffffffff
je 0x43abdb
push 0xf01ff
push str.wpscloudsvr
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x43abb9
cmp esi, 0xffffffff
je 0x43abb9
push 0x1388
push esi
mov ecx, ebx
call fcn.0043a5d0
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov ecx, eax
test ecx, ecx
jne 0x43abab
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0x430
sete cl
xor eax, eax
mov ebx, 0x50005
test ecx, ecx
cmovne ebx, eax
jmp 0x43abc7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
shl ebx, 0x10
or ebx, 5
test esi, esi
je 0x43abeb
cmp esi, 0xffffffff
je 0x43abeb
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
jmp 0x43abf1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
shl ebx, 0x10
or ebx, 5
jmp 0x43abf1
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test edi, edi
je 0x43abfd
cmp edi, 0xffffffff
je 0x43abfd
push edi
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x43b7f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495770
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4bf434]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 0xc]
push edi
call fcn.0043ba10
xor eax, eax
mov dword [ebx], vtable.KClientHostSplashShow.0
mov dword [ebx + 0x90], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], eax
mov word [ebp - 0x1c], ax
cmp byte [0x4c6b68], al
je 0x43b873
mov eax, 1
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1e]
push eax
push 0x49dd09
push str.KClientHostSplashShow
push 1
call fcn.0044c670
add esp, 0x14
mov esi, dword [ebp + 8]
mov dword [ebx + 0x20], 0
mov byte [ebp - 4], 1
mov al, byte [esi + 0x80]
mov byte [ebx + 0x94], al
cmp byte [esi], 0
je 0x43b9d9
cmp byte [esi + 0x83], 0
jne 0x43b9d9
push 0
mov dword [ebx + 0x20], 1
call fcn.00478770
add esp, 4
test al, al
je 0x43b8d1
test edi, edi
je 0x43b8cb
cmp edi, 1
je 0x43b8cb
cmp edi, 2
je 0x43b8cb
cmp edi, 3
jne 0x43b8d1
test byte [esi + 8], 0x1f
jmp 0x43b8d5
cmp dword [esi + 8], 0
je 0x43b8de
mov dword [ebx + 0x20], 0
cmp dword [esi + 0xd0], 0
je 0x43b8ee
mov dword [ebx + 0x20], 0
cmp dword [esi + 4], 0
jne 0x43b906
cmp dword [esi + 0x28], 1
je 0x43b906
cmp dword [esi + 0x10], 1
je 0x43b906
cmp byte [esi + 0x7e], 0
je 0x43b90d
mov dword [ebx + 0x20], 0
cmp dword [esi + 0x30], 0
je 0x43b967
call fcn.004785a0
test al, al
je 0x43b960
cmp dword [ebx + 0x24], 1
jne 0x43b967
cmp dword [esi + 0x30], 1
jne 0x43b967
mov edi, dword [esi + 0x2c]
mov esi, dword [edi]
cmp esi, edi
je 0x43b967
push 0xffffffffffffffff
lea ecx, [esi + 8]
push str..pps
call fcn.00440420
cmp eax, 0xffffffff
jne 0x43b960
push eax
push str..ppsx
lea ecx, [esi + 8]
call fcn.00440420
cmp eax, 0xffffffff
jne 0x43b960
mov esi, dword [esi]
cmp esi, edi
jne 0x43b931
jmp 0x43b967
mov dword [ebx + 0x20], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 1
jne 0x43b9d9
test byte [eax + 8], 0x1f
je 0x43b9d9
lea eax, [ebp + 8]
xor esi, esi
push eax
push 1
push esi
push str.SoftwarekingsoftOffice6.0CommonApplication_Settings
push 0x80000001
mov dword [ebp + 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43b9d0
lea eax, [ebp - 0x10]
mov dword [ebp + 0xc], esi
push eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x10], 4
push eax
push esi
push esi
push str.oleForceShowSplash
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43b9c7
cmp dword [ebp + 0xc], eax
setne al
mov dword [ebp - 0x14], eax
mov esi, eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebx + 0x90], esi
mov dword [ebx + 0x20], esi
cmp byte [0x4c6b68], 0
mov byte [ebp - 4], 2
je 0x43b9f7
push dword [ebp - 0x1c]
push dword [ebp - 0x1e]
push dword [ebp - 0x20]
call fcn.0044c6d0
add esp, 0xc
mov eax, ebx
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 0x43ba10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4957a6
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4bf434]
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 [0x4a5058]
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 + 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 [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 dword [esi + 0x88], eax
mov dword [esi + 0x8c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, esi
mov dword [esi + 4], eax
call fcn.004407a0
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 0x43bf70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x4bf434]
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 - 0x45c], 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 0x43c1a1
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 0x43c195
cmp dword [ebp - 0x440], 0xc
jne 0x43c195
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 0x43c193
mov edi, dword [ebp - 0x448]
test edi, edi
je 0x43c193
mov eax, dword [ebp - 0x450]
xor ebx, ebx
test eax, eax
je 0x43c14c
mov esi, eax
push ebx
lea eax, [ebp - 0x404]
push str.Segment_u
push eax
call fcn.0043b7b0
add esp, 0xc
mov dword [ebp - 0x458], esi
mov eax, 0x100000
cmp esi, eax
cmovb eax, esi
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 0x43c136
sub esi, dword [ebp - 0x440]
inc ebx
add edi, dword [ebp - 0x440]
mov eax, esi
test esi, esi
jne 0x43c0d3
jmp 0x43c13c
mov eax, dword [ebp - 0x458]
test eax, eax
jne 0x43c16f
mov edi, dword [ebp - 0x448]
mov eax, dword [ebp - 0x450]
push dword [ebp - 0x45c]
push eax
push edi
call fcn.0043c790
xor edx, edx
add esp, 0xc
cmp dword [ebp - 0x43c], eax
sete dl
mov dword [ebp - 0x44c], edx
je 0x43c185
push dword [ebp - 0x454]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [ebp - 0x44c]
xor ebx, ebx
jmp 0x43c195
mov ebx, dword [ebp - 0x454]
mov esi, dword [ebp - 0x44c]
jmp 0x43c195
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.00488042
mov esp, ebp
pop ebp
ret
Function at 0x43c5e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490d52
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4bf434]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x208
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x21c], 1
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
test eax, eax
je 0x43c680
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43c673
jmp 0x43c6cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x43c6de
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x43c6de
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43c6c0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00407630
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00488042
mov esp, ebp
pop ebp
ret

Function at 0x43c730
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov ecx, edx
push ebx
push esi
xor esi, esi
mov ebx, dword [edx + 0x14]
push edi
cmp ebx, 8
jb 0x43c747
mov ecx, dword [edx]
mov eax, dword [edx + 0x10]
lea eax, [ecx + eax*2]
mov edi, eax
nop
mov ecx, edx
cmp ebx, 8
jb 0x43c759
mov ecx, dword [edx]
cmp edi, ecx
je 0x43c77a
movzx ecx, word [eax - 2]
add eax, 0xfffffffe
mov edi, eax
cmp ecx, 0x5c
je 0x43c77a
cmp ecx, 0x2f
je 0x43c77a
imul esi, esi, 0x1000193
xor esi, ecx
jmp 0x43c750
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
Function at 0x43ded0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4959ad
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4bf434]
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 - 0x23c], esi
mov dword [ebp - 0x234], 0
mov byte [eax], 0
mov dword [ebp - 0x238], eax
xor eax, eax
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.004792e0
add esp, 8
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 4], 1
test ecx, ecx
jne 0x43dfbf
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x43df9f
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43df95
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43e0f7
push edx
push ecx
call fcn.00488034
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.00488042
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 0x43e01c
cmp edi, 8
lea eax, [ebp - 0x230]
cmovae eax, ebx
movzx edx, word [eax + ecx*2 - 2]
cmp ecx, edx
jb 0x43e0fd
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 0x43e0b9
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43e092
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00407630
mov eax, dword [ebp - 0x238]
mov byte [eax], 1
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x43df9f
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43df95
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43df95
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.00403d20
int3
Function at 0x43fde0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4bf434]
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 0x43ff56
cmp ecx, 3
jb 0x43ff56
cmp word [ebp - 0x20c], ax
je 0x43ff56
cmp byte [ebp + 0x10], al
jne 0x43fe9c
lea eax, [ecx - 1]
push 1
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0043c9c0
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00488042
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 0x43ff08
cmp edi, esi
jbe 0x43ff56
mov eax, edi
sub eax, esi
push 0
sar eax, 1
push eax
push esi
call fcn.0043c9c0
add esp, 0xc
cmp eax, 2
je 0x43ff40
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 0x43ff56
push 0x2c
push esi
call sub.VCRUNTIME140.dll_wcschr
mov edi, eax
add esp, 8
test edi, edi
jne 0x43feb7
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.0043c9c0
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.00488042
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.00488042
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.00488042
mov esp, ebp
pop ebp
ret
Function at 0x440550
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 0x4405bb
cmp dword [esi + 8], 0
push edi
lea edi, [esi + 0x10]
je 0x440589
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.0042ddf0
add esp, 4
mov ecx, dword [eax]
push edi
push 0
push esi
push 0x4405c0
push 0
mov dword [esi + 0x68], ecx
mov eax, dword [eax + 4]
push 0
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