joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444494
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x10
mov eax, 0x4d162b
call fcn.004b8732
mov edi, ecx
call fcn.00444440
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
cmp esi, 0xffffffff
jne 0x4444de
or dword [ebp - 4], eax
push eax
jmp 0x444563
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00444a35
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
push dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
je 0x44454b
cmp dword [ebp - 0x14], ebx
je 0x44454b
push dword [ebp - 0x14]
mov eax, dword [edi]
push dword [ebp - 0x10]
mov ecx, edi
call dword [eax + 8]
mov byte [ebp + 0xb], al
mov byte [ebp - 4], bl
push dword [ebp - 0x10]
call fcn.004b3fe5
pop ecx
mov dword [ebp - 0x10], ebx
or dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x444546
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], ebx
mov al, byte [ebp + 0xb]
jmp 0x44456e
mov byte [ebp - 4], bl
push dword [ebp - 0x10]
call fcn.004b3fe5
pop ecx
mov dword [ebp - 0x10], ebx
or dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x44456c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], ebx
xor al, al
call fcn.004b880a
ret 4

Function at 0x444b0b
Capabilities:
Get disk information

Disassembly:
push 0x2c
mov eax, 0x4e357d
call fcn.004b879b
push edi
call fcn.00409e5a
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 7
call fcn.0040364b
mov dword [ebp - 4], ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push ebx
push ebx
call esi
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x34], eax
call fcn.00444be7
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00408b09
push eax
push dword [ebp - 0x34]
call esi
cmp eax, ebx
jne 0x444b77
mov byte [ebp - 0x2d], bl
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.004035c5
mov al, byte [ebp - 0x2d]
call fcn.004b881e
ret
push eax
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00408b09
mov ebx, edi
mov ecx, eax
call fcn.0044c5d0
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
pop ecx
push 0x1c
cdq
pop ecx
idiv ecx
test eax, eax
seta byte [ebp - 0x2d]
xor ebx, ebx
jmp 0x444b5f

Function at 0x448869
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x448877
push 0xd
pop eax
jmp 0x4488aa
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x44887e
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x466740
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d9af6
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x52472c]
xor eax, esp
mov dword [esp + 0x144], eax
push ebx
push edi
mov eax, dword [0x52472c]
xor eax, esp
push eax
lea eax, [esp + 0x154]
mov dword fs:[0], eax
mov eax, dword [esp + 0x164]
push eax
lea eax, [esp + 0x30]
push eax
xor edx, edx
call fcn.0045cc90
add esp, 8
xor ebx, ebx
mov dword [esp + 0x15c], ebx
cmp dword [esp + 0x40], ebx
jne 0x46684c
push 0x103
lea ecx, [esp + 0x4d]
push ebx
push ecx
mov byte [esp + 0x54], bl
call fcn.004b4140
add esp, 0xc
push 0x104
lea edx, [esp + 0x4c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x48]
push eax
call fcn.004b3cd0
add esp, 4
push eax
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x34]
call fcn.00404a6b
lea edx, [esp + 0xc]
push edx
lea edi, [esp + 0x30]
mov byte [esp + 0x10], 0x5c
call fcn.00466ef0
cmp eax, 0xffffffff
je 0x46684c
push eax
lea eax, [esp + 0x14]
push eax
xor ecx, ecx
mov edx, edi
call fcn.00466e80
mov byte [esp + 0x15c], 1
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
call fcn.00404e13
mov byte [esp + 0x15c], bl
cmp dword [esp + 0x28], 0x10
jb 0x46683c
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004b1fa3
add esp, 4
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
cmp dword [esp + 0x44], 0x10
mov eax, dword [esp + 0x30]
jae 0x46685b
lea eax, [esp + 0x30]
mov edx, dword [esi]
push eax
push edx
call dword [sym.imp.dbghelp.dll_SymSetSearchPath]
cmp eax, 1
sete byte [esp + 0xc]
mov dword [esp + 0x15c], 0xffffffff
cmp dword [esp + 0x44], 0x10
jb 0x46688c
mov eax, dword [esp + 0x30]
push eax
call fcn.004b1fa3
add esp, 4
mov al, byte [esp + 0xc]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov ecx, dword [esp + 0x154]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.004b1fae
add esp, 0x154
ret 4

Function at 0x467160
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4dca6e
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x52472c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0xc]
push eax
call fcn.00467030
mov dword [esp + 0x30], 1
mov ecx, dword [esp + 0x3c]
mov dx, word [esp + 0x40]
mov dword [esp + 0x20], ecx
mov word [esp + 0x24], dx
test esi, esi
jne 0x4671b3
xor eax, eax
jmp 0x4671bc
push esi
call fcn.004b3950
add esp, 4
push eax
push esi
lea eax, [esp + 0x14]
call fcn.0040541c
mov eax, dword [esp + 0x44]
mov cx, word [esp + 0x48]
mov dx, word [esp + 0x4c]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov ax, word [esp + 0x50]
mov word [esp + 0x18], cx
mov cx, word [esp + 0x54]
add esi, 0x14
lea ebx, [esp + 0xc]
mov dword [esp + 0x14], 0
mov word [esp + 0x1a], dx
mov word [esp + 0x1c], ax
mov word [esp + 0x1e], cx
call fcn.00467630
mov dword [esp + 0x30], 0xffffffff
mov edx, ebx
push edx
call fcn.00467090
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret 0x20
Function at 0x46e50b
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [edi + 0x5c]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0041808f
mov eax, dword [edi + 0x44]
xor edx, edx
inc edx
test dl, al
jne 0x46e55c
shr eax, 3
movzx ecx, al
and al, dl
and ecx, edx
movzx eax, al
add ecx, ecx
or ecx, edx
neg eax
sbb eax, eax
and eax, 7
push ecx
push eax
mov eax, edi
call fcn.0046ec99
lea ecx, [edi + 0x6c]
call fcn.00470789
mov esi, eax
lea eax, [ebp - 8]
add esi, 0x18
push eax
jmp 0x46e5a4
shr eax, 6
test dl, al
je 0x46e5c0
lea esi, [ebp - 8]
mov ecx, edi
call fcn.00470016
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 4]
call fcn.0044678f
mov ecx, esi
call fcn.004029ae
lea eax, [ebp - 4]
call fcn.0045f230
push 6
mov eax, edi
call fcn.0046ecdd
lea ecx, [edi + 0x98]
call fcn.0047779b
lea ecx, [ebp - 8]
push ecx
mov esi, eax
call fcn.0045f630
mov eax, dword [eax]
pop ecx
push dword [eax - 0xc]
push eax
lea eax, [ebp - 4]
call fcn.0044678f
lea ecx, [ebp - 8]
call fcn.004029ae
lea eax, [ebp - 4]
push eax
call fcn.0045fa40
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 4]
call fcn.004029ae
xor eax, eax
pop esi
leave
ret
Function at 0x478f11
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov ebx, eax
push edi
lea eax, [ebp - 8]
push eax
call fcn.00447480
lea eax, [ebp - 0xc]
push eax
call fcn.00447480
lea eax, [ebp - 4]
push eax
call fcn.00447480
lea eax, [ebp - 0xc]
push eax
push dword [ebx + 0x10]
lea eax, [ebp - 4]
call fcn.0046e829
lea eax, [ebp - 4]
lea edi, [ebp - 8]
call fcn.00439ecc
xor ecx, ecx
mov edx, 0x4fec7c
lea esi, [ebp - 4]
call fcn.0045f200
test eax, eax
jne 0x478f73
mov eax, dword [ebp - 4]
add eax, 8
push eax
mov eax, edi
push eax
call fcn.00405499
lea eax, [ebp - 0x14]
push str.instname_target.msi
push eax
lea esi, [ebp - 8]
lea edi, [ebx + 0x14]
call fcn.00445e5f
pop ecx
pop ecx
call fcn.00439ecc
lea ecx, [ebp - 0x14]
call fcn.004029ae
lea eax, [ebp - 0x10]
push str.instname_custom.mst
lea edi, [ebx + 0x18]
push eax
mov dword [ebp - 0x14], edi
call fcn.00445e5f
pop ecx
pop ecx
call fcn.00439ecc
lea ecx, [ebp - 0x10]
call fcn.004029ae
lea esi, [ebx + 0x14]
mov eax, dword [esi]
push 0
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x478fd8
push dword [ebp + 8]
call fcn.00447480
jmp 0x479024
push 0x4ef50c
lea eax, [ebp - 0x10]
push eax
call fcn.004054bc
add ebx, 0xc
push ebx
lea edi, [ebp - 0x10]
mov eax, esi
call fcn.0047916c
mov ecx, edi
mov bl, al
call fcn.004029ae
test bl, bl
je 0x479019
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push esi
push eax
lea eax, [ebp - 0xc]
call fcn.00479046
lea ecx, [ebp - 0x10]
call fcn.004029ae
push dword [ebp - 0x14]
push dword [ebp + 8]
call fcn.0041808f
lea ecx, [ebp - 4]
call fcn.004029ae
lea ecx, [ebp - 0xc]
call fcn.004029ae
lea ecx, [ebp - 8]
call fcn.004029ae
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x482266
Capabilities:
Connect pipe
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
cmp byte [ebp + 0x10], bl
jne 0x482298
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x482298
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x217
neg eax
sbb eax, eax
inc eax
jne 0x482298
cmp byte [esi + 0x11], bl
je 0x4822ea
mov eax, dword [esi + 0xc]
push edi
push ebx
lea ecx, [ebp + 0x10]
push ecx
push 0x7f90
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi + 0xc]
xor edi, edi
shr ecx, 1
mov word [edx + ecx*2], di
pop edi
cmp eax, ebx
je 0x4822ea
cmp dword [ebp + 0x10], ebx
je 0x4822ea
push dword [esi + 0xc]
lea eax, [ebp - 4]
push eax
call fcn.004054bc
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.0041808f
lea ecx, [ebp - 4]
call fcn.004029ae
jmp 0x4822f2
push dword [ebp + 8]
call fcn.00447480
mov eax, dword [ebp + 8]
pop ebx
leave
ret 0xc

