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

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000cb61
cmp dword [ebp + 0x10], 1
je 0x1000cb39
cmp dword [ebp + 0x10], 2
je 0x1000cb39
push 0xd
pop eax
jmp 0x1000cb61
mov eax, dword [ebp - 4]
test edi, edi
je 0x1000cb5b
test eax, eax
je 0x1000cb56
test al, 1
jne 0x1000cb34
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x1000cb5b
jmp 0x1000cb34
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc

Function at 0x1000d051
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x1008cc50]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0x103
push eax
mov dword [ebp - 0x10c], eax
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x107]
push eax
call fcn.10050600
add esp, 0xc
cmp dword [esi + 0x18], 0x10
jb 0x1000d09a
mov esi, dword [esi + 4]
jmp 0x1000d09d
add esi, 4
push 0x104
lea eax, [ebp - 0x108]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea eax, [ebp - 0x108]
push eax
mov ecx, edi
call fcn.10001402
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.100503cc
leave
ret

Function at 0x1000df2b
Capabilities:
Create process on windows

Disassembly:
push 0x7c
mov eax, 0x100721d4
call fcn.10050b54
mov dword [ebp - 0x4c], ecx
mov ebx, dword [ebp + 8]
push 7
pop esi
xor edi, edi
push edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], esi
call fcn.1000186e
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], esi
call fcn.1000186e
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
push ebx
mov byte [ebp - 4], 1
call fcn.1000ddb4
test eax, eax
jne 0x1000df96
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.10001672
push edi
push 1
lea ecx, [ebp - 0x48]
call fcn.10001672
xor eax, eax
call fcn.10050bd7
ret 4
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x88]
push edi
push eax
call fcn.10050600
mov eax, dword [ebp - 0x44]
add esp, 0xc
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x88], esi
jae 0x1000dfbc
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x28]
jae 0x1000dfcb
lea eax, [ebp - 0x28]
mov dword [ebp - 0x74], eax
xor esi, esi
lea eax, [ebp - 0x88]
inc esi
push eax
mov dword [ebp - 0x6c], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x1000dfff
xor ebx, ebx
push edi
push esi
lea ecx, [ebp - 0x2c]
call fcn.10001672
push edi
push esi
lea ecx, [ebp - 0x48]
call fcn.10001672
mov eax, ebx
jmp 0x1000df8e
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, esi
jmp 0x1000dfe7
Function at 0x1000eb3e
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x1008cc50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 1
mov ecx, 0x1008e628
call fcn.1000f623
mov ebx, eax
test ebx, ebx
jl 0x1000ec9e
and dword [ebp - 0x70], 0
and dword [ebp - 0x6c], 0
push esi
push edi
mov edi, 0x2001f
push edi
push str._shellexContextMenuHandlers_
mov esi, SysReAllocStringLen
push esi
lea ecx, [ebp - 0x70]
call fcn.10009473
test eax, eax
jne 0x1000ebce
push eax
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, eax
test ebx, ebx
je 0x1000eba5
cmp ebx, 2
jne 0x1000ec92
push 0x100754cc
lea ecx, [ebp - 0x70]
call fcn.100093a3
push 0x100756e8
lea ecx, [ebp - 0x70]
call fcn.100093a3
mov ebx, eax
test ebx, ebx
je 0x1000ebce
cmp ebx, 2
jne 0x1000ec92
push edi
push str.directory_shellexContextMenuHandlers_
push esi
lea ecx, [ebp - 0x70]
call fcn.10009473
test eax, eax
jne 0x1000ec0a
push 0x1007570c
lea ecx, [ebp - 0x70]
call fcn.100093a3
push 0x10075778
lea ecx, [ebp - 0x70]
call fcn.100093a3
mov ebx, eax
test ebx, ebx
je 0x1000ec0a
cmp ebx, 2
jne 0x1000ec92
push edi
push str.drive_shellexContextMenuHandlers_
push esi
lea ecx, [ebp - 0x70]
call fcn.10009473
test eax, eax
jne 0x1000ec42
push str.KuaiyaShlExt
lea ecx, [ebp - 0x70]
call fcn.100093a3
push str.KuaiZipShlPropExt
lea ecx, [ebp - 0x70]
call fcn.100093a3
mov ebx, eax
test ebx, ebx
je 0x1000ec42
cmp ebx, 2
jne 0x1000ec92
push 0x32
lea eax, [ebp - 0x68]
push eax
push 0x10076a54
call dword [sym.imp.ole32.dll_StringFromGUID2]
call dword [sym.imp.KERNEL32.dll_GetVersion]
test esi, eax
jne 0x1000ec92
and dword [ebp - 0x78], 0
and dword [ebp - 0x74], 0
push 2
push 0x10075828
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x78]
call fcn.10009473
test eax, eax
jne 0x1000ec8a
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [ebp - 0x78]
call fcn.100093fe
lea ecx, [ebp - 0x70]
call fcn.100093fe
pop edi
mov eax, ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100503cc
leave
ret
Function at 0x100103c9
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3f0]
sub esp, 0x470
mov eax, dword [0x1008cc50]
xor eax, ebp
mov dword [ebp + 0x3ec], eax
mov eax, dword [ebp + 0x3f8]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x3fc]
push edi
mov dword [ebp - 0x7c], eax
push ecx
lea eax, [ebp + 0x1e4]
push eax
mov dword [ebp - 0x74], ecx
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x10075b6c
lea eax, [ebp + 0x1e4]
push eax
call edi
xor ebx, ebx
push 0x24c
lea eax, [ebp - 0x68]
push ebx
push eax
mov dword [ebp - 0x6c], ebx
call fcn.10050600
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x1e4]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x78], eax
cmp eax, 0xffffffff
jne 0x10010454
xor eax, eax
jmp 0x100104c8
mov dword [ebp - 0x70], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x10075b68
lea eax, [ebp - 0x40]
push eax
call ebx
test eax, eax
je 0x100104a2
push 0x10075b60
lea eax, [ebp - 0x40]
push eax
call ebx
test eax, eax
je 0x100104a2
test byte [ebp - 0x6c], 0x10
jne 0x100104a2
mov ebx, dword [ebp - 0x74]
push dword [ebp - 0x74]
add ebx, 0x410
push ebx
call esi
lea eax, [ebp - 0x40]
push eax
push ebx
call edi
push ebx
push dword [ebp - 0x7c]
call dword [ebp - 0x80]
test eax, eax
jne 0x100104b5
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10010457
jmp 0x100104bc
mov dword [ebp - 0x70], 1
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp + 0x3ec]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100503cc
add ebp, 0x3f0
leave
ret 8

Function at 0x10010716
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x1008cc50]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a0]
push esi
push edi
push 0x104
mov esi, ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push str.Lang
xor ecx, ecx
push esi
mov word [eax], cx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
xor eax, eax
mov word [esi + 0x410], ax
lea edi, [esi + 0x208]
mov word [edi], ax
push 0x10083f20
mov eax, 0x10075bf0
push eax
push eax
lea eax, [ebp - 0x74]
push 0x10075bcc
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [ebp - 0x7c]
push eax
push 1
push 0
lea eax, [ebp - 0x74]
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100107d9
push ebx
mov ebx, dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
push eax
push edi
lea eax, [ebp - 0x80]
push eax
push 0
push str.LangModule
push ebx
mov dword [ebp - 0x78], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test ebx, ebx
je 0x100107d8
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov ecx, dword [ebp + 0x194]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100503cc
add ebp, 0x198
leave
ret 4
Function at 0x100113b8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push dword [esp + 0x10]
push esi
push dword [0x1008e6c8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push esi
call edi
push esi
call edi
push 1
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_CharLowerBuffW]
cmp word [esp + 0x14], 0x6d
jne 0x1001141a
call fcn.100701a0
test al, al
je 0x10011400
push 0x10076258
jmp 0x10011405
push 0x10076260
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x10076268
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
jmp 0x10011430
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x10076284
push esi
call edi
push str.KuaiZip.exe
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
pop edi
pop esi
mov eax, ecx
ret
Function at 0x1001304b
Capabilities:
Read file via mapping

Disassembly:
push esi
push 0x10076920
push 0
push 6
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [esi + 4], eax
test eax, eax
jne 0x10013066
pop esi
ret
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
xor ecx, ecx
test eax, eax
setne cl
mov dword [esi + 8], eax
pop esi
mov eax, ecx
ret

