joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41198f
Capabilities:
Copy file

Disassembly:
sub esp, 0xb4
mov eax, dword [0x448010]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x14]
push 0x441838
call fcn.00404f61
lea ebx, [edi + 0x20]
mov edx, ebx
lea ecx, [esp + 0x14]
call fcn.0040b198
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.004052ff
lea ebp, [edi + 8]
mov edx, ebp
lea ecx, [esp + 0x14]
call fcn.0041d87e
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], 0
je 0x411a02
push 0
push dword [ebx]
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
jmp 0x411a97
push 0x449ad4
push edi
lea ecx, [esp + 0x24]
call fcn.0041d9ab
push ebx
push ebp
lea ecx, [esp + 0x24]
call fcn.0041df1f
mov ecx, dword [edi + 4]
mov ebp, eax
cmp byte [ecx + 0x39], 0
je 0x411a2b
xor bl, bl
jmp 0x411a8e
test ebp, ebp
je 0x411a8b
cmp byte [0x449ac4], 0
je 0x411a89
push ecx
mov edx, ebp
lea ecx, [esp + 0x1c]
call fcn.0041a559
pop ecx
lea ecx, [esp + 0x14]
mov ebx, dword [eax]
call fcn.00415236
mov edi, eax
push str.Downloading_of_updates_failed._Error:
mov ecx, edi
call fcn.004028da
push ebx
mov ecx, edi
call fcn.0041524a
push eax
mov ecx, 0x449a94
call fcn.0041466e
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.004052ff
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.004052ff
test ebp, ebp
sete bl
lea ecx, [esp + 0x1c]
call fcn.00411aba
lea ecx, [esi - 0x10]
call fcn.004052ff
mov ecx, dword [esp + 0xc0]
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004246ea
add esp, 0xb4
ret
Function at 0x412c65
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x60]
sub ecx, 0x10
call fcn.0040ab13
add eax, 0x10
lea ecx, [ebp - 8]
mov dword [ebp - 8], eax
call fcn.0040fe70
call fcn.0040522e
push eax
lea ecx, [ebp - 4]
call fcn.004028b4
push dword [ebp + 8]
lea ecx, [ebp - 4]
call fcn.00404cca
call fcn.0040522e
push eax
lea ecx, [ebp + 8]
call fcn.004028b4
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp - 8]
push dword [eax]
mov eax, dword [ebp + 0xc]
push dword [eax]
lea eax, [ebp + 8]
push edi
push dword [ebp - 4]
push eax
call fcn.0040a5cf
mov esi, dword [ebp + 8]
add esp, 0x14
cmp byte [0x449ac4], 0
je 0x412d01
push esi
lea ecx, [ebp + 0x10]
call fcn.00415236
mov ecx, eax
call fcn.0041524a
push eax
mov ecx, 0x449a94
call fcn.0041466e
mov ecx, dword [ebp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.004052ff
cmp byte [ebx + 0x10], 0
je 0x412d10
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x412d3a
mov ecx, dword [ebx]
add ecx, 0xc
call fcn.0040f4f8
mov ecx, dword [ebx]
push 0
call fcn.00413db6
mov ebx, eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push 0x10
push ebx
lea edx, [ebp + 8]
mov ecx, eax
call fcn.00410fa4
pop ecx
pop ecx
lea ecx, [esi - 0x10]
call fcn.004052ff
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.004052ff
lea ecx, [edi - 0x10]
call fcn.004052ff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x413ec1
Capabilities:
Terminate thread

Disassembly:
sub esp, 0x38
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 4]
or dword [esp + 0xc], 0xffffffff
push ebp
push edi
xor edi, edi
mov dword [esp + 0xc], 0x444c00
push edi
push edi
push edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.00420976
xor ebp, ebp
inc ebp
jmp 0x413f23
push ebp
push edi
push edi
push edi
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x413f23
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0x5ff
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x1c]
push eax
push ebp
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, ebp
je 0x413efa
mov dword [esp + 0xc], fcn.00420976
cmp dword [esp + 0x10], edi
je 0x413f94
push dword [esp + 0x14]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esp + 0x14], 0xffffffff
je 0x413f8a
lea eax, [esp + 0x44]
mov dword [esp + 0x44], edi
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x413f8a
cmp dword [esp + 0x44], 0x103
jne 0x413f8a
push edi
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebp
add esp, 0x38
ret 4
Function at 0x414773
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x21c
mov eax, dword [0x448010]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push ebp
mov ebx, ecx
xor ebp, ebp
push esi
push edi
lea esi, [ebx + 0x28]
cmp dword [esi], ebp
jne 0x4148be
lea edi, [ebx + 0x20]
mov eax, dword [edi]
cmp dword [eax - 0xc], ebp
jne 0x41480c
mov ebp, 0x208
lea eax, [esp + 0x18]
push ebp
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
add eax, eax
cmp eax, ebp
jae 0x4148d7
xor ecx, ecx
mov word [esp + eax + 0x18], cx
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.00404f39
push 0x2e
push dword [edi]
call fcn.00426705
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x4147ea
or ecx, 0xffffffff
jmp 0x4147ee
sub ecx, dword [edi]
sar ecx, 1
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
sub eax, ecx
push eax
push ecx
mov ecx, edi
call fcn.00409df3
push str..log
mov ecx, edi
call fcn.004028da
xor ebp, ebp
push ebp
push 0x80
push 4
push ebp
push 3
push 0xc0000000
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
mov ecx, esi
call fcn.00409839
cmp dword [esi], 0xffffffff
je 0x4148b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x414855
cmp dword [esi], 0
je 0x414888
push 2
push ebp
push ebp
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x414888
test eax, eax
jne 0x4148b6
cmp dword [esi], eax
je 0x4148b6
push 2
pop ecx
push ebp
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0xfeff
push eax
push ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], ecx
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
cmp dword [esi], ebp
je 0x4148be
lea eax, [ebx + 0x24]
mov ecx, ebx
push eax
call fcn.004148dd
lea ecx, [esp + 0x10]
call fcn.0041490c
push eax
mov ecx, ebx
call fcn.004148dd
mov ecx, dword [esp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.004052ff
jmp 0x4148be
push ebp
mov ecx, esi
call fcn.00409839
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004246ea
add esp, 0x21c
ret
call fcn.00424ce7
int3

Function at 0x4148dd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push 0
mov esi, ecx
mov edx, dword [eax]
lea eax, [ebp + 8]
push eax
mov eax, dword [edx - 0xc]
add eax, eax
push eax
push edx
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
pop esi
pop ebp
ret 4
Function at 0x4150fa
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x448010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
call fcn.0040fc80
test al, al
jne 0x4151cb
push str.ProgramFilesFolder
mov ecx, edi
call fcn.0040a0e8
mov esi, str.AppDataFolder
test eax, eax
je 0x41514f
mov edx, str.ProgramFiles
mov ecx, edi
call fcn.004151e3
test al, al
jne 0x41514f
push esi
mov ecx, edi
call fcn.0040a0e8
test eax, eax
jne 0x4151cb
push esi
mov ecx, edi
call fcn.0040a0e8
neg eax
mov ecx, str.PROGRAMFILES
push 0
sbb al, al
add al, 1
pop eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x210]
push 0x104
push eax
mov eax, str.APPDATA
cmove eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
test esi, esi
je 0x415199
push 0x5c
pop eax
mov word [ebp + esi*2 - 0x210], ax
inc esi
lea eax, [esi + esi]
cmp eax, 0x208
jae 0x4151dd
xor ecx, ecx
mov word [ebp + eax - 0x210], cx
cmp word [ebp - 0x210], cx
je 0x4151c4
lea eax, [ebp - 0x210]
mov ecx, edi
push eax
call fcn.00404f39
test esi, esi
setne al
jmp 0x4151cd
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004246ea
mov esp, ebp
pop ebp
ret
call fcn.00424ce7
int3