Function at 0x4822fa
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0xffffffff
jne 0x48230b
push edi
call fcn.00447480
jmp 0x482335
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push 0
lea edx, [ebp + 0xc]
push edx
add ecx, ecx
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x482303
push 1
push dword [ebp + 8]
push edi
call fcn.00482266
mov eax, edi
pop ebp
ret 8

Function at 0x48233b
Capabilities:
Write file on windows

Disassembly:
push ecx
mov eax, dword [eax]
push 0
lea ecx, [esp + 4]
push ecx
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
pop ecx
ret
Function at 0x486079
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push esi
call fcn.004723b9
test eax, eax
je 0x486116
lea eax, [esp + 8]
push eax
xor esi, esi
push 0x28
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4860c6
cmp dword [esp + 8], esi
je 0x4860c2
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x48612d
lea eax, [esp + 0x14]
push eax
push str.SeShutdownPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push esi
push esi
push esi
lea eax, [esp + 0x1c]
push eax
push esi
push dword [esp + 0x1c]
mov dword [esp + 0x28], 1
mov dword [esp + 0x34], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4860b2
cmp dword [esp + 8], esi
je 0x48611b
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x48611b
call fcn.00486132
push 0x80040002
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
setne al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x486132
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x52472c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
push 0x5000fc
push ebx
call esi
test eax, eax
je 0x486270
push 0
push 2
call eax
mov dword [ebp - 0x248], eax
cmp eax, 0xffffffff
jne 0x486188
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x486270
push str._WindowsFolder_explorer.exe
lea eax, [ebp - 0x23c]
push eax
call fcn.004054bc
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x23c]
call fcn.00477d83
pop ecx
lea ecx, [ebp - 0x23c]
call fcn.004029ae
push 0x5000ec
push ebx
call esi
push 0x5000dc
push ebx
mov edi, eax
call esi
push 0x228
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x234]
push 0
push eax
call fcn.004b4140
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0x248]
mov dword [ebp - 0x238], 0x22c
call edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x486250
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x214]
call fcn.00461660
test eax, eax
jne 0x48623d
push dword [ebp - 0x230]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test esi, esi
je 0x48623d
push esi
call edi
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0x248]
call dword [ebp - 0x23c]
test eax, eax
jne 0x486206
lea ecx, [ebp - 0x240]
call fcn.004029ae
cmp dword [ebp - 0x248], 0
je 0x486270
push dword [ebp - 0x248]
call edi
test ebx, ebx
je 0x48627b
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b1fae
leave
ret
Function at 0x488207
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0x3f7
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
push 0x3eb
push dword [esi + 4]
call edi
push 0
push eax
mov dword [ebp - 4], eax
call ebx
push 0x3ec
push dword [esi + 4]
call edi
xor edi, edi
push edi
push eax
call ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x14]
push eax
add esi, 0x88
push dword [esi]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call ebx
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 4]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
call ebx
mov eax, dword [ebp - 0x18]
push 0x222
push edi
mov dword [ebp - 8], eax
push esi
lea eax, [ebp - 0x14]
call fcn.004024e8
pop edi
pop esi
pop ebx
leave
ret

