joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a5ed
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 8
mov eax, 0x4467ae
call fcn.0042f7d0
mov esi, ecx
call fcn.004157d6
push eax
lea ecx, [ebp - 0x10]
call fcn.00401347
and dword [ebp - 4], 0
call fcn.0041abf2
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x44]
push str.LICENSE
push 0xcd
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x40a68e
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40a68e
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x40a68e
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.0040126b
push dword [ebp - 0x14]
push edi
push dword [ebp - 0x14]
push eax
call fcn.0042b424
add esp, 0x10
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.004092e9
push dword [ebp - 0x10]
mov ecx, esi
push 0x402
call fcn.004144da
mov ecx, eax
call fcn.004145f0
push 0x80
lea ecx, [ebp - 0x10]
call fcn.00401f3f
push dword [ebp - 0x10]
mov ecx, esi
push 0x403
call fcn.004144da
mov ecx, eax
call fcn.004145f0
push 0x81
lea ecx, [ebp - 0x10]
call fcn.00401f3f
push dword [ebp - 0x10]
mov ecx, esi
push 0x443
call fcn.004144da
mov ecx, eax
call fcn.004145f0
push 0x82
lea ecx, [ebp - 0x10]
call fcn.00401f3f
push dword [ebp - 0x10]
mov edi, 0x441
push edi
mov ecx, esi
call fcn.004144da
mov ecx, eax
call fcn.004145f0
push 0x72
lea ecx, [ebp - 0x10]
call fcn.00401f3f
push dword [ebp - 0x10]
mov ecx, esi
push 1
call fcn.004144da
mov ecx, eax
call fcn.004145f0
push 0x77
lea ecx, [ebp - 0x10]
call fcn.00401f3f
mov ebx, dword [ebp - 0x10]
push ebx
push 2
mov ecx, esi
call fcn.004144da
mov ecx, eax
call fcn.004145f0
push 0
push 1
mov ecx, esi
call fcn.004144da
mov ecx, eax
call fcn.004146d4
call dword [sym.imp.DeskUpdateCore.dll_public:_static_class_CDeskUpdate____cdecl_CDeskUpdate::Instance_void_]
mov ecx, eax
call dword [sym.imp.DeskUpdateCore.dll_public:_bool___thiscall_CDeskUpdate::IsHELog_void_]
mov byte [esi + 0x74], al
test al, al
jne 0x40a76b
push 0
push edi
mov ecx, esi
call fcn.004144da
mov ecx, eax
call fcn.00414692
lea ecx, [ebx - 0x10]
call fcn.0040136f
xor eax, eax
inc eax
call fcn.0042f8a8
ret
Function at 0x40bae1
Capabilities:
Inspect load icon resource

Disassembly:
push 4
mov eax, 0x44696c
call fcn.0042f7d0
mov esi, dword [ebp + 8]
push 0
push 0xab
mov ecx, esi
call fcn.0040e339
and dword [ebp - 4], 0
lea ecx, [esi + 0x7c]
mov dword [esi], vtable.CUpdateDialog.0
call fcn.00401389
mov byte [ebp - 4], 1
mov byte [esi + 0x84], 1
call fcn.0041abf2
call fcn.0041abf2
mov eax, dword [eax + 0xc]
push 0xa4
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0xc
mov dword [esi + 0x74], eax
call fcn.0040e226
pop ecx
test eax, eax
je 0x40bb4f
and dword [eax + 8], 0
mov dword [eax], vtable.CDeskUpdate::TDeskUpdateMsgCallback_class_CUpdateDialog_.0
jmp 0x40bb51
xor eax, eax
mov dword [esi + 0x88], eax
push 8
mov dword [eax + 4], esi
mov dword [eax + 8], 0x40be6d
call fcn.0040e226
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 2
test ecx, ecx
je 0x40bb7e
call dword [sym.imp.DeskUpdateCore.dll_public:_void___thiscall_CUpdate::constructor_void_]
jmp 0x40bb80
xor eax, eax
mov dword [esi + 0x8c], eax
mov eax, esi
call fcn.0042f8a8
ret 4

Function at 0x40c605
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push dword [ebp + 8]
xor esi, esi
mov byte [ebp - 1], 0
mov dword [ebp - 8], esi
call fcn.0040c575
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x40c6e2
push ebx
push edi
lea ecx, [ebp - 8]
push ecx
push esi
lea ecx, [ebp - 0xc]
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, str.TraceFile
push edi
push eax
call esi
mov ebx, 0x104
test eax, eax
jne 0x40c6c6
mov eax, dword [ebp - 8]
inc eax
push 0x464118
push eax
call fcn.0042ce9d
pop ecx
pop ecx
mov dword [ebp + 8], eax
test eax, eax
je 0x40c6c6
lea ecx, [ebp - 8]
push ecx
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push edi
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x40c6b7
cmp dword [ebp - 0xc], 1
jne 0x40c6b7
push dword [ebp + 8]
call fcn.0042ceff
inc eax
pop ecx
cmp eax, ebx
jae 0x40c699
push dword [ebp + 8]
call fcn.0042ceff
pop ecx
inc eax
jmp 0x40c69b
mov eax, ebx
mov esi, dword [ebp + 0xc]
push eax
push dword [ebp + 8]
push ebx
push esi
call fcn.0042b424
add esp, 0x10
mov byte [esi + 0x103], 0
mov byte [ebp - 1], 1
push dword [ebp + 8]
call fcn.0040e260
cmp byte [ebp - 1], 0
pop ecx
jne 0x40c6d7
push 0x44e464
push ebx
push dword [ebp + 0xc]
call fcn.0042ce35
add esp, 0xc
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
mov al, byte [ebp - 1]
pop esi
leave
ret 8
Function at 0x40c890
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x453294
push dword [esi + 0x14]
lea eax, [ebp - 4]
push eax
call fcn.0042d047
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x40c901
push edi
push dword [ebp - 4]
lea eax, [ebp - 8]
push 1
push 2
pop edi
push edi
push eax
mov dword [ebp - 8], 0xfeff
call fcn.0042d1fc
push dword [ebp - 4]
call fcn.0042d2f5
add esp, 0x14
cmp dword [esi + 0x20], 0
je 0x40c8de
mov dword [esi + 0x24], edi
cmp dword [esi + 0x28], 0
je 0x40c900
lea eax, [ebp - 0x10]
push eax
call fcn.0042c161
pop ecx
mov ecx, dword [esi + 0x28]
imul ecx, ecx, 0x3c
xor edi, edi
add ecx, eax
adc edi, edx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], edi
pop edi
leave
ret
Function at 0x40cd07
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0x464118
mov esi, 0x104
push esi
call fcn.0042ce9d
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x40cd29
xor al, al
jmp 0x40cd61
push ebx
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
push esi
push edi
push esi
push dword [ebp + 0xc]
mov ebx, eax
lea eax, [ebp - 4]
push eax
call fcn.0042e79c
push edi
mov esi, eax
call fcn.0040e260
add esp, 0x18
test esi, esi
jne 0x40cd5e
test ebx, ebx
jbe 0x40cd5e
xor eax, eax
inc eax
jmp 0x40cd60
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret

Function at 0x40cf8d
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x460544]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x210], eax
mov esi, 0x104
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.0040cf16
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x108]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x40cff0
xor al, al
jmp 0x40d0a3
push 0x464118
push edi
call fcn.0042ce9d
pop ecx
pop ecx
mov dword [ebp - 0x20c], eax
cmp eax, ebx
je 0x40d095
push eax
push edi
push dword [ebp - 0x218]
lea eax, [ebp - 0x108]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x40d095
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x214]
push eax
push 0x453418
push dword [ebp - 0x20c]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40d095
push 0x34
push dword [ebp - 0x214]
push 0x34
push dword [ebp - 0x21c]
call fcn.0042b424
push 0x100
lea eax, [ebp - 0x208]
push eax
push esi
push dword [ebp - 0x210]
lea eax, [ebp - 0x108]
push ebx
push ebx
push ebx
push ebx
push eax
call fcn.0042e81d
lea eax, [ebp - 0x208]
push eax
push esi
push dword [ebp - 0x210]
call fcn.0042ea1c
add esp, 0x40
mov bl, 1
push dword [ebp - 0x20c]
call fcn.0040e260
pop ecx
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b12c
leave
ret 8

Function at 0x40e1be
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 2
lea ecx, [ebp - 1]
pop edx
mov esi, eax
call fcn.0040dde7
test al, al
je 0x40e203
push 4
push dword [ebp + 8]
push 4
push 0
push str.ProposeInstalled
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp byte [ebp - 1], 0
mov dword [esi + 0x18], eax
je 0x40e1f9
call fcn.0040de55
xor eax, eax
cmp dword [esi + 0x18], eax
sete al
jmp 0x40e205
xor al, al
pop esi
leave
ret 4
Function at 0x40ec1f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x40ec43
cmp dword [edi + 0x54], 0
jne 0x40ec43
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0041abf2
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0040ebe0
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4143fe
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x414445
call fcn.0041abf2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x414445
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x414461
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00413f78
mov esi, eax
test edi, edi
je 0x41445f
test ebx, ebx
je 0x41445f
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x414c51
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x446dca
call fcn.0042f7d0
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x414c76
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x414cbc
lea ecx, [ebp - 0x10]
call fcn.00401389
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00414468
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040136f
mov eax, esi
call fcn.0042f8a8
ret 8
Function at 0x417251
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x417299
call fcn.0041abf2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x417299
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4172dc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x4172c5
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4172c5
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4172d9
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x42b12c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x460544]
jne 0x42b136
repz ret
jmp fcn.00432a4f

