joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417a4f
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x834
mov eax, 0x4a9ecd
call fcn.0045edc9
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x840], eax
inc ebx
lea eax, [ebp - 0x830]
xor edi, edi
push eax
push ebx
push edi
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x830], edi
jne 0x417a8c
xor al, al
jmp 0x417c10
push edi
push edi
push edi
lea eax, [ebp - 0x82c]
mov dword [ebp - 0x82c], edi
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov esi, eax
test esi, esi
jne 0x417c0d
push 0x800
lea eax, [ebp - 0x810]
push edi
push eax
call fcn.004628a0
mov ecx, dword [ebp - 0x82c]
add esp, 0xc
mov eax, 0x400
mov dword [ebp - 0x838], eax
push 2
pop edx
cmp ecx, eax
jae 0x417aee
lea edi, [ebp - 0x810]
jmp 0x417b24
lea eax, [ecx + 1]
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045e7d6
mov ecx, dword [ebp - 0x82c]
mov edi, eax
inc ecx
push ecx
push 0
push edi
call fcn.004628a0
mov eax, dword [ebp - 0x82c]
add esp, 0x10
inc eax
mov dword [ebp - 0x838], eax
xor ecx, ecx
mov dword [ebp - 0x834], eax
push ecx
push ecx
lea eax, [ebp - 0x83c]
mov dword [ebp - 0x83c], ebx
push eax
push ecx
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0x810]
push eax
push ecx
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x417be7
cmp esi, 0xea
je 0x417bf7
test esi, esi
jne 0x417bb3
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x828]
call fcn.004097aa
mov ecx, dword [ebp - 0x840]
push eax
mov dword [ebp - 4], esi
call fcn.004042c2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x828]
call fcn.0040a301
push 0x800
lea eax, [ebp - 0x810]
push esi
push eax
call fcn.004628a0
add esp, 0xc
jmp 0x417bb5
xor esi, esi
mov eax, dword [ebp - 0x838]
push esi
push esi
mov dword [ebp - 0x834], eax
lea eax, [ebp - 0x83c]
push eax
push esi
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
inc ebx
mov esi, eax
cmp esi, 0x103
jne 0x417b5c
xor esi, esi
lea eax, [ebp - 0x810]
cmp edi, eax
je 0x417c0b
push 2
push edi
call fcn.0045e3f8
pop ecx
pop ecx
test esi, esi
sete al
call fcn.0045ed73
ret
Function at 0x417d45
Capabilities:
Delete registry key

Disassembly:
push 0x44
mov eax, 0x4a9f0d
call fcn.0045edc9
mov esi, edx
mov edi, ecx
test esi, esi
jne 0x417d60
xor al, al
jmp 0x417e35
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x417d73
mov al, 1
jmp 0x417e35
lea ecx, [ebp - 0x50]
call fcn.00403fe0
lea eax, [ebp - 0x50]
xor ebx, ebx
push eax
mov edx, esi
mov dword [ebp - 4], ebx
mov ecx, edi
call fcn.004178b2
pop ecx
test al, al
je 0x417e2b
push esi
lea ecx, [ebp - 0x28]
call fcn.004097aa
push 0x4c6f34
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00406ecb
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x44], ebx
call fcn.0040425a
test eax, eax
je 0x417e13
push ebx
lea ecx, [ebp - 0x50]
call fcn.0040423d
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.00418dbc
pop ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040a2c4
mov edx, eax
mov ecx, edi
call fcn.00417d45
mov bl, al
mov byte [ebp - 4], 1
neg bl
lea ecx, [ebp - 0x40]
sbb bl, bl
call fcn.0040a301
add bl, 1
jne 0x417e3b
mov ebx, dword [ebp - 0x44]
lea ecx, [ebp - 0x50]
inc ebx
mov dword [ebp - 0x44], ebx
call fcn.0040425a
cmp ebx, eax
jb 0x417dbf
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
neg eax
sbb al, al
inc al
mov bl, al
lea ecx, [ebp - 0x28]
call fcn.0040a301
lea ecx, [ebp - 0x50]
call fcn.00404285
mov al, bl
call fcn.0045ed73
ret
xor ebx, ebx
jmp 0x417e23

Function at 0x41b962
Capabilities:
Get file size
Read file on windows

Disassembly:
push 4
mov eax, 0x4aa3b1
call fcn.0045ed95
mov edi, edx
mov esi, ecx
push 0x78
call fcn.0045e68b
pop ecx
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.0041c5dd
or dword [ebp - 4], 0xffffffff
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push esi
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41ba14
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10], eax
lea ecx, [eax + 1]
push ecx
call fcn.0045e7d6
pop ecx
push 0
mov esi, eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
push esi
mov byte [esi + eax], 0
mov ecx, dword [edi]
call fcn.0041c68c
push 1
push esi
test al, al
je 0x41b9fe
call fcn.0045e3f8
pop ecx
pop ecx
mov al, 1
jmp 0x41ba16
call fcn.0045e3f8
pop ecx
pop ecx
mov ecx, dword [edi]
test ecx, ecx
je 0x41ba11
push ecx
call fcn.0041ba1c
and dword [edi], 0
xor al, al
call fcn.0045ed5e
ret
Function at 0x4213da
Capabilities:
Accept command line arguments

Disassembly:
push 0x3c
mov eax, 0x4aadb3
call fcn.0045edc9
mov esi, ecx
test esi, esi
je 0x421444
call fcn.00421a48
push 0xfde9
push 0xffffffffffffffff
mov dword [ebp - 0x48], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.00417443
pop ecx
pop ecx
and dword [ebp - 4], 0
push eax
push ecx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00421792
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0040a237
mov edx, dword [esi]
mov ecx, esi
push eax
call dword [edx]
lea ecx, [ebp - 0x2c]
call fcn.00409fcb
lea ecx, [ebp - 0x44]
call fcn.00409fcb
call fcn.0045ed73
ret
Function at 0x42bd3e
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x42bd4d
mov al, 1
ret
push ebx
push esi
push 0xd
mov bl, 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x42bda2
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
test edi, edi
je 0x42bda1
test eax, eax
je 0x42bda1
xor ecx, ecx
test eax, eax
je 0x42bd9a
movzx edx, word [edi + ecx*2]
test dx, dx
je 0x42bd9a
cmp edx, 0x30
jb 0x42bd98
cmp edx, 0x39
ja 0x42bd98
inc ecx
cmp ecx, eax
jb 0x42bd7e
jmp 0x42bd9a
xor bl, bl
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov al, bl
pop ebx
ret

Function at 0x430f92
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x14
mov eax, 0x4abba3
call fcn.0045ed95
mov edi, ecx
push dword [edi + 0xb0]
lea ecx, [ebp - 0x20]
call fcn.00423638
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
cmp ebx, 9
jne 0x430ff2
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x4310b0
mov ecx, dword [edi + 0xc0]
test ecx, ecx
je 0x430fea
push esi
push esi
push esi
push 0xc
call fcn.004252b3
test eax, eax
jne 0x4310b0
xor esi, esi
inc esi
jmp 0x4310b0
cmp ebx, 0x25
je 0x43100a
cmp ebx, 0x27
je 0x43100a
cmp ebx, 0x26
je 0x43100a
cmp ebx, 0x28
jne 0x4310b0
mov ecx, dword [edi + 0xc0]
test ecx, ecx
je 0x4310b0
push esi
push esi
push esi
push 0xb
call fcn.004252b3
test eax, eax
jne 0x4310b0
mov eax, dword [edi + 0xc0]
cmp dword [eax + 0x2c], esi
je 0x4310b0
cmp ebx, 0x25
jb 0x4310b0
cmp ebx, 0x26
jbe 0x43104e
cmp ebx, 0x28
ja 0x4310b0
push eax
mov ecx, edi
call 0x42fa29
jmp 0x431056
push eax
mov ecx, edi
call 0x42fac8
mov ebx, eax
test ebx, ebx
je 0x4310b0
push ebx
mov ecx, edi
call fcn.0042e975
push esi
push esi
push esi
push 0x11
mov ecx, ebx
call fcn.004252b3
cmp eax, 4
jne 0x43108b
or dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0xac]
mov dword [ebp - 0x14], esi
call fcn.00429b54
mov ecx, dword [edi + 0xb0]
push esi
push esi
push esi
push 0x6e
call fcn.004252b3
cmp eax, 1
jne 0x4310b0
mov ecx, dword [edi + 0xb0]
push esi
push esi
push esi
push 0x6f
call fcn.004252b3
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], vtable.CTrackFinalEvent.0
call fcn.00426ad0
mov eax, esi
call fcn.0045ed5e
ret 8

