joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412ac0
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445318
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x45b050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
lea ebx, [eax + 0x58]
neg ebx
push 0x3fc
sbb ebx, ebx
and ebx, eax
push dword [ebx + 4]
call edi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xf0
push eax
call esi
mov ecx, dword [ebp - 0x10]
push 0x40b
mov dword [ecx + 0x5c], eax
push dword [ebx + 4]
call edi
push 0
push 0
push 0xf0
push eax
call esi
mov ecx, dword [ebp - 0x10]
push 0x417
mov dword [ecx + 0x60], eax
push dword [ebx + 4]
call edi
push 0
push 0
push 0xf0
push eax
call esi
mov ecx, dword [ebp - 0x10]
push 0x410
mov dword [ecx + 0x64], eax
push dword [ebx + 4]
call edi
push 0
push 0
push 0xf0
push eax
call esi
mov ecx, dword [ebp - 0x10]
push 0x413
mov dword [ecx + 0x68], eax
push dword [ebx + 4]
call edi
push 0
push 0
push 0xf0
push eax
call esi
mov ecx, dword [ebp - 0x10]
push 0x418
mov dword [ecx + 0x6c], eax
push dword [ebx + 4]
call edi
push 0
push 0
push 0xf0
push eax
call esi
mov ecx, dword [ebp - 0x10]
push 0x411
mov dword [ecx + 0x70], eax
push dword [ebx + 4]
call edi
push 0
push 0
push 0xf0
push eax
call esi
mov ecx, dword [ebp - 0x10]
push 0x414
mov dword [ecx + 0x74], eax
push dword [ebx + 4]
call edi
push 0
push 0
push 0xf0
push eax
call esi
mov ecx, dword [ebp - 0x10]
push 0x419
mov dword [ecx + 0x78], eax
push dword [ebx + 4]
call edi
push 0
push 0
push 0xf0
push eax
call esi
mov ecx, dword [ebp - 0x10]
push 0x41c
mov dword [ecx + 0x7c], eax
push dword [ebx + 4]
call edi
push 0
push 0
push 0xf0
push eax
call esi
mov ecx, dword [ebp - 0x10]
push 0x41d
mov dword [ecx + 0x80], eax
push dword [ebx + 4]
call edi
push 0
push 0
push 0xf0
push eax
call esi
mov ecx, dword [ebp - 0x10]
push 0x41e
mov dword [ecx + 0x84], eax
push dword [ebx + 4]
call edi
push 0
push 0
push 0xf0
push eax
call esi
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x88], eax
call fcn.00413270
test eax, eax
je 0x412ce7
lea ecx, [ebp - 0x14]
call fcn.0041eca0
xor ecx, ecx
mov dword [ebp - 4], 0
xor esi, esi
nop dword [eax + eax]
mov eax, dword [esi + ebx + 0x5c]
cmp dword [ebx + esi + 0x8c], eax
je 0x412cab
lea ecx, [ebp - 0x14]
push dword [esi + 0x45b018]
test eax, eax
je 0x412ca1
call fcn.0041f4f0
jmp 0x412ca6
call fcn.0041f280
mov ecx, 1
add esi, 4
cmp esi, 0x30
jl 0x412c80
test ecx, ecx
je 0x412ccb
push 0
push 0
push 0x1000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
lea ecx, [ebp - 0x14]
call fcn.0041ed20
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, ebx
call fcn.00413070
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x413070
Capabilities:
Create process on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x45b050]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push str.D7B7CDDF_EF6B_4070_9478_2B37F70BE7AA
push 0x400
push 0
push 4
push 0
push 0xffffffffffffffff
mov dword [ebp - 0x210], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
mov dword [ebp - 0x21c], ebx
test ebx, ebx
je 0x4130c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4130d3
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004204ef
mov esp, ebp
pop ebp
ret
push esi
push 0
push 0
push 0
push 6
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
mov dword [ebp - 0x218], esi
test esi, esi
jne 0x413108
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004204ef
mov esp, ebp
pop ebp
ret
push edi
push 0x400
push 0
push esi
call fcn.00424380
mov eax, dword [ebp - 0x210]
mov edi, esi
mov edx, 0x45b018
add esp, 0xc
mov ecx, 0xc
mov dword [ebp - 0x210], ecx
lea esi, [eax + 0x5c]
sub edx, esi
lea ebx, [eax + 0x8c]
mov dword [ebp - 0x214], edx
mov eax, dword [ebx]
cmp eax, dword [esi]
je 0x413166
push dword [edx + esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [esi]
mov ecx, dword [ebp - 0x210]
mov edx, dword [ebp - 0x214]
mov dword [edi + 0x10], eax
add edi, 0x14
add ebx, 4
add esi, 4
sub ecx, 1
mov dword [ebp - 0x210], ecx
jne 0x413142
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00424380
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x3c
lea eax, [ebp - 0x258]
push 0
push eax
call fcn.00424380
push 0
push 0
push 6
mov dword [ebp - 0x258], 0x3c
mov dword [ebp - 0x254], 0x40
mov dword [ebp - 0x250], 0
call fcn.004129f0
xor edx, edx
mov dword [ebp - 0x244], str._SetFileAssoc
add esp, 0x18
mov dword [ebp - 0x240], edx
test al, al
mov dword [ebp - 0x23c], 5
lea eax, [ebp - 0x20c]
mov ecx, str.runas
mov dword [ebp - 0x248], eax
cmove ecx, edx
lea eax, [ebp - 0x258]
mov dword [ebp - 0x24c], ecx
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0x1388
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004204ef
mov esp, ebp
pop ebp
ret
Function at 0x4139d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x45b050]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00424380
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x413a3d
mov eax, dword [ebp - 0x114]
cmp eax, 5
jae 0x413a2d
cmp eax, 4
jne 0x413a3d
cmp dword [ebp - 0x110], 0x5a
jb 0x413a3d
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004204ef
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.004204ef
mov esp, ebp
pop ebp
ret

