joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b790
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494de0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4be434]
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.0043b9b0
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 [0x4c5b78], al
je 0x43b813
mov eax, 1
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1e]
push eax
push 0x49cd21
push str.KClientHostSplashShow
push 1
call fcn.0044c620
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 0x43b979
cmp byte [esi + 0x83], 0
jne 0x43b979
push 0
mov dword [ebx + 0x20], 1
call fcn.00477e30
add esp, 4
test al, al
je 0x43b871
test edi, edi
je 0x43b86b
cmp edi, 1
je 0x43b86b
cmp edi, 2
je 0x43b86b
cmp edi, 3
jne 0x43b871
test byte [esi + 8], 0x1f
jmp 0x43b875
cmp dword [esi + 8], 0
je 0x43b87e
mov dword [ebx + 0x20], 0
cmp dword [esi + 0xd0], 0
je 0x43b88e
mov dword [ebx + 0x20], 0
cmp dword [esi + 4], 0
jne 0x43b8a6
cmp dword [esi + 0x28], 1
je 0x43b8a6
cmp dword [esi + 0x10], 1
je 0x43b8a6
cmp byte [esi + 0x7e], 0
je 0x43b8ad
mov dword [ebx + 0x20], 0
cmp dword [esi + 0x30], 0
je 0x43b907
call fcn.00477c60
test al, al
je 0x43b900
cmp dword [ebx + 0x24], 1
jne 0x43b907
cmp dword [esi + 0x30], 1
jne 0x43b907
mov edi, dword [esi + 0x2c]
mov esi, dword [edi]
cmp esi, edi
je 0x43b907
push 0xffffffffffffffff
lea ecx, [esi + 8]
push str..pps
call fcn.004403d0
cmp eax, 0xffffffff
jne 0x43b900
push eax
push str..ppsx
lea ecx, [esi + 8]
call fcn.004403d0
cmp eax, 0xffffffff
jne 0x43b900
mov esi, dword [esi]
cmp esi, edi
jne 0x43b8d1
jmp 0x43b907
mov dword [ebx + 0x20], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 1
jne 0x43b979
test byte [eax + 8], 0x1f
je 0x43b979
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 0x43b970
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 0x43b967
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 [0x4c5b78], 0
mov byte [ebp - 4], 2
je 0x43b997
push dword [ebp - 0x1c]
push dword [ebp - 0x1e]
push dword [ebp - 0x20]
call fcn.0044c680
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 0x43b9b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494e16
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4be434]
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 [0x4a4070]
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_GetModuleHandleA]
mov ecx, esi
mov dword [esi + 4], eax
call fcn.00440750
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 0x43bf10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x4be434]
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 0x43c141
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 0x43c135
cmp dword [ebp - 0x440], 0xc
jne 0x43c135
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 0x43c133
mov edi, dword [ebp - 0x448]
test edi, edi
je 0x43c133
mov eax, dword [ebp - 0x450]
xor ebx, ebx
test eax, eax
je 0x43c0ec
mov esi, eax
push ebx
lea eax, [ebp - 0x404]
push str.Segment_u
push eax
call fcn.0043b750
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 0x43c0d6
sub esi, dword [ebp - 0x440]
inc ebx
add edi, dword [ebp - 0x440]
mov eax, esi
test esi, esi
jne 0x43c073
jmp 0x43c0dc
mov eax, dword [ebp - 0x458]
test eax, eax
jne 0x43c10f
mov edi, dword [ebp - 0x448]
mov eax, dword [ebp - 0x450]
push dword [ebp - 0x45c]
push eax
push edi
call fcn.0043c730
xor edx, edx
add esp, 0xc
cmp dword [ebp - 0x43c], eax
sete dl
mov dword [ebp - 0x44c], edx
je 0x43c125
push dword [ebp - 0x454]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [ebp - 0x44c]
xor ebx, ebx
jmp 0x43c135
mov ebx, dword [ebp - 0x454]
mov esi, dword [ebp - 0x44c]
jmp 0x43c135
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.00487702
mov esp, ebp
pop ebp
ret
Function at 0x43c580
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4903f2
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4be434]
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 0x43c620
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43c613
jmp 0x43c66b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x43c67e
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 0x43c67e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43c660
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.00487702
mov esp, ebp
pop ebp
ret

Function at 0x43c6d0
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 0x43c6e7
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 0x43c6f9
mov ecx, dword [edx]
cmp edi, ecx
je 0x43c71a
movzx ecx, word [eax - 2]
add eax, 0xfffffffe
mov edi, eax
cmp ecx, 0x5c
je 0x43c71a
cmp ecx, 0x2f
je 0x43c71a
imul esi, esi, 0x1000193
xor esi, ecx
jmp 0x43c6f0
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
Function at 0x43de80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49501d
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4be434]
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.004789a0
add esp, 8
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 4], 1
test ecx, ecx
jne 0x43df6f
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x43df4f
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43df45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43e0a7
push edx
push ecx
call fcn.004876f4
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.00487702
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 0x43dfcc
cmp edi, 8
lea eax, [ebp - 0x230]
cmovae eax, ebx
movzx edx, word [eax + ecx*2 - 2]
cmp ecx, edx
jb 0x43e0ad
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 0x43e069
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43e042
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 0x43df4f
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43df45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43df45
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.00403d20
int3
Function at 0x43fd90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4be434]
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 0x43ff06
cmp ecx, 3
jb 0x43ff06
cmp word [ebp - 0x20c], ax
je 0x43ff06
cmp byte [ebp + 0x10], al
jne 0x43fe4c
lea eax, [ecx - 1]
push 1
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0043c960
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00487702
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 0x43feb8
cmp edi, esi
jbe 0x43ff06
mov eax, edi
sub eax, esi
push 0
sar eax, 1
push eax
push esi
call fcn.0043c960
add esp, 0xc
cmp eax, 2
je 0x43fef0
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 0x43ff06
push 0x2c
push esi
call sub.VCRUNTIME140.dll_wcschr
mov edi, eax
add esp, 8
test edi, edi
jne 0x43fe67
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.0043c960
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.00487702
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.00487702
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.00487702
mov esp, ebp
pop ebp
ret
Function at 0x440500
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 0x44056b
cmp dword [esi + 8], 0
push edi
lea edi, [esi + 0x10]
je 0x440539
push 0
push 0
push 0x12
push dword [edi]
call dword [sym.imp.USER32.dll_PostThreadMessageA]
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.0042dd70
add esp, 4
mov ecx, dword [eax]
push edi
push 0
push esi
push 0x440570
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
Function at 0x4431f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495710
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4be434]
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 0x443249
push 0
push 0x1a
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
movzx eax, word [esi]
test ax, ax
jne 0x443249
xor al, al
jmp 0x4433bb
mov ecx, ebx
mov dword [ebp - 0x18], 0
xor eax, eax
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 0x443262
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x28]
call fcn.00407630
push 0x5c
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040c020
push edi
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
call fcn.0040bfb0
mov esi, eax
add esp, 0x18
cmp edi, esi
je 0x4432e5
mov ecx, edi
call fcn.00401ca0
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 0x44331f
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x443315
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4433a9
push edx
push ecx
call fcn.004876f4
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 0x443369
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44335f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4433a9
push edx
push ecx
call fcn.004876f4
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 0x4433b9
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4433af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4433af
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004876f4
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.00487702
mov esp, ebp
pop ebp
ret 4
Function at 0x4438c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4957c0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4be434]
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.0x443903.107
movzx eax, byte [eax + 0x443ab4]
jmp dword [eax*4 + 0x443a9c]
mov eax, dword [esi]
push edi
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x443a94
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.00487702
mov esp, ebp
pop ebp
ret 8
push edi
call fcn.004441d0
jmp 0x443912
push edi
call fcn.00443eb0
jmp 0x443912
movzx eax, word [esi + 0xc]
lea ebx, [esi + 0xc]
test ax, ax
jne 0x44396b
push 0
push 0x1a
push ebx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
movzx eax, word [ebx]
test ax, ax
je case.0x443903.107
mov ecx, esi
call fcn.004448f0
push eax
lea ecx, [ebp - 0x58]
call fcn.00401a00
push str.Kingsoft_
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
call fcn.004016a0
push edi
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.0040bfb0
add esp, 0x18
mov ecx, edi
push eax
call fcn.00407d00
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4439e5
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4439db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x443a6f
push edx
push ecx
call fcn.004876f4
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 0x443a2f
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x443a25
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x443a6f
push edx
push ecx
call fcn.004876f4
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 0x443a94
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x443a75
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x443a75
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004876f4
add esp, 8
mov al, 1
jmp 0x44391c
push edi
call fcn.004433e0
test al, al
je case.0x443903.107
mov al, 1
jmp 0x44391c
Function at 0x4448f0
Capabilities:
Get common file path

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495a80
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4be434]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x14], eax
lea edi, [eax + 0x2c]
mov eax, dword [edi]
test eax, eax
jne 0x44616e
push dword [0x4be1f0]
call fcn.004459b0
add esp, 4
mov ecx, dword [edi]
mov dword [ebp - 4], 0
mov dword [edi], eax
test ecx, ecx
je 0x44614d
push ecx
mov ecx, edi
call fcn.00445990
mov eax, dword [edi]
mov dword [ebp - 4], 0xffffffff
test eax, eax
jne 0x44616e
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.004876c4
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 ebx, eax
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebp + 0xc]
mov eax, esi
mov byte [ebp - 4], 2
mov dword [eax + 0x10], ebx
mov dword [eax + 8], ecx
mov eax, dword [edi]
test eax, eax
jne 0x4461e3
push dword [0x4be1f0]
call fcn.004459b0
add esp, 4
mov ecx, dword [edi]
mov byte [ebp - 4], 3
mov dword [edi], eax
test ecx, ecx
je 0x4461df
push ecx
mov ecx, edi
call fcn.00445990
mov eax, dword [edi]
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 0x446211
mov eax, dword [ebp + 8]
push eax
push str._ld_not_overlapped
call fcn.00407cf0
add esp, 8
mov byte [ebp + 0xb], 1
jmp 0x44623a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x446272
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp + 8]
push eax
push str._ld_readfile_failed:__ld
call fcn.00407cf0
add esp, 0xc
mov byte [ebp + 0xb], 0
test ebx, ebx
je 0x44624a
cmp ebx, 0xffffffff
je 0x44624a
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, byte [ebp + 0xb]
test esi, esi
je 0x44625c
push 0x14
push esi
call fcn.004876f4
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
mov ecx, dword [ebp - 0x14]
xor esi, esi
add ecx, 0xc
mov dword [ebp - 0x18], esi
mov dword [ebp + 8], edi
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x446290
mov dword [eax], edi
add dword [ecx + 4], 4
jmp 0x44629a
lea edx, [ebp + 8]
push edx
push eax
call fcn.00407970
mov ecx, dword [ebp - 0x14]
add ecx, 0x18
mov dword [ebp - 0x1c], esi
mov dword [ebp + 8], ebx
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x4462b8
mov dword [eax], ebx
mov bl, 1
add dword [ecx + 4], 4
jmp 0x44624d
lea edx, [ebp + 8]
push edx
push eax
call fcn.00407970
mov bl, 1
jmp 0x44624d