Function at 0x48c119
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebx + 0x7c]
push edi
call fcn.0047d942
mov eax, dword [ebx + 0x7c]
xor esi, esi
push esi
push 0x3025
call fcn.0047d9e0
mov eax, dword [ebx + 0x7c]
push esi
push 0x3023
call fcn.0047d9e0
mov eax, dword [ebx + 0x7c]
push esi
push 0x3024
call fcn.0047d9e0
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x401
push dword [ebx + 4]
call edi
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x7f04
push ebx
call fcn.0048c4bd
push ebx
call fcn.0048c236
mov dword [ebx + 0x90], esi
push 0
lea esi, [ebx + 0x88]
push dword [esi]
call fcn.0047ca3a
test eax, eax
jne 0x48c200
mov esi, dword [esi]
add esi, 0x48
lea eax, [ebx + 0x84]
mov byte [esi + 0x19], 0
mov byte [esi + 0x18], 0
mov dword [esi + 0x10], eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push esi
push 0x485d32
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xae
lea esi, [ebp - 4]
call fcn.004825ae
pop ecx
mov edi, eax
call fcn.0048c84e
mov ecx, esi
mov dword [ebx + 0x9c], eax
call fcn.004029ae
push 0
push 0x3e8
push 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x48c230
mov eax, dword [ebx + 0x7c]
mov esi, dword [sym.imp.USER32.dll_GetParent]
mov byte [eax + 0x99], 1
push dword [ebx + 4]
call esi
push 2
push eax
call edi
push dword [ebx + 4]
mov edi, eax
call esi
push edi
push 2
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
xor eax, eax
pop esi
leave
ret
Function at 0x48d36d
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x52472c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
push ebx
push edi
mov edi, ecx
jne 0x48d3ab
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.00405499
lea eax, [ebp - 0x214]
push eax
call fcn.00447480
mov eax, edi
lea edi, [ebp - 0x214]
call fcn.00439ecc
lea eax, [ebp - 0x218]
push eax
xor ecx, ecx
push esi
inc ecx
call fcn.0043b3dd
mov edi, 0x4f6654
push edi
push eax
call fcn.0043b5ea
test eax, eax
lea ecx, [ebp - 0x218]
setne bl
call fcn.004029ae
test bl, bl
je 0x48d3fb
push edi
push esi
call fcn.00446716
push str.AI_WSP_
push esi
call fcn.00446716
mov eax, dword [ebp - 0x214]
push dword [eax - 0xc]
push eax
mov eax, esi
call fcn.0044678f
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x214]
call fcn.004029ae
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004b1fae
leave
ret
Function at 0x48d763
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xd4
mov eax, dword [0x52472c]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48d78f
push edi
call fcn.00447480
jmp 0x48d804
mov esi, dword [esi]
push 0x500628
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.004b7c62
add esp, 0xc
test eax, eax
jne 0x48d787
lea eax, [ebp - 0x58]
push eax
call fcn.00447480
jmp 0x48d7d4
push dword [ebp - 0x5c]
lea eax, [ebp - 0x54]
push 0x64
push eax
call fcn.004b7ce9
add esp, 0xc
test eax, eax
je 0x48d7e1
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00446716
push dword [ebp - 0x5c]
call fcn.004b7cb5
pop ecx
test eax, eax
je 0x48d7b2
push ebx
push dword [ebp - 0x5c]
call fcn.004b7e21
pop ecx
lea ebx, [ebp - 0x58]
call fcn.004639b0
mov eax, ebx
push eax
push edi
call fcn.0041808f
mov ecx, ebx
call fcn.004029ae
pop ebx
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
mov eax, edi
pop esi
call fcn.004b1fae
add ebp, 0x78
leave
ret

Function at 0x48d816
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, eax
lea eax, [ebp - 4]
push eax
call fcn.00447480
mov ecx, dword [ebp + 0xc]
lea esi, [ebp - 4]
call fcn.0048d36d
mov eax, dword [ebp - 4]
cmp dword [eax - 0xc], 0
jne 0x48d848
push dword [ebp + 8]
call fcn.00447480
jmp 0x48d8c3
lea ebx, [ebp - 8]
call fcn.0048d8d3
mov eax, dword [ebp - 8]
cmp dword [eax - 0xc], 0
jne 0x48d863
push dword [ebp + 8]
call fcn.00447480
jmp 0x48d8bb
push str.__o_enumsolutions
lea eax, [ebp - 8]
push eax
call fcn.00446716
lea eax, [ebp - 4]
call fcn.00439ecc
push 0x4f6654
push edi
call fcn.00446716
push str.Solutions.list
push edi
call fcn.00446716
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48d8a3
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [edi]
push dword [ebp - 8]
call fcn.004679e7
pop ecx
pop ecx
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.0041808f
lea ecx, [ebp - 8]
call fcn.004029ae
lea ecx, [ebp - 4]
call fcn.004029ae
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48da9d
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push str.SOFTWAREMicrosoftShared_ToolsWeb_Server_Extensions_
lea eax, [ebp - 8]
push eax
call fcn.004054bc
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 8]
call fcn.0044678f
lea eax, [ebp - 0x10]
push eax
push 0x20019
xor esi, esi
push esi
push dword [ebp - 8]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x48daee
push dword [ebp + 8]
call fcn.00447480
jmp 0x48db9c
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
mov ebx, str.Location
push ebx
push dword [ebp - 0x10]
mov dword [ebp - 0xc], esi
call edi
mov dword [ebp + 0xc], eax
lea eax, [ebp - 4]
push eax
call fcn.00447480
cmp dword [ebp + 0xc], 0xea
jne 0x48db54
push dword [ebp - 0xc]
lea esi, [ebp - 4]
call fcn.00402919
lea eax, [ebp - 0xc]
push eax
call fcn.00412dd9
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push ebx
push dword [ebp - 0x10]
call edi
mov dword [ebp + 0xc], eax
or eax, 0xffffffff
call fcn.00402961
xor esi, esi
pop edi
pop ebx
cmp dword [ebp + 0xc], esi
jne 0x48db8c
mov eax, dword [ebp - 4]
cmp dword [eax - 0xc], esi
je 0x48db8c
push str.BINSTSADM.EXE
lea eax, [ebp - 4]
push eax
call fcn.00446716
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48db8c
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.0041808f
jmp 0x48db94
push dword [ebp + 8]
call fcn.00447480
lea ecx, [ebp - 4]
call fcn.004029ae
lea ecx, [ebp - 8]
call fcn.004029ae
mov eax, dword [ebp + 8]
pop esi
leave
ret

Function at 0x48dd12
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x48dd28
xor al, al
jmp 0x48dd95
push ebx
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax - 0xc]
lea esi, [eax + eax]
lea eax, [esi + 2]
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
mov dword [edi], ebx
test ebx, ebx
je 0x48dd5d
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
test eax, eax
jne 0x48dd61
xor al, al
jmp 0x48dd93
mov ecx, dword [ebp + 8]
push esi
push dword [ecx]
push eax
call fcn.004b4360
mov ecx, dword [ebp - 4]
add esp, 0xc
xor eax, eax
push ebx
mov word [esi + ecx], ax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [edi]
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov al, 1
pop esi
pop ebx
leave
ret 4
Function at 0x49c752
Capabilities:
Check if file exists

Disassembly:
push 0x58
mov eax, 0x4dc3e8
call fcn.004b879b
mov eax, dword [ebp + 8]
lea esi, [eax + 4]
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.0045a890
xor ebx, ebx
mov dword [ebp - 4], ebx
jmp 0x49c7d2
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x49c782
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49c7ef
lea edi, [ebp - 0x64]
lea ecx, [ebp - 0x2c]
call fcn.0045bd30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
push ecx
mov ecx, eax
call fcn.0045a820
mov byte [ebp - 4], 2
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00403fe5
mov byte [ebp - 4], 1
lea eax, [ebp - 0x48]
push eax
call fcn.00403669
mov byte [ebp - 4], bl
mov eax, edi
push eax
call fcn.004a4e1e
cmp dword [ebp - 0x18], ebx
jne 0x49c776
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x2c]
push eax
call fcn.00403669
cmp dword [esi + 0x18], 8
jb 0x49c800
mov esi, dword [esi + 4]
jmp 0x49c803
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x2c]
push eax
call fcn.00403669
mov al, 1
jmp 0x49c810
add esi, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsUNCW]
neg eax
sbb eax, eax
neg eax
call fcn.004b881e
ret 4