Function at 0x43fcf5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0043463c
and dword [ebp - 4], 0
cmp dword [0x464bc0], 0
mov ebx, eax
jne 0x43fda6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43fe57
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x44d708
push edi
call esi
test eax, eax
je 0x43fe57
push eax
call fcn.004345ca
mov dword [esp], 0x44d6f8
push edi
mov dword [0x464bc0], eax
call esi
push eax
call fcn.004345ca
mov dword [esp], 0x44d6e4
push edi
mov dword [0x464bc4], eax
call esi
push eax
call fcn.004345ca
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x464bc8], eax
call esi
push eax
call fcn.004345ca
pop ecx
mov dword [0x464bd0], eax
test eax, eax
je 0x43fda6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004345ca
pop ecx
mov dword [0x464bcc], eax
mov eax, dword [0x464bcc]
cmp eax, ebx
je 0x43fdfe
cmp dword [0x464bd0], ebx
je 0x43fdfe
push eax
call fcn.00434645
push dword [0x464bd0]
mov esi, eax
call fcn.00434645
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43fdfe
test edi, edi
je 0x43fdfe
call esi
test eax, eax
je 0x43fdf5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43fdf5
test byte [ebp - 0xc], 1
jne 0x43fdfe
or dword [ebp + 0x10], 0x200000
jmp 0x43fe37
mov eax, dword [0x464bc4]
cmp eax, ebx
je 0x43fe37
push eax
call fcn.00434645
pop ecx
test eax, eax
je 0x43fe37
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43fe37
mov eax, dword [0x464bc8]
cmp eax, ebx
je 0x43fe37
push eax
call fcn.00434645
pop ecx
test eax, eax
je 0x43fe37
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x464bc0]
call fcn.00434645
pop ecx
test eax, eax
je 0x43fe57
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43fe59
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x49f7e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x49f805
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x49f878
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x49f83a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x49f86d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x49f86b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x49f831
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x49f7fc
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x40a280
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40a2db
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40a2db
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40a2c8
cmp esi, edx
jae 0x40a2db
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x40a2b6
cmp esi, edx
jae 0x40a2db
xor eax, eax
cmp word [esi], ax
pop edi
cmove esi, eax
mov eax, esi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x417760
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x693f30]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x20a
lea eax, [ebp - 0x218]
mov ebx, ecx
push 0
push eax
mov esi, edx
mov dword [ebp - 0x228], ebx
call fcn.005a49e0
add esp, 0xc
test esi, esi
je 0x4177b6
xor eax, eax
cmp ax, word [esi]
je 0x4177b6
push 0x104
push esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
jmp 0x4177ca
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0x63e93c
mov ecx, ebx
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
call fcn.0040f140
push 0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
jne 0x41781c
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005a1c7e
mov esp, ebp
pop ebp
ret
lea esi, [ebx + 1]
push esi
call fcn.005a2463
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.005a49e0
add esp, 0xc
lea eax, [ebp - 0x218]
push edi
push ebx
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4178a0
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0x63ff54
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4178a0
mov ecx, dword [ebp - 0x21c]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
push dword [ebp - 0x228]
call fcn.0040f520
add esp, 0x18
mov dword [ebp - 0x220], 1
push edi
call fcn.005a245e
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, dword [ebp - 0x220]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.005a1c7e
mov esp, ebp
pop ebp
ret
Function at 0x41abd0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x14]
lea edi, [esi + 0xc]
mov dword [esi + 4], 0
push edi
push 0
push esi
push 0x41ac20
push 0
push 0
mov dword [esi + 8], 0
mov dword [edi], 0
call fcn.005b66b6
add esp, 0x18
mov dword [esi + 8], eax
test eax, eax
jne 0x41ac11
mov dword [edi], eax
pop edi
pop esi
ret
pop edi
mov eax, 1
pop esi
ret
Function at 0x420f90
Capabilities:
Check if file exists
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d663d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x693f30]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x420fc9
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x421086
mov ecx, dword [esi + 0x10]
mov eax, accept
sub eax, ecx
cmp eax, 4
jb 0x4210a3
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x420ff5
mov eax, dword [esi]
push 4
push 0x678140
push ecx
push eax
push ecx
push dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
call fcn.0040a060
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
cmp dword [esi + 0x14], 8
jb 0x421024
mov esi, dword [esi]
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [edi]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [edi + 4]
push dword [eax]
call fcn.00420be0
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x421086
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42107c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4210a8
push ecx
push edx
call fcn.005a242d
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005a1c7e
mov esp, ebp
pop ebp
ret 4
call fcn.004033f0
call fcn.005a7b3f
int3
Function at 0x422c40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6a1d
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x693f30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 8], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0xf
mov byte [edi + 8], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0xf
mov byte [edi + 0x20], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0xf
mov byte [edi + 0x40], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0xf
mov byte [edi + 0x58], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x80], 0
lea ecx, [edi + 0x98]
mov dword [edi + 0x84], 0xf
mov byte [edi + 0x70], 0
mov byte [edi + 0x88], 0
call fcn.00422e10
mov dword [edi + 0x124], 0
mov dword [edi + 0x134], 0
mov dword [edi + 0x138], 0xf
mov byte [edi + 0x124], 0
mov dword [edi + 0x13c], 0
mov dword [edi + 0x14c], 0
mov dword [edi + 0x150], 0xf
mov dword [edi + 0x154], 0
mov dword [edi + 0x164], 0
mov dword [edi + 0x168], 0xf
mov byte [edi + 0x154], 0
mov dword [edi + 0x16c], 0
mov dword [edi + 0x17c], 0
mov dword [edi + 0x180], 0xf
lea esi, [edi + 0x188]
mov dword [ebp - 4], 9
push 0x40
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005a2092
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x28], 0
mov eax, edi
mov dword [esi + 0x2c], 0xf
mov byte [esi + 0x18], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x427f00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d7210
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x693f30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.005a2092
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.005a03bc
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450350
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x693f30]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x22c], 0
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.005a49e0
add esp, 0xc
mov dword [ebp - 0x228], 0
lea ecx, [ebp - 0x228]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x4503ad
cmp dword [ebp - 0x228], 0
jne 0x4503c9
mov ecx, dword [ebp + 8]
call fcn.00405880
mov eax, dword [ebp - 0x22c]
or eax, 1
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 8]
jmp 0x450444
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4503ef
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x230], eax
jmp 0x4503f9
mov dword [ebp - 0x230], 0x637ce8
mov ecx, dword [ebp - 0x230]
push ecx
lea ecx, [ebp - 0x224]
call fcn.00409eb0
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 0x224]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040ebc0
mov ecx, dword [ebp - 0x22c]
or ecx, 1
mov dword [ebp - 0x22c], ecx
lea ecx, [ebp - 0x224]
call fcn.004040f0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005a1c7e
mov esp, ebp
pop ebp
ret