Function at 0x10013abb
Capabilities:
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x1008cc50]
xor eax, ebp
mov dword [ebp + 0x190], eax
push ebx
mov ebx, dword [ebp + 0x19c]
push esi
push edi
mov edi, dword [ebp + 0x1a4]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push eax
mov esi, ecx
mov dword [ebp - 0x7c], ebx
call fcn.10050600
add esp, 0xc
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x78]
push eax
call edi
xor eax, eax
cmp ax, word [ebp - 0x78]
jne 0x10013b22
push str..zip
lea eax, [ebp - 0x78]
push eax
call edi
cmp dword [esi + 0x2a4], 0
je 0x10013b4c
push str.Archive
lea ecx, [ebp - 0x80]
call fcn.100172b6
push dword [ebp - 0x80]
push ebx
call edi
push dword [ebp - 0x80]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x10013c22
lea ebx, [esi + 0x38]
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
push 0x1c
cdq
pop ecx
idiv ecx
cmp eax, 1
jbe 0x10013bea
cmp dword [esi + 0x1c], 8
jb 0x10013b6f
mov eax, dword [esi + 8]
jmp 0x10013b72
lea eax, [esi + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
cmp dword [esi + 0x1c], 8
jb 0x10013b84
mov esi, dword [esi + 8]
jmp 0x10013b87
add esi, 8
cmp eax, esi
jne 0x10013bd9
push 0
mov ecx, ebx
call fcn.10017170
cmp dword [eax + 0x18], 8
jb 0x10013b9f
mov eax, dword [eax + 4]
jmp 0x10013ba2
add eax, 4
push eax
push dword [ebp - 0x7c]
call edi
push 0
mov ecx, ebx
call fcn.10017170
cmp dword [eax + 0x18], 8
jb 0x10013bbc
mov eax, dword [eax + 4]
jmp 0x10013bbf
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x10013c22
push dword [ebp - 0x7c]
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
test eax, eax
je 0x10013c22
jmp 0x10013c1d
push eax
push dword [ebp - 0x7c]
call edi
push dword [ebp - 0x7c]
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
jmp 0x10013c22
push 0
mov ecx, ebx
call fcn.10017170
cmp dword [eax + 0x18], 8
jb 0x10013bfe
mov eax, dword [eax + 4]
jmp 0x10013c01
add eax, 4
push eax
push dword [ebp - 0x7c]
call edi
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x10013c22
push dword [ebp - 0x7c]
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov ecx, dword [ebp + 0x190]
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.100503cc
add ebp, 0x194
leave
ret 0xc
Function at 0x10014445
Capabilities:
Create directory
Get common file path
Write file on windows

Disassembly:
push ebp
sub esp, 0x42c
lea ebp, [esp - 4]
mov eax, dword [0x1008cc50]
xor eax, ebp
mov dword [ebp + 0x42c], eax
push 0x18
mov eax, 0x1007261d
call fcn.10050aeb
mov eax, dword [ebp + 0x438]
mov dword [ebp - 0x18], eax
mov eax, dword [eax + 0x14]
mov edi, ecx
mov ecx, dword [ebp + 0x440]
add eax, eax
mov dword [ebp - 0x20], ecx
cmp eax, 0xbb8
jae 0x10014491
xor eax, eax
inc eax
jmp 0x100145fb
xor eax, eax
push 0x206
mov word [ebp + 0x224], ax
xor ebx, ebx
lea eax, [ebp + 0x226]
push ebx
push eax
call fcn.10050600
add esp, 0xc
lea eax, [ebp + 0x224]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push ebx
lea eax, [ebp + 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp + 0x1c]
push eax
push ebx
push str.QZTMP
lea eax, [ebp + 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push str.w__ccsUNICODE
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10052db8
add esp, 0xc
cmp dword [ebp - 0x14], ebx
jne 0x10014509
xor eax, eax
jmp 0x100145fb
lea esi, [edi + 0x38]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push 0x1c
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], eax
test eax, eax
jle 0x10014598
add edi, 0x50
mov dword [ebp - 0x24], edi
mov ecx, dword [ebp - 0x24]
push ebx
call fcn.10017329
mov ecx, dword [ebp + 0x43c]
test dword [eax], ecx
je 0x10014592
push ebx
mov ecx, esi
call fcn.10017170
push eax
lea ecx, [ebp]
call fcn.10001dab
and dword [ebp - 4], 0
push 0x1007727c
lea ecx, [ebp]
call fcn.10011f1e
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x10014569
lea eax, [ebp + 4]
push dword [ebp - 0x14]
mov edi, dword [ebp + 0x14]
push edi
push 2
push eax
call fcn.10052c70
add esp, 0x10
cmp eax, edi
jne 0x10014582
inc dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp]
call fcn.10001672
inc ebx
cmp ebx, dword [ebp - 0x1c]
jl 0x10014528
push dword [ebp - 0x14]
call fcn.10052a92
pop ecx
test eax, eax
jne 0x10014502
cmp dword [ebp - 0x10], eax
je 0x10014502
push 0x1008e7cc
lea ecx, [ebp - 0x10]
call fcn.10002cc0
lea eax, [ebp + 0x1c]
push eax
push dword [ebp - 0x20]
xor edi, edi
lea eax, [ebp - 0x10]
push str.___s_s_
inc edi
push eax
mov dword [ebp - 4], edi
call fcn.1000ce91
mov ecx, dword [ebp - 0x18]
add esp, 0x10
call fcn.10017b0f
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
push esi
call fcn.10011f1e
lea ecx, [esi - 0x10]
call fcn.100028c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x42c]
xor ecx, ebp
call fcn.100503cc
add ebp, 0x430
leave
ret 0xc
Function at 0x100146de
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x1040]
mov eax, 0x1040
call fcn.100503e0
push 0xffffffffffffffff
push 0x10072680
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x1008cc50]
xor eax, ebp
mov dword [ebp + 0x103c], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x1048]
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [ebp]
mov dword [ebp - 0x10], eax
mov dword [ebp + 0x18], 7
call fcn.1000186e
push 2
lea eax, [ebp]
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.100143d2
push 0x10077140
push 2
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.10014445
test eax, eax
je 0x100148e1
cmp dword [ebp + 0x1050], ebx
jl 0x100148e1
mov eax, dword [ebp + 0x104c]
jg 0x1001477c
cmp eax, 2
jb 0x100148e1
cmp dword [ebp + 0x1050], ebx
jg 0x100148e1
jl 0x10014795
cmp eax, 0x1000
ja 0x100148e1
dec eax
dec eax
je 0x100148b1
dec eax
dec eax
je 0x10014846
sub eax, 4
je 0x10014858
sub eax, 8
je 0x1001483b
sub eax, 0x1f0
je 0x100148b1
sub eax, 0xe00
jne 0x100148e1
push ebx
push 0x10
lea eax, [ebp + 0x1c]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push ebx
lea ecx, [esi + 0x38]
call fcn.10017170
cmp dword [eax + 0x18], 8
jb 0x100147ef
mov ecx, dword [eax + 4]
jmp 0x100147f2
lea ecx, [eax + 4]
mov eax, 0x104
push eax
lea edx, [ebp + 0xc2c]
push edx
push eax
lea edx, [ebp + 0xe34]
push edx
push eax
lea edx, [ebp + 0xa24]
push edx
push eax
lea eax, [ebp + 0x81c]
push eax
push ecx
call fcn.10052e0b
add esp, 0x24
push dword [esi + 0x2ac]
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x1c]
push 1
push eax
jmp 0x100148d2
lea eax, [esi + 0x9c]
cmp word [eax], bx
jne 0x10014833
cmp dword [esi + 0x1c], 8
jb 0x10014851
mov esi, dword [esi + 8]
jmp 0x10014854
add esi, 8
push 1
jmp 0x100148d1
cmp dword [esi + 0x1c], 8
jb 0x10014863
mov eax, dword [esi + 8]
jmp 0x10014866
lea eax, [esi + 8]
push eax
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push ebx
lea ecx, [esi + 0x38]
call fcn.10017170
cmp dword [eax + 0x18], 8
jb 0x10014885
mov ecx, dword [eax + 4]
jmp 0x10014888
lea ecx, [eax + 4]
mov eax, 0x104
push eax
lea edx, [ebp + 0x81c]
push edx
push eax
lea edx, [ebp + 0xa24]
push edx
push eax
lea edx, [ebp + 0xe34]
push edx
push eax
lea eax, [ebp + 0xc2c]
jmp 0x10014816
lea eax, [esi + 0x9c]
cmp word [eax], bx
je 0x100148c2
push ebx
jmp 0x10014835
cmp dword [esi + 0x1c], 8
jb 0x100148cd
mov esi, dword [esi + 8]
jmp 0x100148d0
add esi, 8
push ebx
push esi
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call fcn.10014620
add esp, 0x10
push ebx
push 1
lea ecx, [ebp]
call fcn.10001672
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp + 0x103c]
xor ecx, ebp
call fcn.100503cc
add ebp, 0x1040
leave
ret 0xc
Function at 0x10014af6
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
sub esp, 0x634
lea ebp, [esp - 4]
mov eax, dword [0x1008cc50]
xor eax, ebp
mov dword [ebp + 0x634], eax
push 0xc
mov eax, 0x1007272a
call fcn.10050aeb
mov edi, dword [ebp + 0x640]
mov esi, dword [ebp + 0x644]
mov dword [ebp - 0x18], ecx
push 0
lea ecx, [ebp]
mov dword [ebp + 0x18], 7
call fcn.1000186e
mov ecx, dword [ebp - 0x18]
and dword [ebp - 4], 0
push 0xffffffffffffffff
lea eax, [ebp]
push eax
call fcn.100143d2
mov ecx, dword [ebp - 0x18]
push 0x100771c0
push 0xffffffffffffffff
lea eax, [ebp]
push eax
call fcn.10014445
mov ecx, edi
test eax, eax
jne 0x10014b9f
call fcn.10017b0f
xor esi, esi
push 0
push 1
lea ecx, [ebp]
call fcn.10001672
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 + 0x634]
xor ecx, ebp
call fcn.100503cc
add ebp, 0x638
leave
ret 8
push 0x100771c4
call fcn.10002c20
push str._ieml.
mov ecx, edi
call fcn.10011f1e
mov ebx, 0x1008e7cc
push ebx
lea ecx, [ebp - 0x10]
call fcn.10002cc0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x10]
test esi, esi
je 0x10014bdf
push esi
push str.______s_
push eax
call fcn.1000ce91
add esp, 0xc
jmp 0x10014bec
push 0x100771f0
push eax
call fcn.1000ce91
pop ecx
pop ecx
push dword [ebp - 0x10]
mov ecx, edi
call fcn.10011f1e
lea eax, [ebp + 0x1c]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp + 0x42c]
push eax
push 0
push 0x100771fc
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp + 0x42c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
xor ecx, ecx
mov word [eax], cx
push ebx
lea ecx, [ebp - 0x14]
call fcn.10002cc0
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
call fcn.10011626
push dword [ebp - 0x14]
lea eax, [ebp + 0x42c]
push esi
push eax
call fcn.10051baf
add esp, 0x10
push 0
lea eax, [ebp + 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0x18]
push 0
push esi
lea eax, [ebp + 0x224]
push eax
call fcn.10013abb
lea eax, [ebp + 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp + 0x42c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x42c]
push eax
call fcn.10011305
pop ecx
mov ecx, edi
test eax, eax
je 0x10014cc9
push str.___a
call fcn.10011f1e
lea eax, [ebp + 0x42c]
push eax
mov ecx, edi
call fcn.10011f1e
push 0x10077208
mov ecx, edi
jmp 0x10014cd0
lea eax, [ebp + 0x42c]
push eax
call fcn.10011f1e
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x10014ce1
lea eax, [ebp + 4]
push eax
push edi
call fcn.1001436e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.100028c0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.100028c0
xor esi, esi
inc esi
jmp 0x10014b6c
Function at 0x10016ed3
Capabilities:
Get disk information

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x10016ee7
mov eax, dword [esp + 8]
ret
cmp eax, 4
mov eax, dword [esp + 0xc]
je 0x10016ef4
mov eax, dword [esp + 0x10]
ret

Function at 0x1001883e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x10]
mov esi, ecx
push 0
push dword [ebp + 0xc]
call fcn.10050600
add esp, 0xc
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push eax
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x1001888c
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0x18]
jb 0x1001887d
mov eax, dword [ebp + 0x18]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call fcn.10052190
add esp, 0xc
mov eax, esi
pop esi
pop ebp
ret 0x14

Function at 0x10018893
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x10]
mov esi, ecx
push 0
push dword [ebp + 0xc]
call fcn.10050600
add esp, 0xc
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
pop esi
pop ebp
ret 0xc

Function at 0x10019485
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x1008cc50]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x34
mov eax, 0x10072cab
call fcn.10050aeb
xor eax, eax
push 0x7fe
mov word [ebp], ax
xor esi, esi
lea eax, [ebp + 2]
push esi
push eax
call fcn.10050600
push str.Update
push 0x100776f0
push str.KuaiZip
lea eax, [ebp]
push str.software_s_s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x20
lea ecx, [ebp - 0x10]
call fcn.10001b83
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.100015dc
push eax
push 0x20019
push esi
lea eax, [ebp]
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
je 0x10019540
inc esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10001b89
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 + 0x800]
xor ecx, ebp
call fcn.100503cc
add ebp, 0x804
leave
ret
xor eax, eax
mov dword [ebp - 0x18], esi
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
push str.kernel
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x1c], 8
call fcn.10001b9e
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.1001945a
pop ecx
pop ecx
mov esi, eax
jmp 0x1001950f