Function at 0x41535b
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
mov eax, dword [eax]
xor esi, esi
push edi
mov dword [esp + 0x14], ecx
cmp dword [eax - 0xc], esi
jne 0x41537a
xor eax, eax
jmp 0x415431
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
push 2
pop edi
cmp ebx, 0xffffffff
je 0x415424
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x1c]
mov ebp, dword [esp + 0x2c]
add ecx, edi
push esi
push eax
push ecx
push ebx
sub ebp, edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x415424
mov eax, ebp
lea ecx, [esp + 0x24]
shr eax, 1
push eax
push 0x78
call fcn.0040ba6a
mov esi, dword [esp + 0x24]
cmp dword [esi - 4], 1
jle 0x4153f0
push dword [esi - 0xc]
lea ecx, [esp + 0x28]
call fcn.00404d3d
mov esi, dword [esp + 0x24]
push 0
lea eax, [esp + 0x14]
push eax
push ebp
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41541c
cmp dword [esp + 0x10], 0
je 0x41541c
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
call fcn.00416bfc
movzx edi, al
lea ecx, [esi - 0x10]
call fcn.004052ff
test ebx, ebx
je 0x41542f
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
Function at 0x4167e3
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x1a0
mov eax, dword [0x448010]
xor eax, esp
mov dword [esp + 0x19c], eax
push ebx
push ebp
push esi
xor ebp, ebp
lea eax, [esp + 0x10]
push ebp
push eax
push ebp
push 0xf003f
push ebp
push ebp
push ebp
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
mov ebx, edx
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x41682a
xor al, al
jmp 0x41693c
push edi
mov edi, dword [esi]
mov eax, dword [edi - 0xc]
cmp eax, 0x4f
jle 0x41683e
lea edi, [edi + eax*2]
add edi, 0xffffff62
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0xc8
push eax
lea eax, [esp + 0x20]
push eax
push ebp
push ebp
push edi
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebp, eax
test ebp, ebp
jne 0x416871
cmp dword [esp + 0x18], 0xc8
jbe 0x41692c
call fcn.0040522e
push eax
lea ecx, [esp + 0x14]
call fcn.004028b4
mov eax, dword [ebx]
xor ebp, ebp
cmp dword [eax - 0xc], ebp
je 0x4168cf
push ebp
mov ecx, esi
call fcn.00409eca
push 0x22
pop ecx
cmp ax, cx
je 0x4168cf
push ebp
push 0x20
mov ecx, esi
call fcn.00409b22
cmp eax, 0xffffffff
je 0x4168cf
push 0x22
lea ecx, [esp + 0x14]
call fcn.0040aa7a
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push dword [eax - 0xc]
push eax
call fcn.00402b67
push 0x22
lea ecx, [esp + 0x14]
call fcn.0040aa7a
jmp 0x4168d9
push esi
lea ecx, [esp + 0x14]
call fcn.00409e7f
mov eax, dword [ebx]
cmp dword [eax - 0xc], ebp
je 0x4168fa
push ebp
mov ecx, ebx
call fcn.00409eca
push 0x20
pop ecx
cmp ax, cx
je 0x4168fa
push ecx
lea ecx, [esp + 0x14]
call fcn.0040aa7a
mov eax, dword [ebx]
lea ecx, [esp + 0x10]
push dword [eax - 0xc]
push eax
call fcn.00402b67
mov esi, dword [esp + 0x10]
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push 1
push ebp
push edi
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [esi - 0x10]
mov ebp, eax
call fcn.004052ff
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebp, ebp
pop edi
sete al
mov ecx, dword [esp + 0x1a8]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004246ea
add esp, 0x1a0
ret
Function at 0x4169fb
Capabilities:
Delete registry value
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 8]
push esi
push edi
push eax
push 0xf003f
xor edi, edi
mov esi, ecx
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x416a29
xor al, al
jmp 0x416a7f
mov esi, dword [esi]
mov eax, dword [esi - 0xc]
cmp eax, 0x4f
jle 0x416a3c
lea esi, [esi + eax*2]
add esi, 0xffffff62
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 1
push eax
lea eax, [ebp - 4]
push eax
push edi
push edi
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
je 0x416a65
cmp edi, 0xea
jne 0x416a71
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
sete al
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x417409
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xb4
mov eax, dword [0x448010]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp + 0x68], 0x443a48
mov edi, ecx
mov dword [ebp + 0x6c], str.http:__www.yahoo.com
mov dword [ebp + 0x70], str.http:__www.example.com
call fcn.0040522e
push eax
lea ecx, [ebp - 0x3c]
call fcn.004028b4
push str.tin9999.tmp
lea ecx, [ebp - 0x38]
call fcn.00404f61
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x38]
call fcn.0040b198
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.004052ff
push esi
push edi
lea ecx, [ebp - 0x34]
call fcn.0041d9ab
xor ebx, ebx
mov dword [ebp + 0x44], ebx
mov edi, ebx
push dword [ebp + edi*4 + 0x68]
lea ecx, [ebp - 0x38]
call fcn.00404f61
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x34]
call fcn.0041df1f
mov ecx, dword [ebp - 0x38]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.004052ff
test esi, esi
je 0x4174b1
inc edi
cmp edi, 3
jl 0x41747c
jmp 0x4174b3
mov bl, 1
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x34]
call fcn.00411aba
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.004052ff
mov ecx, dword [ebp + 0x74]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004246ea
lea esp, [ebp + 0x78]
pop ebp
ret
Function at 0x418276
Capabilities:
Create process on windows
Delete file
Get common file path
Write and execute a file
Write file on windows

Disassembly:
sub esp, 0x430
mov eax, dword [0x448010]
xor eax, esp
mov dword [esp + 0x42c], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x444]
lea eax, [esp + 0x230]
push eax
push 0x104
mov dword [esp + 0x2c], ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [esp + 0x20], eax
test eax, eax
je 0x4183fa
lea eax, [esp + 0x28]
xor ebx, ebx
push eax
push ebx
push 0x441884
lea eax, [esp + 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x4183fa
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
call fcn.00404f61
push str..url
lea ecx, [esp + 0x1c]
call fcn.004028da
mov esi, dword [esp + 0x18]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4183e7
call fcn.0040522e
push eax
lea ecx, [esp + 0x18]
call fcn.004028b4
push dword [edi]
lea ecx, [esp + 0x20]
call fcn.004027a8
push dword [esp + 0x1c]
lea eax, [esp + 0x18]
push str._InternetShortcut__r_nURL_s_r_n
push eax
call fcn.00402a68
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x2c]
add esp, 0xc
push ebx
push eax
push dword [edi - 0xc]
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, eax
test ebp, ebp
je 0x41837b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebp, ebp
test ebx, ebx
je 0x418393
push 5
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x5c
push esi
call fcn.00426705
pop ecx
pop ecx
test eax, eax
jne 0x4183a6
or eax, 0xffffffff
jmp 0x4183aa
sub eax, esi
sar eax, 1
mov ebx, dword [esp + 0x24]
lea ecx, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0040995a
lea edx, [ebx + 0x1c]
mov ecx, eax
call fcn.0040b25a
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.004052ff
mov ecx, dword [esp + 0x1c]
lea ecx, [ecx - 0x10]
call fcn.004052ff
lea ecx, [edi - 0x10]
call fcn.004052ff
test ebp, ebp
je 0x4183f2
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi - 0x10]
call fcn.004052ff
mov ecx, dword [esp + 0x43c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004246ea
add esp, 0x430
ret 4
Function at 0x418c36
Capabilities:
Delete file

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x28], edi
jle 0x418cad
push ebx
push ebp
lea ebx, [esi + 0x24]
push edi
mov ecx, ebx
call fcn.00409706
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
mov ecx, ebx
call fcn.00409706
mov ebp, eax
push 0x5c
push dword [ebp]
call fcn.00426705
pop ecx
pop ecx
test eax, eax
jne 0x418c76
or eax, 0xffffffff
jmp 0x418c7b
sub eax, dword [ebp]
sar eax, 1
push eax
lea eax, [esp + 0x14]
mov ecx, ebx
push eax
push edi
call fcn.00409706
mov ecx, eax
call fcn.0040995a
mov edx, esi
mov ecx, eax
call fcn.0040b25a
mov ecx, dword [esp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.004052ff
inc edi
cmp edi, dword [esi + 0x28]
jl 0x418c47
pop ebp
pop ebx
lea ecx, [esi + 0x24]
call fcn.0040972d
lea ecx, [esi + 4]
call fcn.00418fa7
mov ecx, dword [esi]
pop edi
sub ecx, 0x10
pop esi
add esp, 4
jmp fcn.004052ff

Function at 0x41931c
Capabilities:
Create thread

Disassembly:
push ecx
push ecx
mov edx, dword [0x448e14]
push ebx
push ebp
mov ebp, ecx
push esi
push ecx
lea ebx, [ebp + 4]
mov ecx, dword [ebx]
call fcn.00410f54
mov ecx, ebx
call fcn.0040f7a9
mov eax, dword [ebp + 0x28]
push dword [eax]
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowTextW]
call fcn.0040522e
push eax
lea ecx, [esp + 0x10]
call fcn.004028b4
push 0xdc
lea ecx, [esp + 0x10]
call fcn.00404cca
push 0x40a
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [esp + 0xc]
push esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [ebx]
lea ecx, [ebp + 0x40]
call fcn.00422cc1
lea eax, [esp + 0x10]
xor ecx, ecx
push eax
push ecx
lea eax, [ebp + 0x30]
push eax
push 0x4193b6
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [esi - 0x10]
mov dword [ebp + 0x38], eax
call fcn.004052ff
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
pop ecx
ret 0x10
Function at 0x4194de
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi], ebx
jne 0x4194f5
xor al, al
jmp 0x419588
push esi
call fcn.0040522e
push eax
lea ecx, [ebp - 0xc]
call fcn.004028b4
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0xc]
push str.SELECT__Value__FROM__Property__WHERE__Property____s
push eax
call fcn.0040a5cf
mov esi, dword [ebp - 0xc]
lea eax, [ebp - 4]
add esp, 0xc
mov dword [ebp - 4], ebx
push eax
push esi
push dword [edi]
call dword [sym.imp.msi.dll_MsiEnumClientsA]
mov edi, dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
test eax, eax
jne 0x419572
push ebx
push dword [ebp - 4]
call dword [sym.imp.msi.dll_MsiViewModify]
test eax, eax
jne 0x419572
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push dword [ebp - 4]
call dword [sym.imp.msi.dll_MsiDatabaseIsTablePersistentA]
test eax, eax
jne 0x419567
push dword [ebp + 0xc]
push ecx
push dword [ebp - 8]
call fcn.00419693
mov bl, al
cmp dword [ebp - 8], 0
je 0x419572
push dword [ebp - 8]
call edi
cmp dword [ebp - 4], 0
je 0x41957d
push dword [ebp - 4]
call edi
lea ecx, [esi - 0x10]
call fcn.004052ff
mov al, bl
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x419971
Capabilities:
Get disk size

Disassembly:
sub esp, 0x424
mov eax, dword [0x448010]
xor eax, esp
mov dword [esp + 0x41c], eax
push ebx
push ebp
push esi
push edi
test ecx, ecx
jne 0x419994
xor al, al
jmp 0x419a9c
movzx edx, word [ecx]
lea esi, [esp + 0x28]
push 2
pop ebp
test dx, dx
je 0x4199b7
mov eax, esi
sub ecx, eax
mov word [esi], dx
add esi, ebp
movzx eax, word [ecx + esi]
mov edx, eax
test ax, ax
jne 0x4199a7
xor eax, eax
xor cl, cl
mov word [esi], ax
sub esi, ebp
push 0x5c
xor al, al
pop edx
mov byte [esp + 0x17], al
cmp word [esp + 0x28], dx
jne 0x4199e6
cmp word [esp + 0x2a], dx
jne 0x4199e6
xor ebx, ebx
inc ebx
cmp word [esi], dx
mov byte [esp + 0x17], bl
setne cl
jmp 0x4199f2
xor ebx, ebx
movzx eax, al
inc ebx
cmp word [esi], dx
cmove eax, ebx
lea edi, [esp + 0x2c]
cmp word [esp + 0x2c], dx
je 0x419a04
add edi, ebp
cmp word [edi], dx
jne 0x4199fd
test cl, cl
jne 0x419a0e
test al, al
je 0x419a1c
jmp 0x419a15
add esi, ebp
mov word [esi], dx
add esi, ebp
xor eax, eax
mov word [esi], ax
sub esi, ebp
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
lea eax, [esp + 0x20]
push eax
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x419a7c
push 0x5c
pop ecx
cmp word [esi], cx
lea eax, [esi - 2]
cmovne eax, esi
mov esi, eax
jmp 0x419a56
cmp word [esi], cx
je 0x419a5e
sub esi, ebp
lea eax, [esp + 0x28]
cmp esi, eax
ja 0x419a4f
cmp esi, edi
jb 0x41998d
cmp byte [esp + 0x17], 0
jne 0x419a71
cmp esi, edi
jne 0x419a73
add esi, ebp
xor eax, eax
mov word [esi], ax
sub esi, ebp
jmp 0x419a25
mov eax, dword [esp + 0x43c]
cmp eax, dword [esp + 0x1c]
ja 0x419a98
jb 0x419a9a
mov eax, dword [esp + 0x438]
cmp eax, dword [esp + 0x18]
jb 0x419a9a
xor ebx, ebx
mov al, bl
mov ecx, dword [esp + 0x42c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004246ea
add esp, 0x424
ret