joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433220
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 0x433441
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 0x433435
cmp dword [ebp - 0x440], 0xc
jne 0x433435
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 0x433433
mov edi, dword [ebp - 0x448]
test edi, edi
je 0x433433
mov eax, dword [ebp - 0x450]
xor ebx, ebx
mov esi, eax
test eax, eax
je 0x4333ec
push ebx
lea eax, [ebp - 0x404]
push str.Segment_u
push eax
call fcn.004321d0
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 0x43340f
add edi, dword [ebp - 0x440]
inc ebx
sub esi, dword [ebp - 0x440]
jne 0x433383
mov edi, dword [ebp - 0x448]
mov eax, dword [ebp - 0x450]
push dword [ebp - 0x458]
push eax
push edi
call fcn.004338e0
xor edx, edx
add esp, 0xc
cmp dword [ebp - 0x43c], eax
sete dl
mov dword [ebp - 0x44c], edx
je 0x433425
push dword [ebp - 0x454]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [ebp - 0x44c]
xor ebx, ebx
jmp 0x433435
mov ebx, dword [ebp - 0x454]
mov esi, dword [ebp - 0x44c]
jmp 0x433435
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.0049996c
mov esp, ebp
pop ebp
ret
Function at 0x433890
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 0x4338a6
mov ecx, dword [edx]
mov eax, dword [edx + 0x10]
lea eax, [ecx + eax*2]
lea esp, [esp]
mov ecx, edx
cmp edi, 8
jb 0x4338b9
mov ecx, dword [edx]
cmp eax, ecx
je 0x4338d8
movzx ecx, word [eax - 2]
add eax, 0xfffffffe
cmp ecx, 0x5c
je 0x4338d8
cmp ecx, 0x2f
je 0x4338d8
imul esi, esi, 0x1000193
xor esi, ecx
jmp 0x4338b0
pop edi
mov eax, esi
pop esi
pop ebp
ret
Function at 0x4353c0
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 0x435479
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x435479
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 0x435479
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.0049996c
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.0049996c
mov esp, ebp
pop ebp
ret

Function at 0x4354b0
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 0x435569
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x435569
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 0x435569
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.0049996c
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.0049996c
mov esp, ebp
pop ebp
ret
Function at 0x4355a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a04c2
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.0048fd50
add esp, 8
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 4], 1
test ecx, ecx
jne 0x435695
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x435675
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43566b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4357d5
push edx
push ecx
call fcn.0049995e
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.0049996c
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 0x4356f2
cmp edi, 8
lea eax, [ebp - 0x230]
cmovae eax, ebx
movzx edx, word [eax + ecx*2 - 2]
cmp ecx, edx
jb 0x4357db
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 0x435797
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x435770
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x435770
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 0x435675
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43566b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43566b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.00404510
int3
Function at 0x437e80
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 0x437ff6
cmp ecx, 3
jb 0x437ff6
cmp word [ebp - 0x20c], ax
je 0x437ff6
cmp byte [ebp + 0x10], al
jne 0x437f3c
lea eax, [ecx - 1]
push 1
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00433b00
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049996c
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 0x437fa8
cmp edi, esi
jbe 0x437ff6
mov eax, edi
sub eax, esi
push 0
sar eax, 1
push eax
push esi
call fcn.00433b00
add esp, 0xc
cmp eax, 2
je 0x437fe0
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 0x437ff6
push 0x2c
push esi
call sub.VCRUNTIME140.dll_wcschr
mov edi, eax
add esp, 8
test edi, edi
jne 0x437f57
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.00433b00
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.0049996c
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.0049996c
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.0049996c
mov esp, ebp
pop ebp
ret
Function at 0x438650
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 0x4386bb
cmp dword [esi + 8], 0
push edi
lea edi, [esi + 0x10]
je 0x438689
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.00437120
add esp, 4
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push edi
push 0
push esi
push 0x4386c0
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
Function at 0x43b6e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0dc5
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
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
movzx eax, word [ecx + 0xc]
lea ebx, [ecx + 0xc]
mov edi, dword [ebp + 8]
lea esi, [ecx + 0xc]
test ax, ax
jne 0x43b737
push 0
push 0x1a
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [esi], 0
jne 0x43b737
xor al, al
jmp 0x43b8b0
mov ecx, ebx
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43b757
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x28]
call fcn.00404580
push 0x5c
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0043a930
push edi
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
call fcn.00417730
mov esi, eax
add esp, 0x18
cmp edi, esi
je 0x43b7da
mov ecx, edi
call fcn.00401bf0
mov ecx, dword [esi]
mov dword [edi], ecx
mov ecx, dword [esi + 4]
mov dword [edi + 4], ecx
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x43b814
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43b80a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43b89e
push edx
push ecx
call fcn.0049995e
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x43b85e
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43b854
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43b89e
push edx
push ecx
call fcn.0049995e
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, 8
jb 0x43b8ae
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43b8a4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43b8a4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049995e
add esp, 8
mov al, 1
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.0049996c
mov esp, ebp
pop ebp
ret 4
Function at 0x43bdb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0e85
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
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, ecx
movzx eax, word [ebp + 8]
mov edi, dword [ebp + 0xc]
add eax, 0xffffff96
cmp eax, 0xf
ja case.0x43bdf3.107
movzx eax, byte [eax + 0x43bfa4]
jmp dword [eax*4 + 0x43bf8c]
mov eax, dword [esi]
push edi
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x43bf82
xor al, al
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.0049996c
mov esp, ebp
pop ebp
ret 8
push edi
call fcn.0043c720
jmp 0x43be02
push edi
call fcn.0043c3b0
jmp 0x43be02
movzx eax, word [esi + 0xc]
lea ebx, [esi + 0xc]
test ax, ax
jne 0x43be59
push 0
push 0x1a
push ebx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebx], 0
je case.0x43bdf3.107
mov ecx, esi
call fcn.0043ceb0
push eax
lea ecx, [ebp - 0x58]
call fcn.00401960
push str.Kingsoft_
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
call fcn.00401590
push edi
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.00417730
add esp, 0x18
mov ecx, edi
push eax
call fcn.004023b0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x43bed3
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43bec9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43bf5d
push edx
push ecx
call fcn.0049995e
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x43bf1d
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43bf13
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43bf5d
push edx
push ecx
call fcn.0049995e
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x43bf82
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43bf63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43bf63
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049995e
add esp, 8
mov al, 1
jmp 0x43be0c
push edi
call fcn.0043b8d0
test al, al
je case.0x43bdf3.107
mov al, 1
jmp 0x43be0c
Function at 0x43ceb0
Capabilities:
Get common file path

Disassembly:
cmp word [ecx + 0xc], 0
push esi
lea esi, [ecx + 0xc]
jne 0x43cec8
push 0
push 0x1a
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, esi
pop esi
ret
Function at 0x43e8e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a11b5
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 ebx, ecx
mov eax, dword [ebx + 0x2c]
test eax, eax
jne 0x43e95d
push dword [0x4ce0a4]
call fcn.0043e1a0
add esp, 4
mov ecx, dword [ebx + 0x2c]
mov dword [ebp - 4], 0
mov dword [ebx + 0x2c], eax
test ecx, ecx
je 0x43e93c
push ecx
lea ecx, [ebx + 0x2c]
call fcn.0043e180
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 4], 0xffffffff
test eax, eax
jne 0x43e95d
xor al, al
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 0x14
call fcn.0049992e
mov esi, eax
mov dword [ebp - 0x10], eax
add esp, 4
mov dword [ebp - 0x18], esi
xor ecx, ecx
mov dword [ebp - 4], 1
push ecx
mov dword [eax], ecx
push ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
push ecx
mov dword [eax + 0xc], ecx
push ecx
mov dword [eax + 0x10], ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0xc]
mov edx, esi
mov byte [ebp - 4], 2
mov dword [edx + 0x10], eax
mov dword [edx + 8], ecx
mov eax, dword [ebx + 0x2c]
test eax, eax
jne 0x43e9d8
push dword [0x4ce0a4]
call fcn.0043e1a0
add esp, 4
mov ecx, dword [ebx + 0x2c]
mov byte [ebp - 4], 3
mov dword [ebx + 0x2c], eax
test ecx, ecx
je 0x43e9d4
push ecx
lea ecx, [ebx + 0x2c]
call fcn.0043e180
mov eax, dword [ebx + 0x2c]
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x10]
push edi
push 0
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43ea04
mov eax, dword [ebp + 8]
push eax
push str._ld_not_overlapped
call fcn.004082d0
add esp, 8
mov bl, 1
jmp 0x43ea2b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x43ea40
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp + 8]
push eax
push str._ld_readfile_failed:__ld
call fcn.004082d0
add esp, 0xc
xor bl, bl
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x43ea8d
cmp eax, 0xffffffff
je 0x43ea8d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43ea8d
mov eax, dword [ebx + 0x10]
lea ecx, [ebx + 0xc]
xor esi, esi
mov dword [ebp + 8], edi
mov dword [ebp - 0x18], esi
cmp eax, dword [ebx + 0x14]
je 0x43ea5b
mov dword [eax], edi
add dword [ecx + 4], 4
jmp 0x43ea65
lea edx, [ebp + 8]
push edx
push eax
call fcn.00407e50
mov edx, dword [ebx + 0x1c]
lea ecx, [ebx + 0x18]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], esi
mov dword [ebp + 8], eax
cmp edx, dword [ebx + 0x20]
je 0x43ea81
mov dword [edx], eax
add dword [ecx + 4], 4
jmp 0x43ea8b
lea eax, [ebp + 8]
push eax
push edx
call fcn.00407e50
mov bl, 1
test esi, esi
je 0x43ea9c
push 0x14
push esi
call fcn.0049995e
add esp, 8
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 0xc
Function at 0x43f030
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43f09c
mov esi, dword [ebp + 0x18]
mov dword [ebp - 8], 3
mov eax, dword [esi]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 8], 3
jne 0x43f09c
mov eax, dword [ebp - 0xc]
push dword [ebp - 4]
mov dword [esi], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x80004005
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43f0b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x43f0df
mov eax, dword [ebp + 0x14]
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 0
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 4
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x14]
test esi, esi
pop esi
cmove eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x43f130
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push dword [ebp + 8]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43f198
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret