joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d7ec0
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 0x4d7f8b
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 0x4d7f8b
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 0x4d7f99
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 4]
jb 0x4d7f99
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 0x4d7f6e
lea eax, [ebp - 0x20]
push eax
call edi
cmp dword [ebp - 0x1c], 0x12
je 0x4d7f99
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x4d7f50
push 4
push 0x4ff
push 0x64
push 0
push 0
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjectsEx]
cmp dword [ebx + 0xc], 0
je 0x4d7f00
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 0x4d7fb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51219d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x550144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ecx + 0x5c]
mov esi, 0xa
push str.QQPCTray.exe
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0048c050
add esp, 0xc
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0044c0a0
push eax
call fcn.004ca840
add esp, 4
test eax, eax
jne 0x4d807a
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test esi, esi
jle 0x4d807a
push 0x3e8
call edi
dec esi
test esi, esi
jg 0x4d8065
push 0x5238a4
push 0x550bb8
call fcn.0048d880
add esp, 8
lea ecx, [ebp - 0x10]
call fcn.0044c0a0
push eax
call ebx
test eax, eax
je 0x4d8065
push 0
push 0
push 0
push str._regrun
lea ecx, [ebp - 0x10]
call fcn.0044c0a0
push eax
call fcn.004caf60
add esp, 0x14
lea ecx, [ebp - 0x10]
call fcn.0044c0a0
push eax
call fcn.004ca840
add esp, 4
test eax, eax
je 0x4d8018
lea ecx, [ebp - 0x10]
call fcn.0044c080
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 0x4d8230
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5171f6
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x550144]
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.00498210
push 0
lea ecx, [ebp - 0x43c]
mov dword [ebp - 4], 0
call fcn.00498290
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor esi, esi
nop
lea ecx, [ebp - 0x440]
call fcn.0047d1f0
push 0
push esi
push 0x106
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 1
call fcn.004d1980
push eax
push 0
call ebx
push 0xffffffffffffffff
lea ecx, [ebp - 0x440]
mov edi, eax
call fcn.0047d220
test edi, edi
je 0x4d8336
lea ecx, [ebp - 0x444]
call fcn.0047d1f0
push esi
push str.defSpecialFolderPath_Cache_
lea eax, [ebp - 0x444]
mov byte [ebp - 4], 2
push str._s_d
push eax
call fcn.0048cfa0
add esp, 0x10
lea eax, [ebp - 0x448]
lea ecx, [ebp - 0x440]
push eax
call fcn.0044f760
add eax, eax
lea ecx, [ebp - 0x440]
push eax
call fcn.0044c0a0
push eax
lea ecx, [ebp - 0x444]
call fcn.0044c0a0
push eax
lea ecx, [ebp - 0x43c]
call fcn.00498460
lea ecx, [ebp - 0x444]
call fcn.0044c080
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 0
call fcn.0044c080
inc esi
cmp esi, 0x3d
jle 0x4d8290
lea eax, [ebp - 0x448]
push eax
push 0
push 0
push str.NewVersionAvailable
lea ecx, [ebp - 0x43c]
call fcn.00498460
lea eax, [ebp - 0x448]
push eax
push 0
push 0
push str.UpdateVersion
lea ecx, [ebp - 0x43c]
call fcn.00498460
lea ecx, [ebp - 0x43c]
call fcn.00498270
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.004de51d
mov esp, ebp
pop ebp
ret