Function at 0x4310d0
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xc
mov eax, 0x4abb7a
call fcn.0045ed95
mov edi, ecx
push dword [edi + 0xb0]
lea ecx, [ebp - 0x18]
call fcn.00423638
xor esi, esi
cmp dword [ebp + 8], 9
mov dword [ebp - 4], esi
jne 0x431121
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x431121
mov ecx, dword [edi + 0xc0]
test ecx, ecx
je 0x43111e
push esi
push esi
push esi
push 0xc
call fcn.004252b3
test eax, eax
jne 0x431121
xor esi, esi
inc esi
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], vtable.CTrackFinalEvent.0
call fcn.00426ad0
mov eax, esi
call fcn.0045ed5e
ret 8
Function at 0x431141
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x14
mov eax, 0x4abba3
call fcn.0045ed95
mov esi, ecx
push dword [esi + 0xb0]
lea ecx, [ebp - 0x20]
call fcn.00423638
xor edi, edi
cmp dword [ebp + 8], 9
mov dword [ebp - 4], edi
jne 0x431240
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x431240
mov ecx, dword [esi + 0xc0]
test ecx, ecx
je 0x43119b
push edi
push edi
push edi
push 0xc
call fcn.004252b3
test eax, eax
jne 0x431240
mov ecx, dword [esi + 0xc0]
xor ebx, ebx
inc ebx
mov byte [esi + 0xce], bl
test ecx, ecx
je 0x4311bc
push 0x8000
call fcn.0040f137
test al, al
jne 0x4311c2
mov edi, dword [esi + 0xc0]
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, esi
push edi
test al, 1
je 0x4311db
call fcn.0042f2c7
jmp 0x4311e0
call fcn.0042f1ab
mov edi, eax
test edi, edi
je 0x431218
push edi
mov ecx, esi
call fcn.0042e975
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push 0x11
call fcn.004252b3
cmp eax, 4
jne 0x431218
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
or dword [ebp - 0x10], 0xffffffff
lea ecx, [edi + 0xac]
push eax
call fcn.00429b54
mov ecx, dword [esi + 0xb0]
xor edi, edi
push edi
push edi
push edi
push 0x6e
call fcn.004252b3
cmp eax, ebx
jne 0x431242
mov ecx, dword [esi + 0xb0]
push edi
push edi
push edi
push 0x6f
call fcn.004252b3
jmp 0x431242
mov ebx, edi
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], vtable.CTrackFinalEvent.0
call fcn.00426ad0
mov eax, ebx
call fcn.0045ed5e
ret 8

Function at 0x43462f
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
shl edi, 2
mov dword [ebp - 4], edx
test ecx, ecx
je 0x434674
cmp ecx, 0xffffffff
je 0x434674
push edi
xor ebx, ebx
push ebx
push ebx
push 4
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x434676
push edi
push esi
push dword [ebp - 4]
call fcn.00460360
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov bl, 1
jmp 0x434676
xor bl, bl
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x440cff
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x2c
mov eax, 0x4aca6b
call fcn.0045edc9
mov esi, ecx
mov bl, byte [ebp + 8]
test bl, bl
jne 0x440d71
push edx
lea eax, [ebp - 0x28]
push str.SoftWare_
push eax
call fcn.00406910
and dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x28]
add esp, 0xc
push 4
pop eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
push 0x4c9a44
call fcn.0040a2c4
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
movzx ebx, bl
inc eax
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x2c], 0
cmovne ebx, eax
call fcn.0040a301
test bl, bl
je 0x440d99
push 0xb0
call fcn.0045e68b
pop ecx
mov dword [ebp - 0x38], eax
and dword [ebp - 4], 0
mov ecx, eax
call fcn.004409bf
or dword [ebp - 4], 0xffffffff
push esi
mov dword [0x4e7efc], eax
call fcn.00440a72
call fcn.0045ed73
ret
Function at 0x441cec
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x4acb2c
call fcn.0045edc9
mov esi, ecx
mov dword [ebp - 0x2c], esi
xor ebx, ebx
cmp dword [esi + 0x38], ebx
je 0x441df4
cmp byte [esi + 0x3e], bl
je 0x441df4
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 0xc]
movzx eax, ax
cmp di, ax
sete al
test al, al
je 0x441d30
xor al, al
jmp 0x441df6
push ebx
push 8
lea ecx, [ebp - 0x28]
call fcn.00443004
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x28]
call fcn.0041cefc
lea ecx, [ebp - 0x28]
mov esi, dword [eax]
lea eax, [ebp - 0x38]
push eax
call fcn.0041cefc
lea ecx, [ebp - 0x28]
mov edi, dword [eax]
call fcn.00404530
add eax, esi
mov esi, dword [ebp - 0x2c]
mov ecx, dword [esi + 0x38]
lea esi, [ebp - 0x30]
push esi
mov esi, dword [ebp - 0x2c]
push eax
mov edx, dword [ecx]
push edi
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, ebx
je 0x441d8e
sub eax, 1
je 0x441d91
dec eax
sub eax, 1
jne 0x441de8
inc eax
jmp 0x441de6
mov byte [esi + 0x3e], bl
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x28]
call fcn.0041cefc
mov edi, dword [ebp - 0x30]
sub edi, dword [eax]
je 0x441dc4
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0041cefc
push dword [esi + 0x4c]
push edi
push 1
push dword [eax]
call fcn.0046ff90
add esp, 0x10
cmp edi, eax
jne 0x441de4
cmp byte [esi + 0x3e], 0
je 0x441de2
test edi, edi
jne 0x441d3e
push ebx
push 8
lea ecx, [ebp - 0x28]
call fcn.0041730e
jmp 0x441d3e
mov bl, 1
mov al, bl
mov bl, al
lea ecx, [ebp - 0x28]
call fcn.00409fcb
mov al, bl
jmp 0x441df6
mov al, 1
call fcn.0045ed73
ret
Function at 0x444aa7
Capabilities:
Move file

Disassembly:
push 0x42c
mov eax, 0x4ad07b
call fcn.0045edc9
mov esi, ecx
call fcn.0040a2c4
mov ecx, eax
call fcn.0044a453
test eax, eax
jne 0x444acf
mov al, 1
jmp 0x444c02
mov ecx, esi
call fcn.0040a2c4
mov ecx, eax
call fcn.0044a366
test eax, eax
jne 0x444ac8
mov ecx, esi
call fcn.0040a2c4
mov edi, eax
push 0x5c
push edi
call fcn.0040d362
pop ecx
pop ecx
test eax, eax
je 0x444afd
add eax, 2
jmp 0x444aff
mov eax, edi
push 0x4c9ff0
push eax
call fcn.004625d4
pop ecx
pop ecx
test eax, eax
je 0x444b41
mov ecx, eax
call fcn.00444a77
test al, al
je 0x444b41
mov ecx, esi
call fcn.0040a2c4
mov ecx, eax
call fcn.0044a366
test eax, eax
jne 0x444ac8
push 4
mov ecx, esi
call fcn.0040a2c4
xor edx, edx
mov ecx, eax
call fcn.0044a3f1
jmp 0x444ac8
lea ecx, [ebp - 0x438]
call fcn.00408fc1
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040a557
xor ebx, ebx
lea ecx, [ebp - 0x28]
inc ebx
mov byte [ebp - 4], bl
call fcn.004483e2
lea eax, [ebp - 0x28]
push eax
push 0x4c6f0c
lea eax, [ebp - 0x438]
push esi
push eax
call fcn.00404457
pop ecx
pop ecx
push eax
call fcn.00408f55
pop ecx
pop ecx
push eax
call fcn.00404457
pop ecx
pop ecx
mov ecx, esi
call fcn.0040a2c4
lea edx, [ebx + 0x7f]
mov ecx, eax
call fcn.0044a428
lea ecx, [ebp - 0x438]
call fcn.0040a274
push eax
mov ecx, esi
call fcn.0040a2c4
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x444beb
lea ecx, [ebp - 0x438]
call fcn.0040a274
mov ecx, eax
call fcn.0044a366
test eax, eax
jne 0x444bed
push 4
lea ecx, [ebp - 0x438]
call fcn.0040a274
xor edx, edx
mov ecx, eax
call fcn.0044a3f1
jmp 0x444bed
xor bl, bl
lea ecx, [ebp - 0x28]
call fcn.0040a301
lea ecx, [ebp - 0x438]
call fcn.00408f9c
mov al, bl
call fcn.0045ed73
ret

Function at 0x444d52
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.0040a2c4
xor dl, dl
mov ecx, eax
call fcn.00414f63
mov ecx, edi
test al, al
jne 0x444d8b
call fcn.0040a2c4
push eax
push str.File__s_is_not_exist
push 2
call fcn.00440e45
add esp, 0xc
xor al, al
jmp 0x444de7
mov edx, esi
call fcn.00445680
test al, al
jne 0x444de5
mov ecx, esi
call fcn.00444aa7
mov ecx, esi
call fcn.00444c17
test al, al
je 0x444d87
push 0
mov ecx, esi
call fcn.0040a2c4
push eax
mov ecx, edi
call fcn.0040a2c4
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x444de5
mov ecx, esi
call fcn.0040a2c4
push eax
mov ecx, edi
call fcn.0040a2c4
push eax
push 0x4ca064
push 2
call fcn.00440e45
add esp, 0x10
jmp 0x444d87
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44521c
Capabilities:
Delete directory

Disassembly:
push 0x2c4
mov eax, 0x4ad17f
call fcn.0045edc9
mov esi, edx
mov dword [ebp - 0x2c8], esi
mov ebx, ecx
mov dword [ebp - 0x2d0], ebx
push 0x250
lea eax, [ebp - 0x2c0]
push 0
push eax
call fcn.004628a0
add esp, 0xc
lea ecx, [ebp - 0x58]
push ebx
call fcn.0040479a
and dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
push 0x4c6ee4
call fcn.00406ecb
lea eax, [ebp - 0x2c0]
push eax
lea ecx, [ebp - 0x58]
call fcn.0040a2c4
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 0x2c4], edi
setne cl
test cl, cl
je 0x445407
mov ecx, esi
call fcn.0040425a
xor bl, bl
mov dword [ebp - 0x2cc], eax
xor esi, esi
test eax, eax
je 0x4452eb
xor edi, edi
mov ecx, dword [ebp - 0x2c8]
call fcn.0040487d
mov ecx, dword [eax]
add ecx, edi
call fcn.0040a2c4
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.00467128
pop ecx
pop ecx
test eax, eax
je 0x4452e3
inc esi
add edi, 0x18
cmp esi, dword [ebp - 0x2cc]
jb 0x4452ae
jmp 0x4452e5
mov bl, 1
mov edi, dword [ebp - 0x2c4]
test bl, bl
jne 0x4453ec
push 0x4c6f34
push dword [ebp - 0x2d0]
lea eax, [ebp - 0x70]
push eax
call fcn.004066b2
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 1
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040675d
add esp, 0x18
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.0040a301
test byte [ebp - 0x2c0], 0x10
je 0x4453d8
lea eax, [ebp - 0x294]
push 0x4c6f10
push eax
call fcn.00470270
pop ecx
pop ecx
test eax, eax
je 0x4453d8
lea eax, [ebp - 0x294]
push 0x4c6f0c
push eax
call fcn.00470270
pop ecx
pop ecx
test eax, eax
je 0x4453d8
lea ecx, [ebp - 0x40]
call fcn.0040a2c4
push eax
lea ecx, [ebp - 0x28]
call fcn.004097aa
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00444f5c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.0040a301
lea ecx, [ebp - 0x40]
call fcn.0040a2c4
push eax
lea ecx, [ebp - 0x28]
call fcn.004097aa
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.0040a2c4
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4453ce
push 4
lea ecx, [ebp - 0x28]
call fcn.0040a2c4
xor edx, edx
mov ecx, eax
call fcn.0044a3f1
lea ecx, [ebp - 0x28]
call fcn.0040a301
jmp 0x4453e0
lea ecx, [ebp - 0x40]
call fcn.00444aa7
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.0040a301
lea edx, [ebp - 0x2c0]
mov ecx, edi
call fcn.0044a3a6
mov esi, dword [ebp - 0x2c8]
test eax, eax
jne 0x445297
mov ecx, edi
call fcn.0044a3cb
lea ecx, [ebp - 0x58]
call fcn.0040a301
call fcn.0045ed73
ret
Function at 0x44541c
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x614
mov eax, dword [0x4df06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov edx, 0x100
lea eax, [ebp - 0x20c]
push edx
push eax
push edx
lea eax, [ebp - 0x40c]
xor esi, esi
push eax
push edx
lea eax, [ebp - 0x60c]
push eax
push 3
lea eax, [ebp - 0xc]
push eax
call fcn.0040a2c4
push eax
call fcn.0046768b
add esp, 0x24
test eax, eax
jne 0x44549e
push esi
push esi
lea eax, [ebp - 0x610]
mov dword [ebp - 0x614], esi
push eax
lea eax, [ebp - 0x614]
mov dword [ebp - 0x610], esi
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x44549e
mov esi, dword [ebp - 0x610]
imul esi, dword [ebp - 0x614]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0045e3e7
mov esp, ebp
pop ebp
ret

Function at 0x4454af
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4df06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
lea eax, [ebp - 0xc]
push esi
push esi
push esi
push esi
push esi
push esi
push 3
push eax
call fcn.0040a2c4
push eax
call fcn.0046768b
add esp, 0x24
test eax, eax
jne 0x44550d
push esi
push esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x44550d
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.004a8650
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x4cbaec]
jmp 0x445510
xorps xmm0, xmm0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0045e3e7
mov esp, ebp
pop ebp
ret

Function at 0x44551f
Capabilities:
Get disk information

Disassembly:
push 0x1c
mov eax, 0x4a96d3
call fcn.0045edc9
mov esi, ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.004097aa
xor ebx, ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
call fcn.00404507
test al, al
jne 0x44557d
lea ecx, [ebp - 0x28]
call fcn.00404530
push 0x5c
pop ecx
cmp word [esi + eax*2 - 2], cx
je 0x445562
push ecx
lea ecx, [ebp - 0x28]
call fcn.00421142
lea ecx, [ebp - 0x28]
call fcn.0040a2c4
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x44557b
cmp eax, 2
jne 0x44557d
mov bl, 1
lea ecx, [ebp - 0x28]
call fcn.0040a301
mov al, bl
call fcn.0045ed73
ret
Function at 0x445a5b
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [0x4e81b0]
push edi
test eax, eax
je 0x445a82
xor ebx, ebx
cmp dword [esi + 4], ebx
jne 0x445a7d
mov dword [esi + 4], eax
mov byte [esi + 8], bl
mov edi, dword [ebp + 0x10]
jmp 0x445ad9
mov ecx, dword [ebp + 8]
lea edi, [esi + 0x10]
push 3
push 1
push SysReAllocString
call fcn.0040a2c4
push eax
mov ecx, edi
call fcn.004065de
test al, al
jne 0x445aa9
xor al, al
jmp 0x445b34
push ecx
push dword [edi]
mov ecx, esi
call fcn.0044cd76
test al, al
je 0x445aa2
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.00407690
test al, al
je 0x445ad6
lea eax, [ebp - 8]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov edi, dword [ebp - 8]
cmp dword [esi + 4], 0
jne 0x445ae3
mov eax, ebx
jmp 0x445af1
push ebx
push ebx
push ebx
push 4
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0xc], eax
test eax, eax
je 0x445aa2
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + eax + 0x98], ebx
je 0x445b0b
mov ebx, dword [ecx + eax + 0x9c]
sub eax, ebx
add eax, 0xfffffd50
push 0x2b0
add eax, edi
push eax
push 0x4e7f00
call fcn.00460360
add esp, 0xc
cmp dword [0x4e7f00], 0x19860403
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x44640a
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x45c
mov eax, 0x4ad380
call fcn.0045edc9
push 4
pop eax
mov dword [ebp - 0x468], eax
xor ebx, ebx
mov dword [ebp - 0x464], eax
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x460]
mov dword [ebp - 0x460], ebx
push eax
lea eax, [ebp - 0x468]
push eax
push str.InstallException
push 0x4c9be0
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x446471
cmp dword [ebp - 0x460], 0xff
jne 0x446471
mov byte [0x64], 0x64
mov eax, dword [0x4e8a44]
cmp eax, dword [0x4e8a48]
je 0x446547
call fcn.004463af
mov esi, eax
call fcn.004463ce
mov edi, eax
cmp esi, 1
je 0x446534
cmp esi, 2
je 0x446534
cmp esi, 3
je 0x446534
lea ecx, [ebp - 0x45c]
call fcn.00408fc1
push 0x4ca110
lea eax, [ebp - 0x45c]
mov dword [ebp - 4], ebx
push 0x4ca194
push eax
call fcn.00408f55
pop ecx
pop ecx
push eax
call fcn.00408f55
push 0xa
mov esi, eax
lea eax, [ebp - 0x50]
push 0x20
push eax
push edi
call fcn.0046476b
add esp, 0x18
lea eax, [ebp - 0x50]
push 0x4ca11c
push eax
push esi
call fcn.00408f55
pop ecx
pop ecx
push eax
call fcn.00408f55
pop ecx
pop ecx
push 0x30
push 0x4ca0f4
lea ecx, [ebp - 0x45c]
call fcn.0040a274
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, 0x4ca120
call fcn.004484cd
lea ecx, [ebp - 0x45c]
call fcn.00408f9c
jmp 0x446547
push 0x30
push 0x4ca0f4
push 0x4ca0c4
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
call fcn.0045ed73
ret