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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511d7d
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.0048c0d0
add esp, 0xc
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0044c0a0
push eax
call fcn.004ca4a0
add esp, 4
test eax, eax
jne 0x4d7c5a
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test esi, esi
jle 0x4d7c5a
push 0x3e8
call edi
dec esi
test esi, esi
jg 0x4d7c45
push 0x5236ac
push 0x550bb8
call fcn.0048d900
add esp, 8
lea ecx, [ebp - 0x10]
call fcn.0044c0a0
push eax
call ebx
test eax, eax
je 0x4d7c45
push 0
push 0
push 0
push str._regrun
lea ecx, [ebp - 0x10]
call fcn.0044c0a0
push eax
call fcn.004cabc0
add esp, 0x14
lea ecx, [ebp - 0x10]
call fcn.0044c0a0
push eax
call fcn.004ca4a0
add esp, 4
test eax, eax
je 0x4d7bf8
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 0x4d7e10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516cc6
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.004982c0
push 0
lea ecx, [ebp - 0x43c]
mov dword [ebp - 4], 0
call fcn.00498340
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor esi, esi
nop
lea ecx, [ebp - 0x440]
call fcn.0047d240
push 0
push esi
push 0x106
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 1
call fcn.004d15e0
push eax
push 0
call ebx
push 0xffffffffffffffff
lea ecx, [ebp - 0x440]
mov edi, eax
call fcn.0047d270
test edi, edi
je 0x4d7f16
lea ecx, [ebp - 0x444]
call fcn.0047d240
push esi
push str.defSpecialFolderPath_Cache_
lea eax, [ebp - 0x444]
mov byte [ebp - 4], 2
push str._s_d
push eax
call fcn.0048d020
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.00498510
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 0x4d7e70
lea eax, [ebp - 0x448]
push eax
push 0
push 0
push str.NewVersionAvailable
lea ecx, [ebp - 0x43c]
call fcn.00498510
lea eax, [ebp - 0x448]
push eax
push 0
push 0
push str.UpdateVersion
lea ecx, [ebp - 0x43c]
call fcn.00498510
lea ecx, [ebp - 0x43c]
call fcn.00498320
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.004de0fd
mov esp, ebp
pop ebp
ret