Function at 0x4d8a50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51729a
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x550144]
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.004b7930
lea ecx, [esi + 0x50]
mov dword [ebp - 4], 0
call fcn.0047d1f0
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.004de4da
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4d8aec
mov ecx, eax
call fcn.004a7060
jmp 0x4d8aee
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 0x4d8f40
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.004d9040
test eax, eax
je 0x4d8ffd
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov ecx, esi
call fcn.0044c0a0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebx + 0x44], eax
cmp eax, 0xffffffff
jne 0x4d8fc4
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 0x550bb8
call fcn.0048d540
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 0x4d900f
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 0x550bb8
call fcn.0048d540
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, 0xb400000
jbe 0x4d9031
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 0x4d8ff0
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
Function at 0x4d9330
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5173dd
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x550144]
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.0047d1f0
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call fcn.0047d1f0
mov edi, dword [ebp + 8]
xor ebx, ebx
push edi
push str.GetPacketData__d
push 0x550bb8
mov byte [ebp - 4], 1
call fcn.0048d540
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
add esp, 0xc
push eax
push edi
call fcn.004d9d50
push eax
push str.GetPacketData_return:_d
push 0x550bb8
mov dword [ebp + 8], eax
call fcn.0048d540
add esp, 0xc
cmp dword [ebp + 8], ebx
je 0x4d94e8
mov ecx, dword [ebp - 0x10]
push edi
call fcn.004d9ba0
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x4d94e8
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp + 0xc]
push dword [ebp - 0x18]
push dword [ebp + 8]
call fcn.004a7920
mov ecx, edi
call fcn.004a90a0
mov ecx, edi
call fcn.004aa2e0
mov ecx, edi
call fcn.004d9c20
mov esi, eax
lea eax, [ebp + 0x10]
push eax
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.004aab80
lea eax, [ebp + 0xc]
mov ecx, esi
push eax
call fcn.004aaca0
push eax
lea ecx, [ebp + 0x10]
call fcn.004a7470
test al, al
je 0x4d94dc
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea ecx, [ebp + 0x10]
call fcn.004a74f0
mov esi, dword [eax]
mov ecx, esi
call fcn.0047c460
test eax, eax
je 0x4d94b7
lea eax, [ebp + 8]
mov ecx, esi
push eax
inc ebx
call fcn.004a8630
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.0048d370
test al, al
jne 0x4d94ab
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push str._s.bad
push eax
call fcn.0048cfa0
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.0044c0a0
mov esi, eax
push esi
call edi
lea ecx, [ebp + 8]
call fcn.0044c0a0
mov edi, eax
push esi
push edi
call fcn.004e7b47
add esp, 8
test eax, eax
je 0x4d94a5
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call edi
jmp 0x4d94ab
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0044c080
lea ecx, [ebp + 0x10]
call fcn.004a7550
mov ecx, dword [ebp - 0x18]
lea eax, [ebp + 0xc]
push eax
call fcn.004aaca0
push eax
lea ecx, [ebp + 0x10]
call fcn.004a7470
test al, al
jne 0x4d9430
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.004db300
lea ecx, [ebp - 0x14]
call fcn.0044c080
lea ecx, [ebp - 0x20]
call fcn.0044c080
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 0x4d9c30
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x550144]
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.0044c0a0
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x4d9d39
push esi
push edi
call fcn.004dbe00
mov esi, eax
add esp, 4
test esi, esi
je 0x4d9d38
push esi
push edi
push 0
mov ecx, ebx
call fcn.0044c0a0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4d9d2f
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], 0x104
push eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x108], 0
push eax
push 0x536b50
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4d9d2f
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.004e02e0
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.0048e270
mov ecx, dword [ebp - 0x114]
lea eax, [ebp - 0x104]
add esp, 0x28
push eax
call fcn.0044f4c0
push esi
call fcn.004de518
add esp, 4
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004de51d
mov esp, ebp
pop ebp
ret 8
Function at 0x4da470
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5175d1
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x550144]
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.0048c050
push str.vcrt_x64.7z
push eax
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 0
push eax
call fcn.0048c050
add esp, 0x18
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 2
call fcn.0044c080
push str.libraryWin_msvc2015x64System64
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.0048c050
push 0x20a
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.004e02e0
add esp, 0x18
lea eax, [ebp - 0x21c]
push 0
push 0x25
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x5254b0
push 0x550bb8
call fcn.0048d880
add esp, 8
lea eax, [ebp - 0x220]
mov ecx, edi
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004db5a0
test eax, eax
jne 0x4da575
push dword [ebp - 0x224]
push 0x524b7c
push 0x550bb8
call fcn.0048d880
add esp, 0xc
xor esi, esi
jmp 0x4da613
push 0
call fcn.00489130
add esp, 4
test eax, eax
je 0x4da5ea
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x220]
push 0x525500
push 0x550bb8
call fcn.0048d880
add esp, 0x10
lea eax, [ebp - 0x21c]
lea ecx, [ebp - 0x228]
push eax
call fcn.0044f140
push 1
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x220]
mov ecx, edi
push eax
call fcn.004dae30
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 3
call fcn.0044c080
push 1
call fcn.00489130
add esp, 4
jmp 0x4da5fc
push 0x525564
push 0x550bb8
call fcn.0048d880
add esp, 8
push str._vc_runtime__MsiInstallProduct_vc_runtimeMinimum_x64
push 0x550bb8
call fcn.0048d880
add esp, 8
mov esi, 1
lea ecx, [ebp - 0x220]
call fcn.0044c080
lea ecx, [ebp - 0x224]
call fcn.0044c080
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.004de51d
mov esp, ebp
pop ebp
ret 8
Function at 0x4da650
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517647
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x550144]
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.0048c050
push str.vcrt_x86.7z
push eax
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
call fcn.0048c050
add esp, 0x18
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 2
call fcn.0044c080
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004e02e0
add esp, 0xc
lea eax, [ebp - 0x21c]
cmp dword [ebp + 8], 0
push 0
je 0x4da6f4
push 0x29
jmp 0x4da6f6
push 0x25
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x5252c0
push 0x550bb8
call fcn.0048d880
push str.libraryWin_msvc2015x86System
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.0048c050
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.0044f760
test eax, eax
jne 0x4da7a5
push dword [ebp - 0x220]
push 0x525310
push 0x550bb8
call fcn.0048d880
add esp, 0xc
lea eax, [ebp - 0x21c]
lea ecx, [ebp - 0x224]
push eax
call fcn.0044f140
push 0
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x220]
mov ecx, edi
push eax
call fcn.004dae30
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 4
mov esi, eax
call fcn.0044c080
test esi, esi
jne 0x4da80a
jmp 0x4da7bc
push 0
lea eax, [ebp - 0x228]
mov ecx, edi
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.004dae30
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x224]
call fcn.0044f140
push 0
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x220]
mov ecx, edi
push eax
call fcn.004dae30
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 4
call fcn.0044c080
push str._vc_runtime__64
push 0x550bb8
call fcn.0048d880
add esp, 8
push str._vc_runtime__MsiInstallProduct_vc_runtimeMinimum_x86
push 0x550bb8
call fcn.0048d880
add esp, 8
lea ecx, [ebp - 0x228]
call fcn.0044c080
lea ecx, [ebp - 0x220]
call fcn.0044c080
lea ecx, [ebp - 0x230]
call fcn.0044c080
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.004de51d
mov esp, ebp
pop ebp
ret 8
Function at 0x4da860
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5176bc
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x550144]
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 0x4da89c
xor eax, eax
jmp 0x4daab4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x224]
call fcn.0047d1f0
push str.Microsoft_Visual_C_2015_Redistributable__x64_
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], 0
call fcn.0044f140
push str.14.0.24215.1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call fcn.0044f140
push 0x20a
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.004e02e0
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.004d9e80
test eax, eax
je 0x4da935
push dword [ebp - 0x220]
push str._vc_runtime__Software_WOW6432Node_..._Uninstall_
jmp 0x4da997
lea eax, [ebp - 0x224]
mov ecx, edi
push eax
lea eax, [ebp - 0x220]
push eax
push 0x20119
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004d9e80
test eax, eax
je 0x4da965
push dword [ebp - 0x220]
push str._vc_runtime__Software_..._Uninstall_
jmp 0x4da997
lea eax, [ebp - 0x224]
mov ecx, edi
push eax
lea eax, [ebp - 0x220]
push eax
push 0x20019
push SysReAllocString
call fcn.004d9e80
push dword [ebp - 0x220]
test eax, eax
je 0x4daa7d
push str._vc_runtime__HKEY_CURRENT_USER_Software_..._Uninstall_
push 0x550bb8
call fcn.0048d880
add esp, 0xc
lea ecx, [ebp - 0x230]
call fcn.0044c0a0
push eax
lea ecx, [ebp - 0x224]
call fcn.0048c9e0
lea ecx, [ebp - 0x228]
mov esi, eax
call fcn.0047d1f0
push str._vcruntime140.dll
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 3
push 0x104
push eax
call fcn.004e93b1
push 0
call fcn.00489130
add esp, 0x10
test eax, eax
je 0x4daa6b
lea eax, [ebp - 0x21c]
push eax
call fcn.00485a20
add esp, 4
test eax, eax
je 0x4daa5e
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x22c]
call fcn.0044f140
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x22c]
mov ecx, edi
push eax
call fcn.004d9c30
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 3
call fcn.0044c080
push dword [ebp - 0x228]
lea eax, [ebp - 0x21c]
push eax
push 0x525148
push 0x550bb8
call fcn.0048d880
add esp, 0x10
jmp 0x4daa61
or esi, 0xffffffff
push 1
call fcn.00489130
add esp, 4
not esi
lea ecx, [ebp - 0x228]
shr esi, 0x1f
call fcn.0044c080
jmp 0x4daa91
push 0x5250e4
push 0x550bb8
call fcn.0048d880
add esp, 0xc
xor esi, esi
lea ecx, [ebp - 0x230]
call fcn.0044c080
lea ecx, [ebp - 0x220]
call fcn.0044c080
lea ecx, [ebp - 0x224]
call fcn.0044c080
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.004de51d
mov esp, ebp
pop ebp
ret 4
Function at 0x4daae0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5176bc
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x550144]
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
lea ecx, [ebp - 0x224]
call fcn.0047d1f0
push str.Microsoft_Visual_C_2015_Redistributable__x86_
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], 0
call fcn.0044f140
push str.14.0.24215.1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call fcn.0044f140
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004e02e0
add esp, 0xc
lea eax, [ebp - 0x21c]
cmp dword [ebp + 8], 0
mov esi, 0x20019
push 0
je 0x4dab81
mov esi, 0x20219
push 0x29
jmp 0x4dab83
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 esi
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004d9e80
test eax, eax
je 0x4dabb8
push dword [ebp - 0x220]
push str._vc_runtime__Software__WOW64332Node_..._Uninstall_
jmp 0x4dabea
lea eax, [ebp - 0x224]
mov ecx, edi
push eax
lea eax, [ebp - 0x220]
push eax
push 0x20019
push SysReAllocString
call fcn.004d9e80
push dword [ebp - 0x220]
test eax, eax
je 0x4dacc8
push str._vc_runtime__HKEY_CURRENT_USER_Software_..._Uninstall_
push 0x550bb8
call fcn.0048d880
add esp, 0xc
lea ecx, [ebp - 0x230]
call fcn.0044c0a0
push eax
lea ecx, [ebp - 0x224]
call fcn.0048c9e0
lea ecx, [ebp - 0x228]
mov esi, eax
call fcn.0047d1f0
push str._vcruntime140.dll
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 3
push 0x104
push eax
call fcn.004e93b1
lea eax, [ebp - 0x21c]
push eax
call fcn.00485a20
add esp, 0x10
test eax, eax
je 0x4dacb3
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x22c]
call fcn.0044f140
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x22c]
mov ecx, edi
push eax
call fcn.004d9c30
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 3
call fcn.0044c080
push dword [ebp - 0x228]
lea eax, [ebp - 0x21c]
push eax
push 0x525148
push 0x550bb8
call fcn.0048d880
add esp, 0x10
lea ecx, [ebp - 0x228]
not esi
shr esi, 0x1f
call fcn.0044c080
jmp 0x4dacdc
or esi, 0xffffffff
lea ecx, [ebp - 0x228]
not esi
shr esi, 0x1f
call fcn.0044c080
jmp 0x4dacdc
push 0x5250e4
push 0x550bb8
call fcn.0048d880
add esp, 0xc
xor esi, esi
lea ecx, [ebp - 0x230]
call fcn.0044c080
lea ecx, [ebp - 0x220]
call fcn.0044c080
lea ecx, [ebp - 0x224]
call fcn.0044c080
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.004de51d
mov esp, ebp
pop ebp
ret 4
Function at 0x4dad20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
push 0x525da0
mov dword [ebp - 4], edi
push dword [ebx + 0x2c]
call fcn.004de9fd
add esp, 8
mov dword [ebx + 0x28], eax
test eax, eax
jne 0x4dad81
mov ecx, dword [ebx + 0x3c]
push 0x15
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [ebx + 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [eax]
call esi
mov ecx, dword [ebx + 0x3c]
push eax
push 0x74
call dword [edi + 0x20]
call esi
push eax
push str.m_pFileBuffer_new_error:_d
push 0x550bb8
call fcn.0048d540
add esp, 0xc
xor edi, edi
jmp 0x4dae0e
push 0
lea ecx, [ebp - 4]
push ecx
push dword [ebx + 0x2c]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4dae09
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ReadFile_new_error:_d
push 0x550bb8
call fcn.0048d540
add esp, 0xc
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebx + 0x2c]
mov ecx, ebx
push dword [ebx + 0x44]
push dword [ebx + 0x28]
call fcn.004db270
test eax, eax
jne 0x4dae09
mov ecx, dword [ebx + 0x3c]
push 0x1a
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [ebx + 0x3c]
mov esi, dword [eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 0x3c]
push eax
push 0x75
call dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ReadMem_error:_d
push 0x550bb8
call fcn.0048d540
add esp, 0xc
jmp 0x4dae0e
mov edi, 1
mov ecx, dword [ebx + 0x44]
cmp ecx, 0xffffffff
je 0x4dae24
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x44], 0xffffffff
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret