joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d45e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51353d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.UpdateTrayIcon.exe
lea eax, [esi + 0x60]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0048bbf0
add esp, 0xc
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0044c020
push eax
lea ecx, [ebp - 0x28]
call fcn.0048cb60
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.0044c000
lea ecx, [ebp - 0x28]
call fcn.0044a620
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d473f
push str._t_QQPCTray.exe__c_1__p_1
lea ecx, [ebp - 0x2c]
call fcn.0044f000
cmp dword [ebp + 8], 0
mov byte [ebp - 4], 3
je 0x4d4692
push str.CheckRtp
push 0x54bba8
call fcn.0048d420
add esp, 8
lea ecx, [ebp - 0x2c]
push str.__CheckRtp_1
call fcn.0048c120
push str.__d__
lea ecx, [ebp - 0x2c]
call fcn.0048c120
lea eax, [esi + 0x58]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0048ddb0
push 0x5343d8
lea ecx, [ebp - 0x2c]
call fcn.0048c120
push dword [ebp - 0x2c]
push str.UpdateTrayIcon.exe__s
push 0x54bba8
call fcn.0048d420
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0xc
xor edi, edi
push str.QQPCTray.exe
inc edi
call fcn.00490b00
push edi
mov esi, eax
push esi
push str.check_qqpctray.exe_running:_d__d
push 0x54bba8
call fcn.0048d420
add esp, 0x14
test esi, esi
jne 0x4d4706
push 0x1e
call ebx
cmp edi, 0xa5
jl 0x4d46d5
push 0x1e
call ebx
lea ecx, [ebp - 0x2c]
call fcn.0044c020
cmp dword [ebp + 0xc], 0
lea ecx, [ebp - 0x28]
push 0
push 0
je 0x4d4726
push 0x1b7740
jmp 0x4d4728
push 0
push eax
call fcn.0044a620
push eax
call fcn.004c9d90
add esp, 0x14
lea ecx, [ebp - 0x2c]
call fcn.0044c000
lea ecx, [ebp - 0x28]
call fcn.0044a630
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret 8
Function at 0x4d4b80
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5135d6
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [ebp + 8], 0
je 0x4d4d49
cmp dword [esi + 0x10c], 0
jne 0x4d4bf0
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x4d4bf0
push edi
push str.Setup.xml_supply_is__d.
push 0x54bba8
call fcn.0048d0e0
add esp, 0xc
mov dword [esi + 0x10c], edi
push edi
call fcn.00479dc0
mov ecx, eax
call fcn.0047c0c0
push str.C0F87C1E_7FD0_4b43_99BD_C6386C56F41E
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov edi, eax
test edi, edi
je 0x4d4d1d
push 4
push 0
push 0
push 4
push edi
mov dword [esi + 0x10c], 0x2714
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x4d4d16
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004dcc10
push 0xffffffffffffffff
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.004c6970
add esp, 0x18
lea eax, [ebp - 0x21c]
lea ecx, [ebp - 0x224]
push eax
call fcn.0044f000
push 0x51f5a0
push 0x535d04
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], 0
call fcn.0048be80
lea ecx, [ebp - 0x224]
call fcn.0044c020
push eax
lea ecx, [ebp - 0x230]
call fcn.004c6c10
lea ecx, [ebp - 0x220]
call fcn.0047d0b0
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 2
push eax
push 0x51f5a4
lea ecx, [ebp - 0x230]
call fcn.004c76d0
test eax, eax
je 0x4d4ce7
lea ecx, [ebp - 0x220]
call fcn.0044c020
push eax
call fcn.004e5c65
add esp, 4
mov dword [esi + 0x10c], eax
push eax
call fcn.00479dc0
mov ecx, eax
call fcn.0047c0c0
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea ecx, [ebp - 0x220]
call fcn.0044c000
lea ecx, [ebp - 0x230]
call fcn.004c6ef0
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], 0xffffffff
call fcn.0044c000
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x10c]
test eax, eax
je 0x4d4d52
push eax
push str.Write_the_NewSupplyID:__d
push 0x54bba8
call fcn.0048d0e0
add esp, 0xc
mov ecx, esi
push dword [esi + 0x10c]
call fcn.004d5b30
jmp 0x4d4d52
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10c], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret 8
Function at 0x4d5840
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 4
push 0x4ff
push 0x64
push 0
push 0
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjectsEx]
cmp dword [ebx + 0xc], 0
jne 0x4d590b
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageW]
nop dword [eax]
cmp dword [ebx + 0x10], 0
jne 0x4d590b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
imul eax, dword [ebp + 8], 0x3e8
sub ecx, dword [ebp - 4]
cmp ecx, eax
jae 0x4d5919
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 4]
jb 0x4d5919
push 1
push 0
push 0
xorps xmm0, xmm0
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 0x20]
movq qword [ebp - 0x10], xmm0
push eax
movups xmmword [ebp - 0x20], xmm0
call esi
test eax, eax
je 0x4d58ee
lea eax, [ebp - 0x20]
push eax
call edi
cmp dword [ebp - 0x1c], 0x12
je 0x4d5919
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x4d58d0
push 4
push 0x4ff
push 0x64
push 0
push 0
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjectsEx]
cmp dword [ebx + 0xc], 0
je 0x4d5880
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4d5930
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50eabd
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x54b144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ecx + 0x58]
mov esi, 0xa
push str.QQPCTray.exe
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0048bbf0
add esp, 0xc
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0044c020
push eax
call fcn.004c9670
add esp, 4
test eax, eax
jne 0x4d59fa
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test esi, esi
jle 0x4d59fa
push 0x3e8
call edi
dec esi
test esi, esi
jg 0x4d59e5
push 0x51fe5c
push 0x54bba8
call fcn.0048d420
add esp, 8
lea ecx, [ebp - 0x10]
call fcn.0044c020
push eax
call ebx
test eax, eax
je 0x4d59e5
push 0
push 0
push 0
push str._regrun
lea ecx, [ebp - 0x10]
call fcn.0044c020
push eax
call fcn.004c9d90
add esp, 0x14
lea ecx, [ebp - 0x10]
call fcn.0044c020
push eax
call fcn.004c9670
add esp, 4
test eax, eax
je 0x4d5998
lea ecx, [ebp - 0x10]
call fcn.0044c000
mov eax, 1
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 0x4d5bb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513726
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x43c]
mov dword [ebp - 0x448], 0
call fcn.00497e00
push 0
lea ecx, [ebp - 0x43c]
mov dword [ebp - 4], 0
call fcn.00497e80
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor esi, esi
nop
lea ecx, [ebp - 0x440]
call fcn.0047d0b0
push 0
push esi
push 0x106
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 1
call fcn.004cfca0
push eax
push 0
call ebx
push 0xffffffffffffffff
lea ecx, [ebp - 0x440]
mov edi, eax
call fcn.0047d0e0
test edi, edi
je 0x4d5cb6
lea ecx, [ebp - 0x444]
call fcn.0047d0b0
push esi
push str.defSpecialFolderPath_Cache_
lea eax, [ebp - 0x444]
mov byte [ebp - 4], 2
push str._s_d
push eax
call fcn.0048cb40
add esp, 0x10
lea eax, [ebp - 0x448]
lea ecx, [ebp - 0x440]
push eax
call fcn.0044f620
add eax, eax
lea ecx, [ebp - 0x440]
push eax
call fcn.0044c020
push eax
lea ecx, [ebp - 0x444]
call fcn.0044c020
push eax
lea ecx, [ebp - 0x43c]
call fcn.00498050
lea ecx, [ebp - 0x444]
call fcn.0044c000
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 0
call fcn.0044c000
inc esi
cmp esi, 0x3d
jle 0x4d5c10
lea eax, [ebp - 0x448]
push eax
push 0
push 0
push str.NewVersionAvailable
lea ecx, [ebp - 0x43c]
call fcn.00498050
lea eax, [ebp - 0x448]
push eax
push 0
push 0
push str.UpdateVersion
lea ecx, [ebp - 0x43c]
call fcn.00498050
lea ecx, [ebp - 0x43c]
call fcn.00497e60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret

Function at 0x4d61e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5137ca
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x54b144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x10]
call fcn.004b72e0
lea ecx, [esi + 0x50]
mov dword [ebp - 4], 0
call fcn.0047d0b0
push 0x34
mov byte [ebp - 4], 1
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x38], 0xffffffff
call fcn.004daf9a
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4d627c
mov ecx, eax
call fcn.004a6c50
jmp 0x4d627e
xor eax, eax
mov dword [esi + 0x40], eax
mov eax, esi
mov dword [esi], 0
mov dword [esi + 0x44], 0xffffffff
mov dword [esi + 0x3c], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x48], 1
mov dword [esi + 0x4c], 1
mov dword [esi + 8], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 2
mov dword [esi + 0x5c], 2
mov dword [esi + 0x60], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4d6420
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push esi
call fcn.004d6520
test eax, eax
je 0x4d64dd
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov ecx, esi
call fcn.0044c020
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebx + 0x44], eax
cmp eax, 0xffffffff
jne 0x4d64a4
mov eax, dword [ebx + 0x3c]
mov esi, dword [eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 0x3c]
push eax
push 0x6e
call dword [esi + 0x20]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LoadImageToMem_CreateFile_error:_d__path:_ws
push 0x54bba8
call fcn.0048d0e0
mov ecx, dword [ebx + 0x3c]
add esp, 0x10
mov edx, dword [ecx]
push 0x19
call dword [edx + 0x1c]
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebx + 0x2c], eax
cmp eax, 0x1400000
jae 0x4d64ef
mov eax, dword [ebx + 0x3c]
mov esi, dword [eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 0x3c]
push eax
push 0x6f
call dword [esi + 0x20]
push str.the_packet_is_too_small
push 0x54bba8
call fcn.0048d0e0
add esp, 8
mov ecx, dword [ebx + 0x3c]
push 0x19
mov edx, dword [ecx]
call dword [edx + 0x1c]
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4
cmp eax, 0x9600000
jbe 0x4d6511
mov eax, dword [ebx + 0x3c]
mov esi, dword [eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 0x3c]
push eax
push 0x70
call dword [esi + 0x20]
push str.the_packet_is_too_large
jmp 0x4d64d0
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
Function at 0x4d6810
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5138ad
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x54b144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
xor esi, esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
call fcn.0047d0b0
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call fcn.0047d0b0
mov edi, dword [ebp + 8]
xor ebx, ebx
push edi
push str.GetPacketData__d
push 0x54bba8
mov byte [ebp - 4], 1
call fcn.0048d0e0
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
add esp, 0xc
push eax
push edi
call fcn.004d7230
push eax
push str.GetPacketData_return:_d
push 0x54bba8
mov dword [ebp + 8], eax
call fcn.0048d0e0
add esp, 0xc
cmp dword [ebp + 8], ebx
je 0x4d69c8
mov ecx, dword [ebp - 0x10]
push edi
call fcn.004d7080
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x4d69c8
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp + 0xc]
push dword [ebp - 0x18]
push dword [ebp + 8]
call fcn.004a7510
mov ecx, edi
call fcn.004a8c90
mov ecx, edi
call fcn.004a9ed0
mov ecx, edi
call fcn.004d7100
mov esi, eax
lea eax, [ebp + 0x10]
push eax
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.004aa770
lea eax, [ebp + 0xc]
mov ecx, esi
push eax
call fcn.004aa890
push eax
lea ecx, [ebp + 0x10]
call fcn.004a7060
test al, al
je 0x4d69bc
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea ecx, [ebp + 0x10]
call fcn.004a70e0
mov esi, dword [eax]
mov ecx, esi
call fcn.0047c320
test eax, eax
je 0x4d6997
lea eax, [ebp + 8]
mov ecx, esi
push eax
inc ebx
call fcn.004a8220
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.0048cf10
test al, al
jne 0x4d698b
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push str._s.bad
push eax
call fcn.0048cb40
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.0044c020
mov esi, eax
push esi
call edi
lea ecx, [ebp + 8]
call fcn.0044c020
mov edi, eax
push esi
push edi
call fcn.004e4479
add esp, 8
test eax, eax
je 0x4d6985
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call edi
jmp 0x4d698b
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0044c000
lea ecx, [ebp + 0x10]
call fcn.004a7140
mov ecx, dword [ebp - 0x18]
lea eax, [ebp + 0xc]
push eax
call fcn.004aa890
push eax
lea ecx, [ebp + 0x10]
call fcn.004a7060
test al, al
jne 0x4d6910
xor eax, eax
test ebx, ebx
sete al
mov dword [ebp + 8], eax
mov esi, eax
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
call fcn.004d87d0
lea ecx, [ebp - 0x14]
call fcn.0044c000
lea ecx, [ebp - 0x20]
call fcn.0044c000
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4d7110
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x10c]
push edi
push eax
mov dword [ebp - 0x10c], 0
call fcn.0044c020
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x4d7219
push esi
push edi
call fcn.004dafd8
mov esi, eax
add esp, 4
test esi, esi
je 0x4d7218
push esi
push edi
push 0
mov ecx, ebx
call fcn.0044c020
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4d720f
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], 0x104
push eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x108], 0
push eax
push 0x5329c0
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4d720f
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.004dcc10
mov ecx, dword [ebp - 0x108]
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
lea eax, [ebp - 0x104]
push 0x80
push eax
call fcn.0048de10
mov ecx, dword [ebp - 0x114]
lea eax, [ebp - 0x104]
add esp, 0x28
push eax
call fcn.0044f380
push esi
call fcn.004dafe1
add esp, 4
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004dafe6
mov esp, ebp
pop ebp
ret 8
Function at 0x4d7940
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513aa1
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push str.libraryWin_msvc2015x64_
lea eax, [ebp - 0x22c]
mov dword [edi + 0x54], 2
push esi
push eax
call fcn.0048bbf0
push str.vcrt_x64.7z
push eax
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 0
push eax
call fcn.0048bbf0
add esp, 0x18
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 2
call fcn.0044c000
push str.libraryWin_msvc2015x64System64
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.0048bbf0
push 0x20a
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.004dcc10
add esp, 0x18
lea eax, [ebp - 0x21c]
push 0
push 0x25
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x5214a8
push 0x54bba8
call fcn.0048d420
add esp, 8
lea eax, [ebp - 0x220]
mov ecx, edi
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004d8a70
test eax, eax
jne 0x4d7a45
push dword [ebp - 0x224]
push 0x520b74
push 0x54bba8
call fcn.0048d420
add esp, 0xc
xor esi, esi
jmp 0x4d7ae3
push 0
call fcn.00488f40
add esp, 4
test eax, eax
je 0x4d7aba
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x220]
push 0x5214f8
push 0x54bba8
call fcn.0048d420
add esp, 0x10
lea eax, [ebp - 0x21c]
lea ecx, [ebp - 0x228]
push eax
call fcn.0044f000
push 1
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x220]
mov ecx, edi
push eax
call fcn.004d8300
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 3
call fcn.0044c000
push 1
call fcn.00488f40
add esp, 4
jmp 0x4d7acc
push 0x52155c
push 0x54bba8
call fcn.0048d420
add esp, 8
push str._vc_runtime__MsiInstallProduct_vc_runtimeMinimum_x64
push 0x54bba8
call fcn.0048d420
add esp, 8
mov esi, 1
lea ecx, [ebp - 0x220]
call fcn.0044c000
lea ecx, [ebp - 0x224]
call fcn.0044c000
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret 8
Function at 0x4d7b20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513b17
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push str.libraryWin_msvc2015x86_
lea eax, [ebp - 0x22c]
mov dword [edi + 0x54], 1
push esi
push eax
call fcn.0048bbf0
push str.vcrt_x86.7z
push eax
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
call fcn.0048bbf0
add esp, 0x18
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 2
call fcn.0044c000
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004dcc10
add esp, 0xc
lea eax, [ebp - 0x21c]
cmp dword [ebp + 8], 0
push 0
je 0x4d7bc4
push 0x29
jmp 0x4d7bc6
push 0x25
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x5212b8
push 0x54bba8
call fcn.0048d420
push 0x51b9a0
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.0048bbf0
add esp, 0x14
mov ecx, dword [edi + 0x3c]
lea edx, [ebp - 0x228]
push edx
mov byte [ebp - 4], 3
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 4
call fcn.0044f620
test eax, eax
jne 0x4d7c75
push dword [ebp - 0x220]
push 0x521308
push 0x54bba8
call fcn.0048d420
add esp, 0xc
lea eax, [ebp - 0x21c]
lea ecx, [ebp - 0x224]
push eax
call fcn.0044f000
push 0
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x220]
mov ecx, edi
push eax
call fcn.004d8300
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 4
mov esi, eax
call fcn.0044c000
test esi, esi
jne 0x4d7cda
jmp 0x4d7c8c
push 0
lea eax, [ebp - 0x228]
mov ecx, edi
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.004d8300
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x224]
call fcn.0044f000
push 0
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x220]
mov ecx, edi
push eax
call fcn.004d8300
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 4
call fcn.0044c000
push str._vc_runtime__64
push 0x54bba8
call fcn.0048d420
add esp, 8
push str._vc_runtime__MsiInstallProduct_vc_runtimeMinimum_x86
push 0x54bba8
call fcn.0048d420
add esp, 8
lea ecx, [ebp - 0x228]
call fcn.0044c000
lea ecx, [ebp - 0x220]
call fcn.0044c000
lea ecx, [ebp - 0x230]
call fcn.0044c000
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret 8
Function at 0x4d7d30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513b8c
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [ebp + 8], 0
jne 0x4d7d6c
xor eax, eax
jmp 0x4d7f84
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x224]
call fcn.0047d0b0
push str.Microsoft_Visual_C_2015_Redistributable__x64_
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], 0
call fcn.0044f000
push str.14.0.24215.1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call fcn.0044f000
push 0x20a
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.004dcc10
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 0x25
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x224]
mov ecx, edi
push eax
lea eax, [ebp - 0x220]
push eax
push 0x20219
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004d7360
test eax, eax
je 0x4d7e05
push dword [ebp - 0x220]
push str._vc_runtime__Software_WOW6432Node_..._Uninstall_
jmp 0x4d7e67
lea eax, [ebp - 0x224]
mov ecx, edi
push eax
lea eax, [ebp - 0x220]
push eax
push 0x20119
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004d7360
test eax, eax
je 0x4d7e35
push dword [ebp - 0x220]
push str._vc_runtime__Software_..._Uninstall_
jmp 0x4d7e67
lea eax, [ebp - 0x224]
mov ecx, edi
push eax
lea eax, [ebp - 0x220]
push eax
push 0x20019
push SysReAllocString
call fcn.004d7360
push dword [ebp - 0x220]
test eax, eax
je 0x4d7f4d
push str._vc_runtime__HKEY_CURRENT_USER_Software_..._Uninstall_
push 0x54bba8
call fcn.0048d420
add esp, 0xc
lea ecx, [ebp - 0x230]
call fcn.0044c020
push eax
lea ecx, [ebp - 0x224]
call fcn.0048c580
lea ecx, [ebp - 0x228]
mov esi, eax
call fcn.0047d0b0
push str._vcruntime140.dll
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 3
push 0x104
push eax
call fcn.004e5ce3
push 0
call fcn.00488f40
add esp, 0x10
test eax, eax
je 0x4d7f3b
lea eax, [ebp - 0x21c]
push eax
call fcn.00485810
add esp, 4
test eax, eax
je 0x4d7f2e
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x22c]
call fcn.0044f000
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x22c]
mov ecx, edi
push eax
call fcn.004d7110
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 3
call fcn.0044c000
push dword [ebp - 0x228]
lea eax, [ebp - 0x21c]
push eax
push 0x521140
push 0x54bba8
call fcn.0048d420
add esp, 0x10
jmp 0x4d7f31
or esi, 0xffffffff
push 1
call fcn.00488f40
add esp, 4
not esi
lea ecx, [ebp - 0x228]
shr esi, 0x1f
call fcn.0044c000
jmp 0x4d7f61
push 0x5210dc
push 0x54bba8
call fcn.0048d420
add esp, 0xc
xor esi, esi
lea ecx, [ebp - 0x230]
call fcn.0044c000
lea ecx, [ebp - 0x220]
call fcn.0044c000
lea ecx, [ebp - 0x224]
call fcn.0044c000
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret 4