joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418930
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca368
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x502770]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xa
xor eax, eax
mov dword [ebp - 0x1c], 7
push str.WifiHelper
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
call fcn.0041aaf0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
mov dword [ebp - 0x14], 0
call fcn.00419590
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
push str.SOFTWAREWifiHelper_
mov dword [ebp - 0x18], 0
call fcn.00419590
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], 8
jb 0x4189c5
mov edx, dword [ebp - 0x30]
test edx, edx
jne 0x4189c8
xor ecx, ecx
jmp 0x4189df
lea edx, [ebp - 0x30]
mov ecx, edx
lea esi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4189d0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x14]
call fcn.00419940
cmp dword [ebp - 0x1c], 8
jb 0x4189fa
mov edx, dword [ebp - 0x30]
test edx, edx
jne 0x4189fd
xor ecx, ecx
jmp 0x418a11
lea edx, [ebp - 0x30]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418a02
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x18]
call fcn.00419940
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x418a5e
lea ecx, [ebp - 0x34]
push ecx
push 0x20019
push 0
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x418a5e
push dword [ebp - 0x18]
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push reloc.WS2_32.dll_bind
call esi
push dword [ebp - 0x14]
push reloc.WS2_32.dll_bind
call esi
mov esi, 1
jmp 0x418a60
xor esi, esi
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, edi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x418a83
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x418aa1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x1c], 8
jb 0x418ab2
push dword [ebp - 0x30]
call fcn.00454ef7
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00454efc
mov esp, ebp
pop ebp
ret
Function at 0x418ad0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca3b0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x502770]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x58]
call fcn.0041c260
push 0x4f52b0
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00419ba0
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x44], 8
jb 0x418b2f
push dword [ebp - 0x58]
call fcn.00454ef7
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.0041c350
push 0x4f52c8
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00419ba0
add esp, 4
mov byte [ebp - 4], 5
cmp dword [ebp - 0x5c], 8
jb 0x418b76
push dword [ebp - 0x70]
call fcn.00454ef7
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
xor esi, esi
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov dword [ebp - 0x60], 0
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x418bbf
test al, 0x10
jne 0x418bbf
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
lea edx, [esi + 1]
cmovae ecx, dword [ebp - 0x40]
call fcn.0041c580
mov esi, 1
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x418bef
test al, 0x10
je 0x418bef
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.0041c800
mov esi, 1
cmp dword [ebp - 0x14], 8
jb 0x418c00
push dword [ebp - 0x28]
call fcn.00454ef7
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x418c25
push dword [ebp - 0x40]
call fcn.00454ef7
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00454efc
mov esp, ebp
pop ebp
ret
Function at 0x418c50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x502770]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xc], edi
test edx, edx
je 0x418e03
push esi
lea eax, [ebp - 0x64]
mov esi, 0x8000ffff
push eax
push 0x20019
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x418deb
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
push eax
push 0
push edi
push 0
push str.InstallLocation
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x418df0
mov eax, dword [ebp - 0x60]
add eax, 8
push eax
call fcn.004545e4
mov edi, eax
mov eax, dword [ebp - 0x60]
add eax, 8
push eax
push 0
push edi
call fcn.0045a7c0
add esp, 0x10
lea eax, [ebp - 0x60]
push eax
push edi
push dword [ebp - 0xc]
push 0
push str.InstallLocation
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x418dcf
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp eax, 4
jne 0x418d4d
xor eax, eax
push 0x4e
push eax
mov word [ebp - 0x5c], ax
lea eax, [ebp - 0x5a]
push eax
call fcn.0045a7c0
push 0xa
push 0x28
lea eax, [ebp - 0x5c]
push eax
push dword [edi]
call fcn.00455974
add esp, 0x1c
lea eax, [ebp - 0x5c]
mov ecx, ebx
push eax
call fcn.0041a5f0
push edi
xor esi, esi
call fcn.00454fb9
add esp, 4
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00454efc
mov esp, ebp
pop ebp
ret
cmp eax, 1
je 0x418dc5
cmp eax, 2
je 0x418dc5
cmp eax, 7
je 0x418dc5
cmp dword [ebp - 0x60], 0
jbe 0x418dcf
push 0x4f52d8
mov ecx, ebx
call fcn.0041a5f0
xor esi, esi
cmp dword [ebp - 0x60], esi
jbe 0x418dcd
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 0xa], eax
movzx eax, byte [esi + edi]
push eax
push 0x4f52e0
lea eax, [ebp - 0xc]
push 2
push eax
call fcn.00419c40
add esp, 0x10
lea eax, [ebp - 0xc]
mov ecx, ebx
push eax
call fcn.00419670
inc esi
cmp esi, dword [ebp - 0x60]
jb 0x418d75
push edi
xor esi, esi
call fcn.00454fb9
add esp, 4
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00454efc
mov esp, ebp
pop ebp
ret
push edi
mov ecx, ebx
call fcn.0041a5f0
xor esi, esi
push edi
call fcn.00454fb9
add esp, 4
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00454efc
mov esp, ebp
pop ebp
ret
mov esi, 0x80070005
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00454efc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x80004003
pop edi
xor ecx, ebp
pop ebx
call fcn.00454efc
mov esp, ebp
pop ebp
ret
Function at 0x419ed0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x419ee9
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x419f24
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x419f20
lea ebx, [ebx]
cmp esi, edx
jae 0x419f24
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x419f10
cmp esi, edx
jb 0x419f2b
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x41b6c0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca650
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x502770]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
test esi, esi
je 0x41b7be
cmp word [esi], 0
je 0x41b7be
xorps xmm0, xmm0
push 0
movq qword [ebp - 0x18], xmm0
push 0
mov dword [ebp - 0x14], 0
call fcn.0041f1d0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
push esi
mov dword [ebp - 0x1c], 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
call fcn.0041ef40
xor eax, eax
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 1
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.0041f160
push 6
push str.uninst
push dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0041bf50
mov esi, eax
neg esi
sbb esi, esi
cmp dword [ebp - 0x20], 8
jb 0x41b792
push dword [ebp - 0x34]
call fcn.00454ef7
add esp, 4
xor eax, eax
mov dword [ebp - 0x20], 7
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
call fcn.0041bed0
push dword [ebp - 0x18]
call fcn.00454ef7
add esp, 4
lea eax, [esi + 1]
jmp 0x41b7c0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00454efc
mov esp, ebp
pop ebp
ret
Function at 0x41b800
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2dc
mov eax, dword [0x502770]
xor eax, esp
mov dword [esp + 0x2d8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
call fcn.0041b6c0
test eax, eax
jne 0x41b8fd
push 0x256
push eax
mov word [esp + 0x90], ax
lea eax, [esp + 0x92]
push eax
call fcn.0045a7c0
add esp, 0xc
lea eax, [esp + 0x88]
push 0x12c
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str._Au.exe
push ecx
lea ecx, [esp + 0x14]
call fcn.0041c0f0
add esp, 4
lea ecx, [esp + 0x58]
mov edx, eax
call fcn.00419ba0
add esp, 4
cmp dword [esp + 0x20], 8
jb 0x41b89a
push dword [esp + 0xc]
call fcn.00454ef7
add esp, 4
cmp dword [esp + 0x68], 8
lea edx, [esp + 0x54]
lea ecx, [esp + 0x88]
cmovae edx, dword [esp + 0x54]
call fcn.0041cfd0
test eax, eax
je 0x41b8d1
cmp dword [esp + 0x68], 8
lea ecx, [esp + 0x54]
cmovae ecx, dword [esp + 0x54]
sub esp, 0xc
call fcn.0041c440
add esp, 0xc
cmp dword [esp + 0x68], 8
jb 0x41b8e4
push dword [esp + 0x54]
call fcn.00454ef7
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2d8]
xor ecx, esp
call fcn.00454efc
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esp + 0x4c]
mov dword [0x507a5c], esi
push eax
mov dword [esp + 0x50], 8
mov dword [esp + 0x54], 0x20
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
test eax, eax
jne 0x41b93e
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2d8]
xor ecx, esp
call fcn.00454efc
mov esp, ebp
pop ebp
ret 0x10
push 0x6b
push esi
mov dword [esp + 0x2c], 3
mov dword [esp + 0x30], 0x41bcb0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], esi
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x7f00
push 0
mov dword [esp + 0x40], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x44], 5
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], str.MyWindowClass
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x41b8e4
push 0
push esi
push 0
push 0
push 0x104
push 0x1f4
push 0x32
push 0x32
push 0x80ca0000
push 0x4f5720
push str.MyWindowClass
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x41b8e4
mov ecx, esi
mov dword [0x507a40], esi
call fcn.0041b560
push dword [ebp + 0x14]
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [esp + 0x6c]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x41ba42
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [esp + 0x6c]
push eax
call edi
lea eax, [esp + 0x6c]
push eax
call ebx
push 0
push 0
push 0
lea eax, [esp + 0x78]
push eax
call esi
test eax, eax
jne 0x41ba23
mov ecx, dword [esp + 0x2e4]
mov eax, dword [esp + 0x74]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00454efc
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41ba60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push dword [0x507a5c]
push 0x192
push ecx
push 0x14
push 0x15e
push 0xa0
push 0x46
push 0x50000001
push 0x4f563c
push str.msctls_progress32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push 0
push 0x402
push eax
mov dword [0x507a58], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [0x507a58]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x507a58]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esp, ebp
pop ebp
ret

Function at 0x41bb80
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
mov esi, ecx
push 0xfffffffffffffffa
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
push eax
push 0x194
push esi
push 0x50
push 0x168
push 0x4b
push 0x3e
push 0x50002001
push 0
push str.STATIC
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
mov dword [0x507a48], eax
cmovae ecx, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, 0xd
call fcn.0041b4b0
push 1
push eax
push 0x30
push dword [0x507a48]
mov dword [0x507a44], eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp + 0x1c], 8
pop esi
jb 0x41bc01
push dword [ebp + 8]
call fcn.00454ef7
add esp, 4
pop ebp
ret

Function at 0x41c0f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x502770]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x507b58]
mov dword [ebp - 0x214], 0
push esi
mov esi, ecx
push edi
test al, 1
jne 0x41c14b
or eax, 1
mov dword [0x507b70], 7
mov dword [0x507b58], eax
xor eax, eax
push 0x4cb300
mov dword [0x507b6c], 0
mov word [0x507b5c], ax
call fcn.0045577f
add esp, 4
cmp dword [0x507b6c], 0
jne 0x41c22b
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.0045a7c0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp word [ebp - 0x210], 0
jne 0x41c196
xor ecx, ecx
jmp 0x41c1af
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c1a0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x210]
mov ecx, 0x507b5c
push eax
call fcn.0041aaf0
lea ecx, [ebp - 0x22c]
call fcn.0041c020
mov edi, eax
cmp edi, 0x507b5c
je 0x41c214
cmp dword [0x507b70], 8
jb 0x41c1ed
push dword [0x507b5c]
call fcn.00454ef7
add esp, 4
xor eax, eax
mov dword [0x507b70], 7
push edi
mov ecx, 0x507b5c
mov dword [0x507b6c], 0
mov word [0x507b5c], ax
call fcn.0041a3f0
cmp dword [ebp - 0x218], 8
jb 0x41c22b
push dword [ebp - 0x22c]
call fcn.00454ef7
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x507b5c
mov word [esi], ax
call fcn.0041a730
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00454efc
mov esp, ebp
pop ebp
ret
Function at 0x41c260
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca6d2
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x502770]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x220], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov dword [ebp - 0x224], esi
mov word [esi], ax
mov dword [ebp - 4], eax
push 0x208
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
mov dword [ebp - 0x220], 1
call fcn.0045a7c0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
cmp word [ebp - 0x21c], 0
jne 0x41c308
xor ecx, ecx
jmp 0x41c320
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c311
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
mov ecx, esi
push eax
call fcn.0041aaf0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00454efc
mov esp, ebp
pop ebp
ret

Function at 0x41c350
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca6d2
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x502770]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x220], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov dword [ebp - 0x224], esi
mov word [esi], ax
mov dword [ebp - 4], eax
push 0x208
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
mov dword [ebp - 0x220], 1
call fcn.0045a7c0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 2
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
cmp word [ebp - 0x21c], 0
jne 0x41c3f8
xor ecx, ecx
jmp 0x41c410
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c401
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
mov ecx, esi
push eax
call fcn.0041aaf0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00454efc
mov esp, ebp
pop ebp
ret
Function at 0x41c440
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca708
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x502770]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x40
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.0045a7c0
add esp, 0xc
mov dword [ebp - 0x64], 0x44
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0x181
movdqu xmmword [ebp - 0x74], xmm0
call fcn.0041a2b0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x41c4ae
push 0x80004005
call fcn.0041a390
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push str._optuninst
push esi
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push str.__s___s
push eax
call fcn.0041d400
mov esi, dword [ebp - 0x18]
add esp, 0x10
mov eax, 0xa
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
je 0x41c53f
push 0xbb8
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x74]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x70]
call edi
mov dword [ebp - 0x74], 0
mov edi, 1
mov dword [ebp - 0x70], 0
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41c560
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00454efc
mov esp, ebp
pop ebp
ret
Function at 0x41c580
Capabilities:
Check if file exists
Delete file
Get common file path
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca751
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x502770]
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 edi, edx
mov esi, ecx
test esi, esi
je 0x41c7d6
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41c7d6
test al, 0x10
jne 0x41c7d6
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.0045a7c0
push 0x104
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.0045674a
add esp, 0x18
test eax, eax
je 0x41c7d6
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41c7d6
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
mov dword [ebp - 0x22c], ebx
test ebx, ebx
jne 0x41c7d2
test edi, edi
je 0x41c7d2
mov dword [ebp - 0x228], eax
lea ecx, [ebp - 0x228]
lea eax, [ebp - 0x21c]
push eax
call fcn.00419590
push ecx
lea eax, [ebp - 0x224]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x228]
call fcn.0041d130
mov ecx, eax
call fcn.0041d210
lea ecx, [ebp - 0x224]
mov bl, al
call fcn.00419650
test bl, bl
je 0x41c7b4
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x220], 0
call fcn.0041d070
push ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x224], 0
call fcn.0041d100
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x228]
call fcn.0041d1a0
mov byte [ebp - 4], 2
mov ecx, 1
mov esi, dword [ebp - 0x220]
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or ecx, eax
jge 0x41c704
push 0x104
lea ecx, [ebp - 0x220]
call fcn.0041a010
mov esi, dword [ebp - 0x220]
push esi
push 0
push 0x4f563c
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push ecx
lea ecx, [ebp - 0x220]
mov edi, eax
call fcn.0041d610
test edi, edi
jne 0x41c74d
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push str._s.tmp
push eax
call fcn.0041d400
mov esi, dword [ebp - 0x220]
add esp, 0xc
jmp 0x41c759
mov edx, 1
mov ecx, esi
call fcn.0041c580
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.00456842
add esp, 8
push 4
push 0
test eax, eax
jne 0x41c780
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ebx, dword [ebp - 0x22c]
jmp 0x41c78f
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ebx, eax
lea ecx, [ebp - 0x224]
call fcn.00419650
lea ecx, [ebp - 0x220]
call fcn.00419650
lea ecx, [ebp - 0x228]
call fcn.00419650
mov eax, ebx
jmp 0x41c7d8
push 4
push 0
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x228]
mov ebx, eax
call fcn.00419650
mov eax, ebx
jmp 0x41c7d8
xor eax, eax
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.00454efc
mov esp, ebp
pop ebp
ret