joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b0d0
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x230], 0
jne 0x42b1a4
push edi
mov edi, dword [esp + 0xc]
test edi, edi
je 0x42b110
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42b114
push edi
call fcn.00404580
add esp, 4
test eax, eax
jne 0x42b114
call fcn.0044e050
push eax
push edi
call fcn.0044e060
add esp, 8
xor eax, eax
jmp 0x42b11b
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x230], eax
pop edi
test eax, eax
je 0x42b1ad
push str.InitAntiVirusScanEng
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esi + 4]
mov dword [esi + 0x224], eax
mov dword [ecx], 0x204
test eax, eax
je 0x42b1ad
push ecx
call eax
add esp, 4
test eax, eax
je 0x42b1ad
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x210], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x214], ecx
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x218], edx
mov edx, dword [esi + 0x20]
mov dword [esi + 0x21c], eax
mov eax, dword [esi + 0x24]
mov dword [esi + 0x220], ecx
mov ecx, dword [esi + 0x2c]
mov dword [esi + 0x228], edx
mov edx, dword [esi + 0x28]
mov dword [esi + 0x22c], eax
mov dword [esi + 0x208], ecx
mov dword [esi + 0x20c], edx
mov eax, 1
pop esi
ret 4
xor eax, eax
pop esi
ret 4

Function at 0x42b620
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x804
mov eax, dword [0x485b90]
xor eax, esp
mov dword [esp + 0x800], eax
test esi, esi
je 0x42b6aa
push 0x800
lea eax, [esp + 4]
push 0
push eax
call fcn.0044e2b0
mov ecx, dword [esi]
mov eax, dword [ecx + 0x20]
add esp, 0xc
push 0x400
lea edx, [esp + 4]
push edx
push esi
call eax
cmp word [esp], 0
je 0x42b6aa
lea ecx, [esp]
push ecx
push 1
push 0
mov dword [0x487a38], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x487a38], eax
test eax, eax
je 0x42b6aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42b6aa
xor eax, eax
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.0044e29c
add esp, 0x804
ret
mov ecx, dword [esp + 0x800]
xor ecx, esp
mov eax, 1
call fcn.0044e29c
add esp, 0x804
ret

Function at 0x42ba10
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x42ba30
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x42ba44
pop edi
lea eax, [esi + 0xd]
pop esi
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edi]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc
Function at 0x42ba70
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 4], ecx
test ebp, ebp
jne 0x42ba86
lea eax, [ebp + 0xd]
pop ebp
pop ecx
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x42ba93
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8

Function at 0x42c110
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x485b90]
xor eax, esp
mov dword [esp + 0x220], eax
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
lea esi, [esp + 0x14]
push esi
xor edi, edi
or eax, 0x2001f
push eax
push edi
push edx
push ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0xc]
mov esi, eax
cmp esi, edi
jne 0x42c186
xor eax, eax
cmp ecx, edi
je 0x42c174
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], edi
mov esi, eax
mov dword [esp + 0xc], ecx
cmp eax, edi
je 0x42c194
cmp ecx, edi
je 0x42c232
push ecx
jmp 0x42c22c
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push edi
push edi
push edi
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x3c]
push eax
push edi
push ecx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
jne 0x42c1fc
lea esp, [esp]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x10]
call fcn.0042c110
mov dword [esp + 0x14], eax
cmp eax, edi
jne 0x42c24b
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x10]
push edi
push edi
push edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
push ecx
push edi
push edx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
je 0x42c1c0
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x42c20f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx]
push eax
push ecx
mov dword [esp + 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x42c232
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.0044e29c
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0xc]
cmp ecx, edi
je 0x42c234
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044e29c
mov esp, ebp
pop ebp
ret 4
Function at 0x42d9d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x4697e0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x485b90]
xor eax, ebp
mov dword [ebp + 0x404], 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 + 0x410]
mov edi, dword [ebp + 0x414]
mov ebx, dword [ebp + 0x418]
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp], edx
push 2
push edx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x42da52
call fcn.0042b880
mov edi, eax
jmp 0x42db34
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x42da6b
call fcn.0042b880
jmp 0x42db2b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x42da86
call fcn.0042b880
jmp 0x42db2b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x18], edi
cmp eax, edi
jae 0x42dabc
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x42daaa
lea ecx, [ebp]
call fcn.0042c0b0
lea ecx, [ebp - 0x20]
call fcn.0042c050
mov eax, 0x8007000e
jmp 0x42db46
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.0042c800
mov dword [ebp - 4], 1
jmp 0x42dae8
mov eax, dword [ebp]
test eax, eax
jne 0x42daf6
mov edi, 0x8007000e
jmp 0x42db2d
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x42db0f
call fcn.0042b880
jmp 0x42db2b
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x41c]
mov ecx, dword [ebp]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.0042d7a0
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x42db44
lea ecx, [ebp]
call fcn.0042c0b0
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 + 0x404]
xor ecx, ebp
call fcn.0044e29c
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0x10

Function at 0x42e1c0
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 8]
call fcn.00419ca0
mov esi, dword [esp + 4]
cmp dword [esi - 8], 0
jl 0x42e21e
push 0x46ed7c
push esi
call fcn.0044f968
add esp, 8
test eax, eax
je 0x42e21e
sub eax, esi
sar eax, 1
js 0x42e21e
lea eax, [esi - 0xc]
cmp eax, dword [0x484060]
je 0x42e216
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42e216
push esi
call fcn.0044eec4
add esp, 4
mov eax, 1
pop esi
pop ecx
ret
lea ecx, [esi - 0xc]
cmp ecx, dword [0x484060]
je 0x42e240
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42e240
push esi
call fcn.0044eec4
add esp, 4
xor eax, eax
pop esi
pop ecx
ret
Function at 0x42e250
Capabilities:
Check if file exists
Delete file
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4694b8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x485b90]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2c]
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], 0
xor ebp, ebp
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42e2d6
mov ecx, dword [esp + 0x2c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x42e2d1
cmp eax, 0x50
je 0x42e2d1
cmp eax, 0xb7
je 0x42e2d1
lea ecx, [esp + 0x2c]
call fcn.00415e30
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret
mov ebp, 1
push str.wftest.tf
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00419dc0
mov ecx, dword [esp + 0x10]
push 0
push 0x80
push 2
push 0
push 2
push 0x120116
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x42e361
mov eax, str.wftest
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42e316
push 0
sub eax, edx
lea edx, [esp + 0x18]
push edx
mov esi, eax
push esi
push str.wftest
push edi
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42e34f
cmp esi, dword [esp + 0x14]
jne 0x42e34f
mov dword [esp + 0x18], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test ebp, ebp
je 0x42e372
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00401d70
add esp, 4
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, dword [0x484060]
je 0x42e3a1
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42e3a1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0044eec4
add esp, 4
mov eax, dword [esp + 0x2c]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x484060]
je 0x42e3ca
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42e3ca
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff4
push edx
call fcn.0044eec4
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret
Function at 0x42ebf0
Capabilities:
Hide graphical window

Disassembly:
push ebp
push esi
push 6
mov esi, ecx
call fcn.0042f870
mov ecx, esi
call fcn.0042f760
mov ebp, eax
test ebp, ebp
je 0x42eccf
push ebx
push edi
mov ecx, ebp
call fcn.00431f80
mov ecx, eax
call fcn.00415160
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x42ec4f
mov eax, dword [esi + 4]
push 0
push 0x3ff
push eax
call fcn.004212b0
mov ecx, dword [esi + 4]
add esp, 0xc
push 0x3ff
push ecx
call ebx
push 0
push eax
call edi
mov ecx, ebp
call fcn.004321e0
test eax, eax
jne 0x42ec6c
mov ecx, ebp
call fcn.00432030
mov ecx, eax
call fcn.00420870
test eax, eax
je 0x42ec9f
mov edx, dword [esi + 4]
push 0
push 0x3fe
push edx
call fcn.004212b0
mov eax, dword [esi + 4]
add esp, 0xc
push 0x3fe
push eax
call ebx
push 0
push eax
call edi
mov ecx, dword [esi + 4]
push 0x416
push ecx
call ebx
push 5
push eax
call edi
mov ecx, ebp
call fcn.00432030
mov ecx, eax
call fcn.004207c0
cmp dword [eax], 0
pop edi
pop ebx
jne 0x42ecc6
mov ecx, ebp
call fcn.00432030
mov ecx, eax
call fcn.004207e0
test eax, eax
je 0x42eccf
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
mov ecx, esi
pop esi
pop ebp
jmp fcn.0042fd10
Function at 0x430980
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x469a88
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x485b90]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0042f840
mov ecx, ebx
mov edi, eax
call fcn.0042f760
mov esi, eax
test edi, edi
je 0x430a2b
test esi, esi
je 0x430a2b
mov ecx, esi
call fcn.00432030
mov ecx, esi
call fcn.00432010
mov esi, eax
test esi, esi
je 0x430a2b
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
push esi
call ecx
test eax, eax
jne 0x430a2b
mov edx, dword [esi]
mov eax, dword [edx + 0x34]
push esi
call eax
test eax, eax
jne 0x430a2b
mov ecx, edi
call fcn.00415400
test eax, eax
jne 0x430a2b
mov ecx, edi
call fcn.004154a0
test eax, eax
je 0x430a2b
mov ecx, dword [0x484064]
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x10]
push edx
mov ecx, edi
mov dword [esp + 0x20], 0
call fcn.00419900
test eax, eax
jne 0x430a40
lea ecx, [esp + 0x10]
call fcn.00415e30
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x430a22
push 5
mov ecx, ebx
call fcn.0042f780
lea ecx, [esp + 0x10]
call fcn.00415e30
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x431020
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x469b18
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x485b90]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.0042fa00
xor ebx, ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
or eax, 0xffffffff
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov byte [esi + 0x48], bl
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0xc], 4
mov dword [esi + 0x4c], vtable.IExtractCallback.0
lea ecx, [esi + 0x58]
mov dword [esp + 0x18], ebx
mov dword [esi], vtable.CSetupProgressDialog.2.0
mov dword [esi + 0x10], vtable.CSetupProgressDialog.1.0
mov dword [esi + 0x4c], vtable.CSetupProgressDialog.0
call fcn.004259a0
mov eax, dword [0x484064]
mov dword [esi + 0x338], eax
mov ecx, dword [0x484064]
lea edx, [esi + 0x344]
mov dword [esi + 0x33c], ecx
push edx
mov dword [esi + 0x340], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x35c], ebx
mov dword [esi + 0x360], 0x50
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x4323a0
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4323b6
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x4323bc
mov eax, 1
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call edi
test eax, eax
jne 0x4323e1
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4323e8
push esi
call edi
test eax, eax
je 0x4323e8
mov eax, 1
pop edi
ret
xor eax, eax
pop edi
ret

Function at 0x434360
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call edi
test eax, eax
je 0x43437b
pop edi
mov eax, 1
pop esi
ret
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x434373
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x43439d
push esi
call edi
test eax, eax
jne 0x434373
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop edi
xor eax, eax
pop esi
ret

Function at 0x4343c0
Capabilities:
Delete registry key