Function at 0x4d8630
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516d6a
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.004b7840
lea ecx, [esi + 0x50]
mov dword [ebp - 4], 0
call fcn.0047d240
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.004de0ba
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4d86cc
mov ecx, eax
call fcn.004a7110
jmp 0x4d86ce
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 0x4d8b20
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.004d8c20
test eax, eax
je 0x4d8bdd
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 0x4d8ba4
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.0048d5c0
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 0x4d8bef
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.0048d5c0
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 0x4d8c11
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 0x4d8bd0
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
Function at 0x4d8f10
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516ead
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.0047d240
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call fcn.0047d240
mov edi, dword [ebp + 8]
xor ebx, ebx
push edi
push str.GetPacketData__d
push 0x550bb8
mov byte [ebp - 4], 1
call fcn.0048d5c0
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
add esp, 0xc
push eax
push edi
call fcn.004d9930
push eax
push str.GetPacketData_return:_d
push 0x550bb8
mov dword [ebp + 8], eax
call fcn.0048d5c0
add esp, 0xc
cmp dword [ebp + 8], ebx
je 0x4d90c8
mov ecx, dword [ebp - 0x10]
push edi
call fcn.004d9780
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x4d90c8
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp + 0xc]
push dword [ebp - 0x18]
push dword [ebp + 8]
call fcn.004a79d0
mov ecx, edi
call fcn.004a9150
mov ecx, edi
call fcn.004aa3a0
mov ecx, edi
call fcn.004d9800
mov esi, eax
lea eax, [ebp + 0x10]
push eax
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.004aac40
lea eax, [ebp + 0xc]
mov ecx, esi
push eax
call fcn.004aad60
push eax
lea ecx, [ebp + 0x10]
call fcn.004a7520
test al, al
je 0x4d90bc
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea ecx, [ebp + 0x10]
call fcn.004a75a0
mov esi, dword [eax]
mov ecx, esi
call fcn.0047c4b0
test eax, eax
je 0x4d9097
lea eax, [ebp + 8]
mov ecx, esi
push eax
inc ebx
call fcn.004a86e0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.0048d3f0
test al, al
jne 0x4d908b
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push str._s.bad
push eax
call fcn.0048d020
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.004e7727
add esp, 8
test eax, eax
je 0x4d9085
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call edi
jmp 0x4d908b
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.004a7600
mov ecx, dword [ebp - 0x18]
lea eax, [ebp + 0xc]
push eax
call fcn.004aad60
push eax
lea ecx, [ebp + 0x10]
call fcn.004a7520
test al, al
jne 0x4d9010
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.004daee0
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 0x4d9810
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 0x4d9919
push esi
push edi
call fcn.004db9e0
mov esi, eax
add esp, 4
test esi, esi
je 0x4d9918
push esi
push edi
push 0
mov ecx, ebx
call fcn.0044c0a0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4d990f
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], 0x104
push eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x108], 0
push eax
push 0x536960
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4d990f
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.004dfec0
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.0048e2f0
mov ecx, dword [ebp - 0x114]
lea eax, [ebp - 0x104]
add esp, 0x28
push eax
call fcn.0044f4c0
push esi
call fcn.004de0f8
add esp, 4
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004de0fd
mov esp, ebp
pop ebp
ret 8
Function at 0x4da050
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5170a1
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.0048c0d0
push str.vcrt_x64.7z
push eax
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 0
push eax
call fcn.0048c0d0
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.0048c0d0
push 0x20a
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.004dfec0
add esp, 0x18
lea eax, [ebp - 0x21c]
push 0
push 0x25
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x5252c0
push 0x550bb8
call fcn.0048d900
add esp, 8
lea eax, [ebp - 0x220]
mov ecx, edi
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004db180
test eax, eax
jne 0x4da155
push dword [ebp - 0x224]
push 0x52498c
push 0x550bb8
call fcn.0048d900
add esp, 0xc
xor esi, esi
jmp 0x4da1f3
push 0
call fcn.004891a0
add esp, 4
test eax, eax
je 0x4da1ca
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x220]
push 0x525310
push 0x550bb8
call fcn.0048d900
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.004daa10
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 3
call fcn.0044c080
push 1
call fcn.004891a0
add esp, 4
jmp 0x4da1dc
push 0x525374
push 0x550bb8
call fcn.0048d900
add esp, 8
push str._vc_runtime__MsiInstallProduct_vc_runtimeMinimum_x64
push 0x550bb8
call fcn.0048d900
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.004de0fd
mov esp, ebp
pop ebp
ret 8
Function at 0x4da230
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517117
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.0048c0d0
push str.vcrt_x86.7z
push eax
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
call fcn.0048c0d0
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.004dfec0
add esp, 0xc
lea eax, [ebp - 0x21c]
cmp dword [ebp + 8], 0
push 0
je 0x4da2d4
push 0x29
jmp 0x4da2d6
push 0x25
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x5250d0
push 0x550bb8
call fcn.0048d900
push str.libraryWin_msvc2015x86System
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.0048c0d0
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 0x4da385
push dword [ebp - 0x220]
push 0x525120
push 0x550bb8
call fcn.0048d900
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.004daa10
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 4
mov esi, eax
call fcn.0044c080
test esi, esi
jne 0x4da3ea
jmp 0x4da39c
push 0
lea eax, [ebp - 0x228]
mov ecx, edi
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.004daa10
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.004daa10
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 4
call fcn.0044c080
push str._vc_runtime__64
push 0x550bb8
call fcn.0048d900
add esp, 8
push str._vc_runtime__MsiInstallProduct_vc_runtimeMinimum_x86
push 0x550bb8
call fcn.0048d900
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.004de0fd
mov esp, ebp
pop ebp
ret 8
Function at 0x4da440
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51718c
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 0x4da47c
xor eax, eax
jmp 0x4da694
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x224]
call fcn.0047d240
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.004dfec0
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.004d9a60
test eax, eax
je 0x4da515
push dword [ebp - 0x220]
push str._vc_runtime__Software_WOW6432Node_..._Uninstall_
jmp 0x4da577
lea eax, [ebp - 0x224]
mov ecx, edi
push eax
lea eax, [ebp - 0x220]
push eax
push 0x20119
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004d9a60
test eax, eax
je 0x4da545
push dword [ebp - 0x220]
push str._vc_runtime__Software_..._Uninstall_
jmp 0x4da577
lea eax, [ebp - 0x224]
mov ecx, edi
push eax
lea eax, [ebp - 0x220]
push eax
push 0x20019
push SysReAllocString
call fcn.004d9a60
push dword [ebp - 0x220]
test eax, eax
je 0x4da65d
push str._vc_runtime__HKEY_CURRENT_USER_Software_..._Uninstall_
push 0x550bb8
call fcn.0048d900
add esp, 0xc
lea ecx, [ebp - 0x230]
call fcn.0044c0a0
push eax
lea ecx, [ebp - 0x224]
call fcn.0048ca60
lea ecx, [ebp - 0x228]
mov esi, eax
call fcn.0047d240
push str._vcruntime140.dll
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 3
push 0x104
push eax
call fcn.004e8f91
push 0
call fcn.004891a0
add esp, 0x10
test eax, eax
je 0x4da64b
lea eax, [ebp - 0x21c]
push eax
call fcn.00485a70
add esp, 4
test eax, eax
je 0x4da63e
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.004d9810
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 3
call fcn.0044c080
push dword [ebp - 0x228]
lea eax, [ebp - 0x21c]
push eax
push 0x524f58
push 0x550bb8
call fcn.0048d900
add esp, 0x10
jmp 0x4da641
or esi, 0xffffffff
push 1
call fcn.004891a0
add esp, 4
not esi
lea ecx, [ebp - 0x228]
shr esi, 0x1f
call fcn.0044c080
jmp 0x4da671
push 0x524ef4
push 0x550bb8
call fcn.0048d900
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.004de0fd
mov esp, ebp
pop ebp
ret 4
Function at 0x4da6c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51718c
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.0047d240
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.004dfec0
add esp, 0xc
lea eax, [ebp - 0x21c]
cmp dword [ebp + 8], 0
mov esi, 0x20019
push 0
je 0x4da761
mov esi, 0x20219
push 0x29
jmp 0x4da763
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.004d9a60
test eax, eax
je 0x4da798
push dword [ebp - 0x220]
push str._vc_runtime__Software__WOW64332Node_..._Uninstall_
jmp 0x4da7ca
lea eax, [ebp - 0x224]
mov ecx, edi
push eax
lea eax, [ebp - 0x220]
push eax
push 0x20019
push SysReAllocString
call fcn.004d9a60
push dword [ebp - 0x220]
test eax, eax
je 0x4da8a8
push str._vc_runtime__HKEY_CURRENT_USER_Software_..._Uninstall_
push 0x550bb8
call fcn.0048d900
add esp, 0xc
lea ecx, [ebp - 0x230]
call fcn.0044c0a0
push eax
lea ecx, [ebp - 0x224]
call fcn.0048ca60
lea ecx, [ebp - 0x228]
mov esi, eax
call fcn.0047d240
push str._vcruntime140.dll
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 3
push 0x104
push eax
call fcn.004e8f91
lea eax, [ebp - 0x21c]
push eax
call fcn.00485a70
add esp, 0x10
test eax, eax
je 0x4da893
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.004d9810
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 3
call fcn.0044c080
push dword [ebp - 0x228]
lea eax, [ebp - 0x21c]
push eax
push 0x524f58
push 0x550bb8
call fcn.0048d900
add esp, 0x10
lea ecx, [ebp - 0x228]
not esi
shr esi, 0x1f
call fcn.0044c080
jmp 0x4da8bc
or esi, 0xffffffff
lea ecx, [ebp - 0x228]
not esi
shr esi, 0x1f
call fcn.0044c080
jmp 0x4da8bc
push 0x524ef4
push 0x550bb8
call fcn.0048d900
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.004de0fd
mov esp, ebp
pop ebp
ret 4
Function at 0x4da900
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 0x525bb0
mov dword [ebp - 4], edi
push dword [ebx + 0x2c]
call fcn.004de5dd
add esp, 8
mov dword [ebx + 0x28], eax
test eax, eax
jne 0x4da961
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.0048d5c0
add esp, 0xc
xor edi, edi
jmp 0x4da9ee
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 0x4da9e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ReadFile_new_error:_d
push 0x550bb8
call fcn.0048d5c0
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.004dae50
test eax, eax
jne 0x4da9e9
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.0048d5c0
add esp, 0xc
jmp 0x4da9ee
mov edi, 1
mov ecx, dword [ebx + 0x44]
cmp ecx, 0xffffffff
je 0x4daa04
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