joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d8180
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517136
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.004d18d0
push eax
push 0
call ebx
push 0xffffffffffffffff
lea ecx, [ebp - 0x440]
mov edi, eax
call fcn.0047d220
test edi, edi
je 0x4d8286
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 0x4d81e0
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.004de46d
mov esp, ebp
pop ebp
ret

Function at 0x4d89a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5171da
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.004de42a
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4d8a3c
mov ecx, eax
call fcn.004a7060
jmp 0x4d8a3e
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 0x4d8e90
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.004d8f90
test eax, eax
je 0x4d8f4d
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 0x4d8f14
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 0x4d8f5f
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 0x4d8f81
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 0x4d8f40
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
Function at 0x4d9280
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51731d
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.004d9ca0
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 0x4d9438
mov ecx, dword [ebp - 0x10]
push edi
call fcn.004d9af0
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x4d9438
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.004d9b70
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 0x4d942c
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 0x4d9407
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 0x4d93fb
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.004e7a97
add esp, 8
test eax, eax
je 0x4d93f5
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call edi
jmp 0x4d93fb
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 0x4d9380
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.004db250
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 0x4d9b80
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 0x4d9c89
push esi
push edi
call fcn.004dbd50
mov esi, eax
add esp, 4
test esi, esi
je 0x4d9c88
push esi
push edi
push 0
mov ecx, ebx
call fcn.0044c0a0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4d9c7f
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], 0x104
push eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x108], 0
push eax
push 0x536ac0
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4d9c7f
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.004e0230
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.004de468
add esp, 4
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004de46d
mov esp, ebp
pop ebp
ret 8
Function at 0x4da3c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517511
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.004e0230
add esp, 0x18
lea eax, [ebp - 0x21c]
push 0
push 0x25
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x525420
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.004db4f0
test eax, eax
jne 0x4da4c5
push dword [ebp - 0x224]
push 0x524aec
push 0x550bb8
call fcn.0048d880
add esp, 0xc
xor esi, esi
jmp 0x4da563
push 0
call fcn.00489130
add esp, 4
test eax, eax
je 0x4da53a
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x220]
push 0x525470
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.004dad80
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 3
call fcn.0044c080
push 1
call fcn.00489130
add esp, 4
jmp 0x4da54c
push 0x5254d4
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.004de46d
mov esp, ebp
pop ebp
ret 8
Function at 0x4da5a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517587
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.004e0230
add esp, 0xc
lea eax, [ebp - 0x21c]
cmp dword [ebp + 8], 0
push 0
je 0x4da644
push 0x29
jmp 0x4da646
push 0x25
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x525230
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 0x4da6f5
push dword [ebp - 0x220]
push 0x525280
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.004dad80
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 4
mov esi, eax
call fcn.0044c080
test esi, esi
jne 0x4da75a
jmp 0x4da70c
push 0
lea eax, [ebp - 0x228]
mov ecx, edi
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.004dad80
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.004dad80
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.004de46d
mov esp, ebp
pop ebp
ret 8
Function at 0x4da7b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5175fc
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 0x4da7ec
xor eax, eax
jmp 0x4daa04
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.004e0230
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.004d9dd0
test eax, eax
je 0x4da885
push dword [ebp - 0x220]
push str._vc_runtime__Software_WOW6432Node_..._Uninstall_
jmp 0x4da8e7
lea eax, [ebp - 0x224]
mov ecx, edi
push eax
lea eax, [ebp - 0x220]
push eax
push 0x20119
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004d9dd0
test eax, eax
je 0x4da8b5
push dword [ebp - 0x220]
push str._vc_runtime__Software_..._Uninstall_
jmp 0x4da8e7
lea eax, [ebp - 0x224]
mov ecx, edi
push eax
lea eax, [ebp - 0x220]
push eax
push 0x20019
push SysReAllocString
call fcn.004d9dd0
push dword [ebp - 0x220]
test eax, eax
je 0x4da9cd
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.004e9301
push 0
call fcn.00489130
add esp, 0x10
test eax, eax
je 0x4da9bb
lea eax, [ebp - 0x21c]
push eax
call fcn.00485a20
add esp, 4
test eax, eax
je 0x4da9ae
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.004d9b80
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 3
call fcn.0044c080
push dword [ebp - 0x228]
lea eax, [ebp - 0x21c]
push eax
push 0x5250b8
push 0x550bb8
call fcn.0048d880
add esp, 0x10
jmp 0x4da9b1
or esi, 0xffffffff
push 1
call fcn.00489130
add esp, 4
not esi
lea ecx, [ebp - 0x228]
shr esi, 0x1f
call fcn.0044c080
jmp 0x4da9e1
push 0x525054
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.004de46d
mov esp, ebp
pop ebp
ret 4
Function at 0x4daa30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5175fc
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.004e0230
add esp, 0xc
lea eax, [ebp - 0x21c]
cmp dword [ebp + 8], 0
mov esi, 0x20019
push 0
je 0x4daad1
mov esi, 0x20219
push 0x29
jmp 0x4daad3
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.004d9dd0
test eax, eax
je 0x4dab08
push dword [ebp - 0x220]
push str._vc_runtime__Software__WOW64332Node_..._Uninstall_
jmp 0x4dab3a
lea eax, [ebp - 0x224]
mov ecx, edi
push eax
lea eax, [ebp - 0x220]
push eax
push 0x20019
push SysReAllocString
call fcn.004d9dd0
push dword [ebp - 0x220]
test eax, eax
je 0x4dac18
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.004e9301
lea eax, [ebp - 0x21c]
push eax
call fcn.00485a20
add esp, 0x10
test eax, eax
je 0x4dac03
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.004d9b80
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 3
call fcn.0044c080
push dword [ebp - 0x228]
lea eax, [ebp - 0x21c]
push eax
push 0x5250b8
push 0x550bb8
call fcn.0048d880
add esp, 0x10
lea ecx, [ebp - 0x228]
not esi
shr esi, 0x1f
call fcn.0044c080
jmp 0x4dac2c
or esi, 0xffffffff
lea ecx, [ebp - 0x228]
not esi
shr esi, 0x1f
call fcn.0044c080
jmp 0x4dac2c
push 0x525054
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.004de46d
mov esp, ebp
pop ebp
ret 4
Function at 0x4dac70
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 0x525d10
mov dword [ebp - 4], edi
push dword [ebx + 0x2c]
call fcn.004de94d
add esp, 8
mov dword [ebx + 0x28], eax
test eax, eax
jne 0x4dacd1
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 0x4dad5e
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 0x4dad59
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.004db1c0
test eax, eax
jne 0x4dad59
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 0x4dad5e
mov edi, 1
mov ecx, dword [ebx + 0x44]
cmp ecx, 0xffffffff
je 0x4dad74
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
Function at 0x4db1c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov dword [ebp - 4], 0
xor esi, esi
lea ecx, [ebx - 0x100000]
nop dword [eax]
mov eax, ebx
mov edi, 0x100000
sub eax, esi
cmp esi, ecx
push 0
cmovae edi, eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push edi
add eax, esi
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4db229
mov eax, dword [ebp - 4]
cmp eax, edi
jne 0x4db229
add esi, eax
lea ecx, [ebx - 0x100000]
cmp esi, ebx
jb 0x4db1e0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ReadMem_new_error:_d
push 0x550bb8
call fcn.0048d540
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc