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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1110
call fcn.0047d690
mov eax, dword [0x572374]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
call fcn.00406560
cmp eax, 0x104
jle 0x4065fd
xor eax, eax
jmp 0x406721
mov dword [ebp - 0x110c], 0x400
push 0x800
push 0
lea eax, [ebp - 0x1104]
push eax
call fcn.004a9b50
add esp, 0xc
push 0x800
push 0
lea ecx, [ebp - 0x904]
push ecx
call fcn.004a9b50
add esp, 0xc
mov ecx, dword [ebp + 8]
call fcn.00405690
push eax
lea edx, [ebp - 0x1104]
push edx
call fcn.004051d0
add esp, 8
cmp dword [ebp + 0xc], 0
je 0x40666c
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
test ecx, ecx
je 0x40666c
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x1104]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov dword [ebp - 0x1110], 0xa
push 0x100
push 0
lea ecx, [ebp - 0x104]
push ecx
call fcn.004a9b50
add esp, 0xc
mov dword [ebp - 0x1108], 0
jmp 0x4066a7
mov edx, dword [ebp - 0x1108]
add edx, 1
mov dword [ebp - 0x1108], edx
cmp dword [ebp - 0x1108], 0xa
jge 0x40671f
push 0x80
lea eax, [ebp - 0x104]
push eax
call fcn.00406940
add esp, 8
lea ecx, [ebp - 0x104]
push ecx
lea edx, [ebp - 0x1104]
push edx
lea eax, [ebp - 0x904]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str..tmp
lea ecx, [ebp - 0x904]
push ecx
call fcn.004051b0
add esp, 8
lea edx, [ebp - 0x904]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40671a
lea eax, [ebp - 0x904]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00405630
mov eax, 1
jmp 0x406721
jmp 0x406698
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047d268
mov esp, ebp
pop ebp
ret

Function at 0x407020
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x407044
xor eax, eax
jmp 0x4070c4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40705b
xor eax, eax
jmp 0x4070c4
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x4070a7
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x4070a7
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x40707e
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x4070b3
xor eax, eax
jmp 0x4070c4
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x4070c1
xor eax, eax
jmp 0x4070c4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x40ac20
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40aca4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40ac7b
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x14], 0
je 0x40ac72
push 0
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, 1
jmp 0x40aca6
mov edx, dword [ebp - 8]
add edx, 0x10
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.0040cdd0
mov ecx, dword [ebp - 8]
add ecx, 0x10
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40ae10
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x572374]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0xffffffff
jne 0x40ae5a
jmp 0x40af33
push 0x22c
push 0
lea eax, [ebp - 0x230]
push eax
call fcn.004a9b50
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x40aea3
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40af33
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x244], 0
mov ecx, dword [ebp - 0x23c]
cmp ecx, dword [ebp - 0x228]
je 0x40af0f
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.004c8690
add esp, 8
test eax, eax
jne 0x40af0f
mov ecx, dword [ebp - 0x228]
push ecx
mov ecx, dword [ebp - 0x240]
call fcn.0040af50
test eax, eax
je 0x40af0f
mov edx, dword [ebp - 0x228]
mov dword [ebp - 0x238], edx
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0040cdb0
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40aeb9
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047d268
mov esp, ebp
pop ebp
ret 8
Function at 0x413170
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
mov eax, dword [0x572374]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x130], ecx
cmp dword [section..data], 0
jl 0x4131bc
cmp dword [section..data], 0
je 0x4131a7
mov dword [ebp - 0x124], 1
jmp 0x4131b1
mov dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x124]
jmp 0x41329a
mov dword [section..data], 0
push 0x24
push 0
lea eax, [ebp - 0x154]
push eax
call fcn.004a9b50
add esp, 0xc
push 0x11c
push 0
lea ecx, [ebp - 0x120]
push ecx
call fcn.004a9b50
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
jne 0x413234
mov dword [ebp - 0x120], 0x114
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x413234
xor eax, eax
jmp 0x41329a
push 0x530dec
push 0x530e00
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
je 0x413269
lea ecx, [ebp - 0x154]
push ecx
call dword [ebp - 0x128]
jmp 0x41326d
xor eax, eax
jmp 0x41329a
movzx edx, word [ebp - 0x154]
cmp edx, 9
je 0x413285
movzx eax, word [ebp - 0x154]
cmp eax, 6
jne 0x413298
mov dword [section..data], 1
mov eax, 1
jmp 0x41329a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047d268
mov esp, ebp
pop ebp
ret
Function at 0x418730
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4014
call fcn.0047d690
mov eax, dword [0x572374]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x531080]
mov word [ebp - 0x4004], ax
push 0x3ffe
push 0
lea ecx, [ebp - 0x4002]
push ecx
call fcn.004a9b50
add esp, 0xc
mov dword [ebp - 0x4008], 0
mov dword [ebp - 0x4010], 0
cmp dword [ebp + 0xc], 0
je 0x41878a
cmp dword [ebp + 0x10], 0
jne 0x418791
xor eax, eax
jmp 0x418892
lea edx, [ebp - 0x4010]
push edx
mov eax, dword [ebp + 0xc]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x4008], eax
cmp dword [ebp - 0x4008], 0
je 0x4187bc
cmp dword [ebp - 0x4008], 0x3fff
jbe 0x4187c3
xor eax, eax
jmp 0x418892
lea ecx, [ebp - 0x4004]
push ecx
mov edx, dword [ebp - 0x4008]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x418890
lea ecx, [ebp - 0x4014]
push ecx
lea edx, [ebp - 0x400c]
push edx
push 0x531084
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x418890
mov ecx, dword [ebp + 0x14]
shl ecx, 1
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
call fcn.004a9b50
add esp, 0xc
mov eax, dword [ebp - 0x400c]
mov ecx, dword [eax + 0xc]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x400c]
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x400c]
mov ecx, dword [eax + 8]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x400c]
mov ecx, dword [eax + 8]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
push 0x531088
mov eax, dword [ebp + 0x14]
sub eax, 1
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00419b30
add esp, 0x1c
mov eax, 1
jmp 0x418892
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047d268
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4188b0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x4188e3
mov ecx, dword [ebp - 4]
and ecx, 2
jne 0x4188dc
mov edx, dword [ebp - 4]
and edx, 1
jne 0x4188dc
mov eax, dword [ebp - 4]
and eax, 4
je 0x4188e3
mov eax, 1
jmp 0x4188f1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [edx + 0xc]
call ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x418bf0
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52151a
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x572374]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x424], 0
cmp dword [ebp + 8], 0
je 0x418cc5
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x418cc5
cmp dword [ebp + 0xc], 0
je 0x418c56
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
test eax, eax
jne 0x418ca4
push 0x410
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.004a9b50
add esp, 0xc
push 0
push 0
push 0x104
lea edx, [ebp - 0x420]
push edx
mov eax, dword [ebp + 8]
push eax
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
jl 0x418ca2
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x424], 1
jmp 0x418cc5
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
jl 0x418cc5
mov dword [ebp - 0x424], 1
lea ecx, [ebp + 0x10]
call fcn.00419410
movzx ecx, al
test ecx, ecx
je 0x418ce3
mov edx, dword [ebp - 0x424]
push edx
lea ecx, [ebp + 0x10]
call fcn.00419440
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x428], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00419350
mov eax, dword [ebp - 0x428]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047d268
mov esp, ebp
pop ebp
ret 0x30
Function at 0x418d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x572374]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x418], ecx
mov ecx, dword [ebp - 0x418]
add ecx, 8
call fcn.004067e0
movzx eax, al
test eax, eax
je 0x418d8b
push 0x104
push 0x104
mov ecx, dword [ebp - 0x418]
add ecx, 8
call fcn.00415e80
push eax
mov ecx, dword [ebp - 0x418]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x418]
push eax
mov ecx, dword [edx + 0x14]
call ecx
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x418]
add ecx, 8
call fcn.00416080
mov ecx, dword [ebp - 0x418]
add ecx, 0x18
call fcn.004067e0
movzx edx, al
test edx, edx
je 0x418dd1
push 0x104
push 0x104
mov ecx, dword [ebp - 0x418]
add ecx, 0x18
call fcn.00415e80
push eax
call fcn.00419640
add esp, 8
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x418]
add ecx, 0x18
call fcn.00416080
mov ecx, dword [ebp - 0x418]
add ecx, 4
call fcn.004067e0
movzx eax, al
test eax, eax
je 0x418e77
push 0x208
push 0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004a9b50
add esp, 0xc
push 0x104
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x530e50
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x104
push 0x104
mov ecx, dword [ebp - 0x418]
add ecx, 4
call fcn.00415e80
push eax
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x418]
push edx
mov eax, dword [ecx + 4]
call eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x418]
add ecx, 4
call fcn.00416080
mov ecx, dword [ebp - 0x418]
add ecx, 0x10
call fcn.004067e0
movzx ecx, al
test ecx, ecx
je 0x418ee7
mov dword [ebp - 0x41c], 0x104
mov dword [ebp - 0x420], 1
lea edx, [ebp - 0x41c]
push edx
push 0x104
mov ecx, dword [ebp - 0x418]
add ecx, 0x10
call fcn.00415e80
push eax
lea eax, [ebp - 0x420]
push eax
push 0x530e70
push 0x530e78
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x418]
add ecx, 0x10
call fcn.00416080
mov ecx, dword [ebp - 0x418]
add ecx, 0x14
call fcn.004067e0
movzx ecx, al
test ecx, ecx
je 0x418f6a
push 0x208
push 0
lea edx, [ebp - 0x414]
push edx
call fcn.004a9b50
add esp, 0xc
push 0x104
lea eax, [ebp - 0x414]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x104
push 0x104
mov ecx, dword [ebp - 0x418]
add ecx, 0x14
call fcn.00415e80
push eax
lea ecx, [ebp - 0x414]
push ecx
mov edx, dword [ebp - 0x418]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x418]
push ecx
mov edx, dword [eax + 4]
call edx
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x418]
add ecx, 0x14
call fcn.00416080
mov ecx, dword [ebp - 0x418]
add ecx, 0x1c
call fcn.004067e0
movzx eax, al
test eax, eax
je 0x418f92
push 0x530e9c
mov ecx, dword [ebp - 0x418]
add ecx, 0x1c
call fcn.00405630
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047d268
mov esp, ebp
pop ebp
ret
Function at 0x4198d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.00419690
test eax, eax
je 0x4198e7
xor eax, eax
jmp 0x419925
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
jne 0x4198f4
xor eax, eax
jmp 0x419925
mov ecx, dword [ebp - 4]
add ecx, 8
push ecx
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
push edx
push 0
push 0
call fcn.004cafc4
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 4]
call fcn.00419690
mov esp, ebp
pop ebp
ret

Function at 0x41c870
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x41c92d
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x41c8a3
xor eax, eax
jmp 0x41c95b
push 0x5313e4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
push 0x5313f0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
push 0x5313fc
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
push 0x53140c
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
push 0x53141c
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
je 0x41c92d
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
call ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x41c951
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0
je 0x41c951
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
je 0x41c951
mov dword [ebp - 8], 1
jmp 0x41c958
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x41d530
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521863
mov eax, dword fs:[0]
push eax
mov eax, 0x2228
call fcn.0047d690
mov eax, dword [0x572374]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.004a9b50
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41d5a0
jmp 0x41d706
push 0x2000
push 0
lea edx, [ebp - 0x2218]
push edx
call fcn.004a9b50
add esp, 0xc
mov dword [ebp - 0x2228], 1
mov dword [ebp - 0x2224], 0x1000
lea eax, [ebp - 0x2224]
push eax
lea ecx, [ebp - 0x2218]
push ecx
lea edx, [ebp - 0x2228]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str.SOFTWAREQuickSee_file_pe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x41d5fc
jmp 0x41d706
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov dword [ebp - 0x2220], eax
push str..dll
mov edx, dword [ebp - 0x2220]
push edx
call fcn.004c8690
add esp, 8
test eax, eax
jne 0x41d649
push 1
lea eax, [ebp - 0x2218]
push eax
push str.Uninst
lea ecx, [ebp - 0x218]
push ecx
call fcn.0041d720
add esp, 0x10
jmp 0x41d706
push 0x531c40
mov edx, dword [ebp - 0x2220]
push edx
call fcn.004c8690
add esp, 8
test eax, eax
jne 0x41d706
lea eax, [ebp - 0x2218]
push eax
lea ecx, [ebp - 0x221c]
call fcn.004052c0
mov dword [ebp - 4], 0
push str.__uninstall__productbizhi
lea ecx, [ebp - 0x221c]
push ecx
lea edx, [ebp - 0x2234]
push edx
call fcn.004221d0
add esp, 0xc
mov dword [ebp - 0x222c], eax
mov eax, dword [ebp - 0x222c]
mov dword [ebp - 0x2230], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2230]
push ecx
lea ecx, [ebp - 0x221c]
call fcn.00405610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2234]
call fcn.004054b0
push 0xc350
push 1
push 1
lea ecx, [ebp - 0x221c]
call fcn.00405690
push eax
lea edx, [ebp - 0x218]
push edx
call fcn.0041d7a0
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x221c]
call fcn.004054b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047d268
mov esp, ebp
pop ebp
ret
Function at 0x41d7a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41d7b4
jmp 0x41d80f
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044ae90
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push str.call_exe_begin__path__s__cmd__s_
call fcn.0043c2b0
add esp, 0xc
mov ecx, dword [ebp + 0x18]
push ecx
push 0
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0044b090
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
push str.call_exe_return___d___path__s___cmd__s___sync__d_
call fcn.0043c2b0
add esp, 0x14
mov esp, ebp
pop ebp
ret

Function at 0x41d9a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jne 0x41d9ae
jmp 0x41da04
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41d9be
jmp 0x41da04
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
and edx, 0x10
je 0x41d9f4
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 8], esp
push 0
call fcn.00421730
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041da10
add esp, 0x30
jmp 0x41da04
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0041dc70
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x41dc70
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5218d9
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x572374]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x41dcd9
mov ecx, dword [ebp - 0x14]
and ecx, 0x10
je 0x41dcd9
mov dword [ebp - 0x10], 1
mov edx, dword [ebp + 8]
push edx
call fcn.00404330
add esp, 4
test eax, eax
je 0x41dcd7
jmp 0x41dd54
jmp 0x41dcfa
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x41dcfa
mov ecx, dword [ebp + 8]
push ecx
push 0x531828
call fcn.0043c2b0
add esp, 8
jmp 0x41dd54
push 0x80
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x41dd4c
cmp dword [ebp - 0x10], 0
jne 0x41dd34
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x41dd34
mov ecx, dword [ebp + 8]
push ecx
push str.DeleteFile:_s_suceesss
call fcn.0043c2b0
add esp, 8
jmp 0x41dd54
cmp dword [ebp - 0x10], 0
je 0x41dd4c
mov edx, dword [ebp + 8]
push edx
call fcn.00404330
add esp, 4
test eax, eax
je 0x41dd4c
jmp 0x41dd54
xor eax, eax
jne 0x41dc9c
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41dd96
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x18]
call fcn.004052c0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00424220
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004054b0
xor eax, eax
jmp 0x41dd9b
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret