joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f1e7
Capabilities:
Create thread

Disassembly:
push 0x3c
mov eax, 0x435b14
call fcn.0041c590
mov ebx, ecx
mov dword [ebp - 0x24], ebx
xor edi, edi
push edi
push ecx
mov ecx, esp
mov dword [ebp - 4], edi
push str.bundles
mov dword [ebp - 0x1c], edi
call fcn.00402168
mov ecx, dword [ebx + 0x6c]
lea eax, [ebp - 0x38]
push eax
call fcn.00414f63
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x14], esi
cmp esi, dword [ebp - 0x34]
je 0x40f374
lea ebx, [esi + 8]
mov dword [ebp - 0x18], ebx
mov eax, dword [esi]
cmp dword [eax + 0x18], 1
jne 0x40f35f
push 0x1c
call fcn.004199de
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x40f25d
push dword [esi]
mov ecx, eax
call fcn.0040f05a
jmp 0x40f25f
mov eax, edi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
push ecx
push 4
push eax
push 0x414414
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x40f35f
mov edi, dword [ebp + 8]
lea edx, [ebp - 0x10]
mov ecx, dword [edi + 4]
cmp edx, ecx
jae 0x40f2bc
cmp dword [edi], edx
ja 0x40f2bc
mov eax, edx
sub eax, dword [edi]
sar eax, 2
mov dword [ebp - 0x20], eax
cmp ecx, dword [edi + 8]
jne 0x40f2ae
push ecx
mov ecx, edi
call fcn.00410674
mov eax, dword [ebp - 0x20]
mov ecx, dword [edi + 4]
mov edx, dword [edi]
test ecx, ecx
je 0x40f2d5
mov eax, dword [edx + eax*4]
jmp 0x40f2d3
cmp ecx, dword [edi + 8]
jne 0x40f2cc
push ecx
mov ecx, edi
call fcn.00410674
mov eax, dword [ebp - 0x10]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x40f2d5
mov dword [ecx], eax
add dword [edi + 4], 4
mov eax, dword [ebp - 0x34]
cmp ebx, eax
je 0x40f31f
mov esi, eax
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00410bc9
mov ecx, dword [ebx - 4]
mov edi, eax
mov edx, dword [edi + 4]
mov dword [edi + 4], ecx
mov dword [ebx - 4], edx
mov ecx, dword [edi]
mov eax, dword [ebx - 8]
mov dword [edi], eax
mov dword [ebx - 8], ecx
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x40f30f
call fcn.0040e13a
add ebx, 8
cmp ebx, esi
jne 0x40f2e2
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
push eax
add eax, 0xfffffff8
push eax
call fcn.00410624
sub dword [ebp - 0x34], 8
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x48]
call fcn.004104a2
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x6c]
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 3
push eax
add ecx, 4
call fcn.00415ab6
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.0041064e
xor edi, edi
jmp 0x40f36b
add esi, 8
add ebx, 8
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], esi
cmp esi, dword [ebp - 0x34]
jne 0x40f233
lea ecx, [ebp - 0x38]
call fcn.0041064e
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x40f38c
call fcn.0040e13a
xor eax, eax
call fcn.0041c55e
ret 8
Function at 0x416113
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x436b6f
call fcn.0041c590
mov edi, edx
mov esi, ecx
mov dword [ebp - 4], 1
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test edi, edi
je 0x416189
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push 0
push eax
push SysReAllocString
call ebx
test eax, eax
jne 0x416189
cmp dword [ebp + 0x34], 8
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], 4
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push 0
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x416189
mov esi, dword [ebp - 0x18]
jmp 0x4161f1
cmp edi, 1
je 0x4161f1
call fcn.004160cf
lea ecx, [ebp - 0x10]
cmp eax, 1
push ecx
lea eax, [ebp + 8]
jne 0x4161a6
push 0x20219
jmp 0x4161ab
push 0x20019
cmp dword [ebp + 0x1c], 8
push 0
cmovae eax, dword [ebp + 8]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x4161f1
cmp dword [ebp + 0x34], 8
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], 4
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push 0
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
cmove esi, dword [ebp - 0x14]
push 0
push 1
lea ecx, [ebp + 8]
call fcn.0040276a
push 0
push 1
lea ecx, [ebp + 0x20]
call fcn.0040276a
mov eax, esi
call fcn.0041c55e
ret
Function at 0x416211
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x218
mov eax, 0x436bc4
call fcn.0041c5c3
mov ebx, edx
mov esi, ecx
and dword [ebp - 0x220], 0
mov dword [ebp - 0x224], esi
lea eax, [ebp + 0x38]
mov dword [ebp - 4], 3
push eax
call fcn.00402305
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x220], 1
test ebx, ebx
je 0x4162db
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0x218]
push ecx
push 0x20019
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x4162db
push 0x1fe
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.0041bd90
add esp, 0xc
mov dword [ebp - 0x214], 0x200
cmp dword [ebp + 0x34], 8
lea ecx, [ebp - 0x214]
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push ecx
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x21c]
push ecx
push 0
push eax
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x416373
cmp ebx, 1
je 0x41638f
call fcn.004160cf
lea ecx, [ebp - 0x214]
cmp eax, 1
push ecx
lea eax, [ebp + 8]
jne 0x4162ff
push 0x20219
jmp 0x416304
push 0x20019
cmp dword [ebp + 0x1c], 8
push 0
cmovae eax, dword [ebp + 8]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x41638f
push 0x1fe
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.0041bd90
add esp, 0xc
mov dword [ebp - 0x218], 0x200
cmp dword [ebp + 0x34], 8
lea ecx, [ebp - 0x218]
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push ecx
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x21c]
push ecx
push 0
push eax
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41638f
lea eax, [ebp - 0x210]
push eax
call fcn.00401140
pop ecx
push eax
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.004026f1
xor ebx, ebx
lea ecx, [ebp + 8]
push ebx
push 1
call fcn.0040276a
push ebx
push 1
lea ecx, [ebp + 0x20]
call fcn.0040276a
push ebx
push 1
lea ecx, [ebp + 0x38]
call fcn.0040276a
mov eax, esi
call fcn.0041c572
ret
Function at 0x41655b
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436c4d
mov eax, dword fs:[0]
push eax
mov eax, 0x1000c
call fcn.0042c8e0
mov eax, dword [0x4484c0]
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 esi, ecx
push 7
pop ecx
xor ebx, ebx
mov dword [esi + 0x14], ecx
xor eax, eax
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x10018], esi
mov word [esi], ax
mov dword [ebp - 4], ebx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x28], ebx
mov word [esi + 0x18], ax
push ebx
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoInitializeEx]
push ebx
push ebx
push ebx
push 3
push 6
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
xor eax, eax
push 0xfffc
mov word [ebp - 0x10010], ax
lea eax, [ebp - 0x1000e]
push ebx
push eax
call fcn.0041bd90
add esp, 0xc
mov dword [ebp - 0x10014], 0x7fff
lea eax, [ebp - 0x10014]
push eax
lea eax, [ebp - 0x10010]
push eax
push 2
call dword [sym.imp.Secur32.dll_GetUserNameExW]
test al, al
je 0x41662f
lea eax, [ebp - 0x10010]
push eax
call fcn.00401140
pop ecx
push eax
lea eax, [ebp - 0x10010]
push eax
lea ecx, [esi + 0x18]
call fcn.004026f1
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 - 0x10]
xor ecx, ebp
call fcn.00419236
mov esp, ebp
pop ebp
ret
Function at 0x4172fd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4484c0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x44ae54], 0
jge 0x4173db
push ebx
xor ebx, ebx
mov dword [ebp - 0x110], 1
push 0xfe
lea eax, [ebp - 0x103]
mov byte [ebp - 0x104], bl
push ebx
push eax
call fcn.0041bd90
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
call fcn.004172c2
test eax, eax
mov edx, str.HKEY_LOCAL_MACHINESOFTWAREClara
mov ecx, str.HKEY_LOCAL_MACHINESOFTWAREWow6432NodeClara
cmove ecx, edx
push ecx
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4173d3
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x10c], 0x104
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x110]
push eax
push ebx
push str.Logging
push dword [ebp - 0x108]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4173c1
lea eax, [ebp - 0x104]
push eax
call fcn.0041b2e6
pop ecx
xor ecx, ecx
test eax, eax
setg cl
mov dword [0x44ae54], ecx
jmp 0x4173c7
mov dword [0x44ae54], ebx
push dword [ebp - 0x108]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x44ae54]
pop ebx
jmp 0x4173dd
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00419236
mov esp, ebp
pop ebp
ret

Function at 0x4173eb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4484c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov dword [ebp - 0x110], 1
push 0xfe
lea eax, [ebp - 0x103]
mov byte [ebp - 0x104], bl
push ebx
push eax
call fcn.0041bd90
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
call fcn.004172c2
test eax, eax
mov edx, str.SOFTWAREClara
mov ecx, str.SOFTWAREWow6432NodeClara
cmove ecx, edx
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4174a1
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x10c], 0x104
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x110]
push eax
push ebx
push 0x44160c
push dword [ebp - 0x108]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x417495
lea eax, [ebp - 0x104]
push eax
call fcn.0041b2ef
pop ecx
mov ebx, eax
push dword [ebp - 0x108]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00419236
mov esp, ebp
pop ebp
ret
Function at 0x4174b2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x510
mov eax, dword [0x4484c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
call fcn.004172fd
test eax, eax
je 0x4175ce
xor ebx, ebx
lea eax, [ebp - 0x507]
push 0x3ff
push ebx
push eax
mov byte [ebp - 0x508], bl
call fcn.0041bd90
lea eax, [ebp + 0xc]
mov esi, 0x400
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x508]
push esi
push eax
call fcn.0041bbe6
push 0x441614
lea eax, [ebp - 0x508]
push esi
push eax
call fcn.0041b87d
push 0x103
lea eax, [ebp - 0x107]
mov byte [ebp - 0x108], bl
push ebx
push eax
call fcn.0041bd90
add esp, 0x30
mov ecx, esp
push str.SystemDrive
call fcn.00406bee
lea ecx, [ebp - 0x50c]
call fcn.00417cda
push dword [eax]
lea eax, [ebp - 0x108]
push str._sclaraInstaller.txt
push eax
call fcn.0041b303
mov ecx, dword [ebp - 0x50c]
add esp, 0x10
lea ecx, [ecx - 0x10]
call fcn.004045c1
push ebx
push 0x80
push 4
push ebx
push ebx
push 0x40000000
lea eax, [ebp - 0x108]
mov dword [ebp - 0x510], ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 2
push ebx
mov esi, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ecx, [ebp - 0x508]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4175a7
push ebx
lea eax, [ebp - 0x510]
sub ecx, edx
push eax
push ecx
lea eax, [ebp - 0x508]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00419236
mov esp, ebp
pop ebp
ret
Function at 0x4175de
Capabilities:
Accept command line arguments

Disassembly:
push 0x228
mov eax, 0x436e00
call fcn.0041c5c3
mov edi, ecx
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x22c], esi
call fcn.0040452b
push eax
mov ecx, edi
call fcn.004024a9
xor ebx, ebx
mov dword [ebp - 4], esi
inc ebx
mov dword [ebp - 0x22c], ebx
call fcn.0040452b
push eax
lea ecx, [ebp - 0x21c]
call fcn.004024a9
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push 0x43f920
push edi
call fcn.00405700
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push esi
push eax
call fcn.0041bd90
add esp, 0x18
lea eax, [ebp - 0x218]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x417679
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.004027b0
push ecx
lea ecx, [ebp - 0x228]
call fcn.004183ef
mov esi, eax
push ecx
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.004183ef
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 3
push ecx
mov edx, eax
lea ecx, [ebp - 0x224]
call fcn.0041044d
push esi
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x220]
call fcn.0041044d
pop ecx
pop ecx
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.004045c1
mov ecx, dword [ebp - 0x230]
lea ecx, [ecx - 0x10]
call fcn.004045c1
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.004045c1
mov eax, dword [ebp - 0x220]
cmp dword [eax - 4], ebx
jle 0x417732
push dword [eax - 0xc]
lea ecx, [ebp - 0x220]
call fcn.004024d2
mov eax, dword [ebp - 0x220]
push 0x43f73c
push eax
mov ecx, edi
call fcn.004048fc
mov esi, dword [ebp - 0x21c]
cmp dword [esi - 4], ebx
jle 0x41775e
push dword [esi - 0xc]
lea ecx, [ebp - 0x21c]
call fcn.004024d2
mov esi, dword [ebp - 0x21c]
push 0x43f73c
push esi
mov ecx, edi
call fcn.004048fc
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.004045c1
lea ecx, [esi - 0x10]
call fcn.004045c1
mov eax, edi
call fcn.0041c572
ret
Function at 0x417789
Capabilities:
Create process on windows

Disassembly:
push 0x58
mov eax, 0x436e30
call fcn.0041c590
mov bl, dl
mov bh, cl
push 0x44
pop esi
xor edi, edi
lea eax, [ebp - 0x64]
push esi
push edi
push eax
mov dword [ebp - 4], edi
call fcn.0041bd90
add esp, 0xc
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x10], edi
test bl, bl
jne 0x4177bf
xor eax, eax
mov word [ebp - 0x34], ax
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 1
jle 0x4177d6
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.004024d2
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x64]
push ecx
push edi
push edi
push edi
push edi
push edi
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x417811
test bh, bh
je 0x41781a
push 0xffffffffffffffff
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
jmp 0x41781a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x20]
call esi
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004045c1
mov eax, esi
call fcn.0041c55e
ret
Function at 0x417a69
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x268
mov eax, 0x436e69
call fcn.0041c5c3
xor edi, edi
lea eax, [ebp - 0x264]
push 0x250
push edi
push eax
mov dword [ebp - 4], edi
call fcn.0041bd90
add esp, 0xc
push 0x5c
pop eax
push eax
push dword [ebp + 8]
call fcn.0041b720
pop ecx
mov edx, eax
pop ecx
mov ecx, dword [ebp + 8]
test edx, edx
jne 0x417aae
or edx, 0xffffffff
jmp 0x417ab2
sub edx, ecx
sar edx, 1
mov ebx, dword [ecx - 0xc]
lea eax, [ebx - 1]
cmp edx, eax
je 0x417ad8
lea esi, [ebx + 1]
push esi
lea ecx, [ebp + 8]
call fcn.00402294
push 0x5c
pop ecx
push esi
mov word [eax + ebx*2], cx
lea ecx, [ebp + 8]
call fcn.0040289d
push 0x44163c
lea edx, [ebp + 8]
lea ecx, [ebp - 0x268]
call fcn.004147f6
pop ecx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
test esi, esi
je 0x417b18
cmp esi, 0xffffffff
jne 0x417c2b
push 2
pop ebx
mov edi, ebx
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.004045c1
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004045c1
mov eax, edi
call fcn.0041c572
ret
mov ecx, 0x441644
lea eax, [ebp - 0x238]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x417b6f
test dx, dx
je 0x417b6b
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x417b6f
add eax, 4
add ecx, 4
test dx, dx
jne 0x417b49
mov eax, edi
jmp 0x417b74
sbb eax, eax
or eax, 1
test eax, eax
je 0x417c2b
mov ecx, 0x441648
lea eax, [ebp - 0x238]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x417bad
test dx, dx
je 0x417ba9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x417bad
add eax, 4
add ecx, 4
test dx, dx
jne 0x417b87
mov eax, edi
jmp 0x417bb2
sbb eax, eax
or eax, 1
test eax, eax
je 0x417c2b
test byte [ebp - 0x264], 0x10
lea eax, [ebp - 0x238]
push eax
je 0x417c06
lea ecx, [ebp - 0x270]
call fcn.00402168
push ecx
mov ecx, esp
mov byte [ebp - 4], 2
push eax
lea edx, [ebp + 8]
call fcn.0041044d
pop ecx
call fcn.00417a69
pop ecx
mov byte [ebp - 4], 1
mov ebx, eax
mov ecx, dword [ebp - 0x270]
add ecx, 0xfffffff0
call fcn.004045c1
test ebx, ebx
jne 0x417b1b
jmp 0x417c2b
lea edx, [ebp + 8]
lea ecx, [ebp - 0x26c]
call fcn.004147f6
pop ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x26c]
lea ecx, [ecx - 0x10]
call fcn.004045c1
lea eax, [ebp - 0x264]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x417b3e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x417b1d
Function at 0x417d5e
Capabilities:
Get file size

Disassembly:
push 0xc
mov eax, 0x436eed
call fcn.0041c590
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 2
push eax
push ecx
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
add ecx, 0xfffffff0
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], esp
mov esi, esp
call fcn.004028c8
add eax, 0x10
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 3
mov esi, esp
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.004028c8
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 2
call fcn.00406076
push ebx
push 0x80
push 3
push ebx
push 7
push SysReAllocString
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
test edi, edi
je 0x417de7
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, dword [ebp - 0x10]
jne 0x417de7
mov bl, 1
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.004045c1
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004045c1
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.004045c1
mov al, bl
call fcn.0041c55e
ret

Function at 0x417e10
Capabilities:
Get common file path

Disassembly:
push 0x21c
mov eax, 0x436f2a
call fcn.0041c5c3
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
push 0x43f73c
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x224], edi
call fcn.00402168
xor eax, eax
mov dword [ebp - 4], edi
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
mov dword [ebp - 0x224], 1
call fcn.0041bd90
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push edi
push edi
push 0x2b
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x417ea6
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x417e86
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004027b0
jmp 0x417ef3
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x220], edi
call fcn.004172c2
test eax, eax
lea eax, [ebp - 0x220]
je 0x417ec8
push str.COMMONPROGRAMFILES_x86_
jmp 0x417ecd
push str.COMMONPROGRAMFILES
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.0041a709
add esp, 0xc
cmp dword [ebp - 0x21c], 0
je 0x417ef3
push dword [ebp - 0x21c]
mov ecx, esi
call fcn.00402204
mov eax, esi
call fcn.0041c572
ret
Function at 0x42f1f2
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4484c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0042024e
mov dword [ebp - 0x14], eax
cmp dword [0x44ae04], esi
jne 0x42f2e5
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x42f272
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x42f3c5
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x42f3c5
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42f3c5
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x44ae04], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x44ae08], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x44ae0c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x44ae14], eax
test eax, eax
je 0x42f2e2
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x44ae10], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x42f30a
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42f2fd
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x42f31f
push 4
pop eax
jmp 0x42f3c7
cmp dword [ebp - 0x14], esi
je 0x42f31f
push dword [0x44ae04]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x42f304
mov eax, dword [0x44ae10]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x42f37d
cmp dword [0x44ae14], edi
je 0x42f37d
push eax
call ebx
push dword [0x44ae14]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x42f37d
test eax, eax
je 0x42f37d
call ecx
test eax, eax
je 0x42f372
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x42f372
test byte [ebp - 8], 1
jne 0x42f37d
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x42f3ad
mov eax, dword [0x44ae08]
cmp eax, edi
je 0x42f3aa
push eax
call ebx
test eax, eax
je 0x42f3aa
call eax
mov esi, eax
test esi, esi
je 0x42f3aa
mov eax, dword [0x44ae0c]
cmp eax, edi
je 0x42f3aa
push eax
call ebx
test eax, eax
je 0x42f3aa
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x44ae04]
call ebx
test eax, eax
je 0x42f3c5
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x42f3c7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00419236
mov esp, ebp
pop ebp
ret