Disassembly:
mov eax, dword [esp + 4]
push eax
call fcn.00434360
add esp, 4
cmp dword [esp + 0x10], 0
je 0x4343e4
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov eax, 1
ret
Function at 0x434a40
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x469fc6
mov eax, dword fs:[0]
push eax
sub esp, 0x884
mov eax, dword [0x485b90]
xor eax, esp
mov dword [esp + 0x880], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485b90]
xor eax, esp
push eax
lea eax, [esp + 0x898]
mov dword fs:[0], eax
mov esi, dword [esp + 0x8a8]
xor ebx, ebx
mov dword [esp + 0x18], esi
cmp esi, ebx
jne 0x434a93
xor eax, eax
jmp 0x434c61
cmp word [esi], bx
je 0x434a8c
mov eax, esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x434aa0
sub eax, edx
sar eax, 1
cmp eax, 0x104
jge 0x434a8c
push 0x410
lea eax, [esp + 0x488]
push ebx
push eax
call fcn.0044e2b0
add esp, 0xc
push 0x47730c
push esi
lea ecx, [esp + 0x48c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x434afb
test al, 1
je 0x434afb
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edx, 0x5c
mov word [esp + 0x478], dx
mov dword [esp + 0x47c], ebx
mov dword [esp + 0x480], ebx
lea eax, [esp + 0x484]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x8a4], ebx
call fcn.004345b0
cmp eax, ebx
je 0x434c41
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea esp, [esp]
cmp dword [esp + 0x480], ebx
je 0x434b99
mov ecx, dword [esp + 0x20]
shr ecx, 4
and ecx, 1
je 0x434b99
cmp word [esp + 0x4c], 0x2e
jne 0x434b99
mov ax, word [esp + 0x4e]
cmp ax, bx
je 0x434b74
cmp ax, 0x2e
jne 0x434b99
cmp word [esp + 0x50], bx
jne 0x434b99
mov eax, dword [esp + 0x47c]
cmp eax, ebx
je 0x434c41
lea edx, [esp + 0x20]
push edx
push eax
call ebp
mov dword [esp + 0x480], eax
mov esi, eax
jmp 0x434c35
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
call fcn.004348c0
mov byte [esp + 0x8a0], 1
cmp dword [esp + 0x480], ebx
je 0x434bd2
mov eax, dword [esp + 0x20]
shr eax, 4
and eax, 1
cmp eax, ebx
je 0x434bd2
mov edi, dword [esp + 0x14]
push edi
call fcn.00434a40
jmp 0x434bdc
mov edi, dword [esp + 0x14]
push edi
call fcn.00434360
mov eax, dword [esp + 0x480]
add esp, 4
cmp eax, ebx
jne 0x434bee
xor esi, esi
jmp 0x434c0c
cmp dword [esp + 0x480], ebx
jne 0x434bfb
xor esi, esi
jmp 0x434c0c
lea ecx, [esp + 0x20]
push ecx
push eax
call ebp
mov dword [esp + 0x480], eax
mov esi, eax
lea edx, [edi - 0xc]
mov byte [esp + 0x8a0], bl
cmp edx, dword [0x484060]
je 0x434c35
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x434c35
push edi
call fcn.0044eec4
add esp, 4
cmp esi, ebx
mov esi, dword [esp + 0x18]
jne 0x434b40
lea ecx, [esp + 0x20]
call fcn.00434460
push esi
call fcn.00401d70
add esp, 4
lea ecx, [esp + 0x20]
call fcn.00434460
mov eax, 1
mov ecx, dword [esp + 0x898]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x880]
xor ecx, esp
call fcn.0044e29c
add esp, 0x890
ret
Function at 0x4358a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x46a046
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x485b90]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea eax, [esp + 0xb]
push eax
lea edx, [esp + 0xf]
lea ecx, [esi + 4]
push edx
mov dword [esi], vtable.CUninstaller.0
call fcn.00434d00
xor eax, eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov ecx, dword [0x484064]
mov dword [esp + 0x18], eax
mov dword [esi + 0x40], ecx
lea ecx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [esi + 0x44], eax
call fcn.00442520
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x435990
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x46a07b
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x485b90]
xor eax, esp
mov dword [esp + 0x2a4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485b90]
xor eax, esp
push eax
lea eax, [esp + 0x2bc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x2cc]
mov esi, ecx
mov ebx, dword [esi + 0x2c]
test ebx, ebx
je 0x435a39
cmp dword [esi + 0x30], 0
je 0x435a39
push 0x2a0
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.0044e2b0
mov ecx, dword [esi + 0x40]
mov eax, dword [ecx - 8]
lea eax, [edi + eax*2]
add esp, 0xc
cmp word [eax], 0x5c
jne 0x435a07
add eax, 2
mov edx, dword [ebx]
mov edx, dword [edx + 0x10]
lea ecx, [esp + 0x18]
push ecx
push eax
push ebx
call edx
test eax, eax
je 0x435a39
cmp dword [esp + 0x2ac], 0
jne 0x435a2d
cmp dword [esp + 0x2a8], 0
je 0x435a39
mov eax, dword [esi + 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push edi
push eax
call edx
mov eax, dword [esi + 0x24]
test eax, eax
je 0x435a5b
movzx ecx, word [esi + 0x38]
movzx edx, word [esi + 0x3c]
shl ecx, 0x10
or ecx, edx
push ecx
push edi
push 0x343f
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
inc dword [esi + 0x38]
push edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 0xffffffff
je 0x435a8f
test al, 0x10
je 0x435a8f
push edi
mov ebx, 1
call fcn.00401d70
add esp, 4
test eax, eax
je 0x435a96
mov eax, ebx
jmp 0x435b35
push edi
call ebp
test eax, eax
jne 0x435ab1
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x435acb
push edi
test ebx, ebx
jne 0x435ab8
call ebp
test eax, eax
je 0x435acb
mov eax, 1
jmp 0x435b35
call fcn.00401d70
add esp, 4
test eax, eax
je 0x435acb
mov eax, 1
jmp 0x435b35
push edi
lea ecx, [esp + 0x18]
call fcn.00419ca0
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0x48]
mov dword [esp + 0x2c8], 0
call fcn.0041b620
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
mov dword [esp + 0x2c4], 0xffffffff
cmp ecx, dword [0x484060]
je 0x435b1e
lea edi, [eax - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x435b1e
push edi
call fcn.0044eec4
add esp, 4
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x44], 1
test ecx, ecx
je 0x435b33
push 1
call fcn.004323f0
xor eax, eax
mov ecx, dword [esp + 0x2bc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2a4]
xor ecx, esp
call fcn.0044e29c
add esp, 0x2b4
ret 4