Function at 0x4145b0
Capabilities:
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x45b050]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00424380
add esp, 0xc
lea eax, [ebp - 0x414]
push 0x104
push eax
push 0x447a98
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00424380
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00429a76
push str.KZMount.ini
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00429a01
add esp, 0x24
lea eax, [ebp - 0x20c]
push eax
push 0
push str.DisableExitWarning
push 0x447af4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.004204ef
mov esp, ebp
pop ebp
ret

Function at 0x415270
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
jne 0x415289
xor eax, eax
jmp 0x41528c
push edi
call ebx
push edi
push eax
lea ecx, [esi + 0x64]
call fcn.00411130
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x4152a1
xor eax, eax
jmp 0x4152a4
push edi
call ebx
push edi
push eax
lea ecx, [esi + 0x68]
call fcn.00411130
mov al, byte [ebp + 0x10]
push 0
push 0
push esi
push 0x4154f0
push 0
push 0
mov byte [esi + 0x6c], al
call fcn.00429ef3
add esp, 0x18
pop edi
pop esi
pop ebx
test eax, eax
je 0x4152d8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
ret 0xc
Function at 0x4152e0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4454f8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x45b050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2c], edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
mov dword [ebp - 0x28], ebx
test ebx, ebx
je 0x4154d0
cmp dword [ebp - 0x10], 1
jle 0x4154d0
push dword [ebx + 4]
lea ecx, [ebp - 0x24]
call fcn.004135a0
mov esi, dword [ebp - 0x24]
push 0x447cc4
push esi
mov dword [ebp - 4], 0
call fcn.00429bb2
add esp, 8
test eax, eax
je 0x415496
push str._NewDriver
push esi
call fcn.00429bb2
add esp, 8
test eax, eax
je 0x415496
push dword [ebx + 4]
lea ecx, [ebp - 0x18]
call fcn.004135a0
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 1
mov eax, dword [esi - 8]
mov dword [ebp - 0x20], eax
cmp word [esi + eax*2 - 2], 0x22
jne 0x4153b5
lea ecx, [ebp - 0x18]
call fcn.00410030
mov esi, dword [ebp - 0x18]
mov ecx, 0x5c
mov eax, dword [ebp - 0x20]
mov word [esi + eax*2 - 2], cx
mov eax, dword [ebp - 0x10]
cmp eax, 2
jne 0x4153cf
push 0
push 0
push esi
mov ecx, edi
call fcn.00415270
mov eax, dword [ebp - 0x10]
cmp eax, 2
jle 0x41546d
push dword [ebx + 8]
lea ecx, [ebp - 0x14]
call fcn.004135a0
mov edi, dword [ebp - 0x14]
mov byte [ebp - 4], 2
mov eax, dword [edi - 8]
mov dword [ebp - 0x20], eax
cmp word [edi + eax*2 - 2], 0x22
jne 0x41540d
lea ecx, [ebp - 0x14]
call fcn.00410030
mov edi, dword [ebp - 0x14]
mov ecx, 0x5c
mov eax, dword [ebp - 0x20]
mov word [edi + eax*2 - 2], cx
cmp dword [ebp - 0x10], 3
mov byte [ebp - 0x20], 0
jle 0x415458
push dword [ebx + 0xc]
lea ecx, [ebp - 0x1c]
call fcn.004135a0
mov ebx, dword [ebp - 0x1c]
push 0x447cf4
push ebx
call fcn.00429bb2
add esp, 8
test eax, eax
je 0x415449
push str._GUI
push ebx
call fcn.00429bb2
add esp, 8
test eax, eax
jne 0x41544d
mov byte [ebp - 0x20], 1
lea ecx, [ebp - 0x1c]
call fcn.0040fe20
mov ebx, dword [ebp - 0x28]
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
push edi
push esi
call fcn.00415270
lea ecx, [ebp - 0x14]
call fcn.0040fe20
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x18]
call fcn.0040fe20
lea ecx, [ebp - 0x24]
call fcn.0040fe20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x10], 3
jne 0x4154a6
push dword [ebx + 8]
mov ecx, edi
call fcn.00415850
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [esi - 0xc]
cmp eax, dword [0x45b010]
je 0x4154d0
add esi, 0xfffffff4
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x4154d0
push esi
call fcn.00420517
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415850
Capabilities:
Create thread
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445590
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x45b050]
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 dword [ebp - 0x24], ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20]
push eax
call fcn.004135a0
mov edi, dword [ebp - 0x20]
mov dword [ebp - 4], 0
mov esi, dword [edi - 8]
cmp word [edi + esi*2 - 2], 0x22
jne 0x4158b4
lea ecx, [ebp - 0x20]
call fcn.00410030
mov edi, dword [ebp - 0x20]
mov eax, 0x5c
mov word [edi + esi*2 - 2], ax
mov eax, dword [0x447a04]
mov esi, 0x5a
mov ebx, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x18], eax
mov eax, dword [0x447a08]
mov dword [ebp - 0x14], eax
nop
lea eax, [ebp - 0x18]
mov word [ebp - 0x18], si
push eax
call ebx
cmp eax, 1
je 0x41598e
dec esi
cmp esi, 0x41
jge 0x4158d0
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0
mov byte [ebp - 4], 1
call ebx
push 0x27f6
call fcn.004111c0
add esp, 4
test eax, eax
je 0x41591b
movzx ecx, word [eax]
add eax, 2
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov dword [ebp - 0x1c], eax
jmp 0x415922
mov dword [ebp - 0x1c], 0
push 1
push 0x453a58
lea ecx, [ebp - 0x1c]
call fcn.00410fa0
test eax, eax
jns 0x41593b
push eax
call fcn.00403440
test edi, edi
jne 0x415943
xor ecx, ecx
jmp 0x41595f
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415950
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x1c]
call fcn.00410fa0
test eax, eax
jns 0x415973
push eax
call fcn.00403440
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
push esi
push 0x281f
push 0x27dd
call fcn.00417940
push esi
call ebx
jmp 0x4159e6
mov esi, dword [ebp - 0x24]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
test edi, edi
jne 0x41599f
xor eax, eax
jmp 0x4159a2
push edi
call ebx
push edi
push eax
lea ecx, [esi + 0x64]
call fcn.00411130
lea eax, [ebp - 0x18]
push eax
call ebx
lea ecx, [ebp - 0x18]
push ecx
push eax
lea ecx, [esi + 0x68]
call fcn.00411130
push 0
push 0
mov eax, esi
push eax
push 0x4154f0
push 0
push 0
mov byte [eax + 0x6c], 0
call fcn.00429ef3
add esp, 0x18
test eax, eax
je 0x4159e6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi - 0xc]
cmp eax, dword [0x45b010]
je 0x415a09
add edi, 0xfffffff4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x415a09
push edi
call fcn.00420517
add esp, 4
mov eax, 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.004204ef
mov esp, ebp
pop ebp
ret 4
Function at 0x4160e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445648
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x45b050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x45b014]
mov dword [ebp - 0x10], eax
push 0x2794
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.004120a0
mov esi, dword [ebp - 0x10]
push 5
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esi - 0xc]
cmp eax, dword [0x45b010]
je 0x41615a
add esi, 0xfffffff4
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x41615a
push esi
call fcn.00420517
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x416a40
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push 0
push 0
lea ecx, [esi + 0x64]
call fcn.00411130
push 0
push 0
lea ecx, [esi + 0x68]
call fcn.00411130
push 0
push 0
push esi
push 0x4154f0
push 0
push 0
mov byte [esi + 0x6c], 0
call fcn.00429ef3
add esp, 0x18
pop esi
test eax, eax
je 0x416a81
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret 0xc

Function at 0x416d00
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0xc], 0x80
push ebx
mov ebx, ecx
jne 0x416dd3
cmp byte [ebx + 0x48], 0
jne 0x416dd3
cmp dword [ebx + 0x4c], 0
jne 0x416dd3
mov eax, dword [ebp + 0x10]
push esi
push edi
sub eax, 0x202
je 0x416d89
sub eax, 3
jne 0x416dc8
call fcn.00414760
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edi, dword [ebp - 4]
mov esi, dword [ebx + 4]
push edi
push dword [ebp - 8]
call fcn.00417ad0
add esp, 8
push 0
push esi
push 0
push edi
push eax
push 0
push dword [ebx + 0xe4]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call fcn.00414760
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edi, dword [ebp - 0xc]
mov esi, dword [ebx + 4]
push edi
push dword [ebp - 0x10]
call fcn.00417ad0
add esp, 8
push 0
push esi
push 0
push edi
push eax
push 8
push dword [ebx + 0xe0]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4191b0
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x45b050]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00424380
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x419204
mov eax, 0x80004005
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004204ef
mov esp, ebp
pop ebp
ret
push esi
push str.KuaiZipDrive.sys
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push eax
call esi
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x418], 0
push eax
lea eax, [ebp - 0x418]
mov dword [ebp - 0x41c], 0
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.imagehlp.dll_MapFileAndCheckSumW]
test eax, eax
jne 0x419261
mov eax, dword [ebp - 0x418]
cmp eax, dword [ebp - 0x41c]
je 0x419275
mov eax, 0x80004005
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004204ef
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.drivers
lea eax, [ebp - 0x414]
push eax
call esi
push str.KuaiZipDrive.sys
lea eax, [ebp - 0x414]
push eax
call esi
push 0
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 4]
neg eax
pop esi
sbb eax, eax
xor ecx, ebp
and eax, 0x7fffbffb
add eax, 0x80004005
call fcn.004204ef
mov esp, ebp
pop ebp
ret
Function at 0x4197f0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x46c
mov eax, dword [0x45b050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x46c], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x468], eax
lea eax, [ebp - 0x20c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str..dll
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x45c]
push 0
push eax
call fcn.00424380
add esp, 0xc
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x460], eax
cmp eax, 0xffffffff
jne 0x419880
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004204ef
mov esp, ebp
pop ebp
ret 8
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov dword [ebp - 0x464], 0
push 0x448414
lea eax, [ebp - 0x430]
push eax
call edi
test eax, eax
je 0x4198ec
push 0x448418
lea eax, [ebp - 0x430]
push eax
call edi
test eax, eax
je 0x4198ec
test byte [ebp - 0x45c], 0x10
jne 0x4198ec
push ebx
lea esi, [ebx + 0x410]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x430]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push esi
push dword [ebp - 0x468]
call dword [ebp - 0x46c]
test eax, eax
jne 0x419905
lea eax, [ebp - 0x45c]
push eax
push dword [ebp - 0x460]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x419892
jmp 0x41990f
mov dword [ebp - 0x464], 1
push dword [ebp - 0x460]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x464]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004204ef
mov esp, ebp
pop ebp
ret 8

Function at 0x419990
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x45b050]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.00424380
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
push 0x20
lea ecx, [ebp - 0x44]
movzx eax, ax
push ecx
push 0x1004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4199e3
call dword [sym.imp.KERNEL32.dll_GetACP]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004204ef
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x44]
push eax
call fcn.0042662d
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
call fcn.004204ef
mov esp, ebp
pop ebp
ret
Function at 0x41a710
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445af6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x45b050]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x41a7bc
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x41a7bc
call fcn.00419020
mov esi, eax
jmp 0x41a8ac
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x41a7df
call fcn.00419020
jmp 0x41a89f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x41a7fd
call fcn.00419020
jmp 0x41a89f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x41a81e
mov esi, 0x8007000e
jmp 0x41a8a1
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.00418e10
jmp 0x41a848
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x41a85f
mov esi, 0x8007000e
jmp 0x41a8a1
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x41a87f
call fcn.00419020
jmp 0x41a89f
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.0041a5b0
mov esi, eax
test edi, edi
je 0x41a8ac
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x41a8d0
lea ecx, [ebp - 0x418]
call fcn.0041c680
nop word [eax + eax]
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 - 0x14]
xor ecx, ebp
call fcn.004204ef
mov esp, ebp
pop ebp
ret 0x10