joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4067b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x20], 0xffffffff
jne 0x4067f3
push str.LoadImageToMem_m_hFile_is_NUll
push 0x4e77f8
call fcn.00489600
add esp, 8
jmp 0x4068d7
push 0x4e62c4
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
call fcn.0049daf2
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x18]
cmp dword [edx + 4], 0
jne 0x40683f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.m_pFileBuffer_new_error:_d
push 0x4e77f8
call fcn.00489600
add esp, 0xc
jmp 0x4068d7
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4068d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ReadFile_new_error:_d
push 0x4e77f8
call fcn.00489600
add esp, 0xc
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x20]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00406700
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4068d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ReadMem_error:_d
push 0x4e77f8
call fcn.00489600
add esp, 0xc
jmp 0x4068d7
mov dword [ebp - 8], 1
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x20], 0xffffffff
je 0x4068f7
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x20], 0xffffffff
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x406ab0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bfe10
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4e2210]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.004057a0
mov byte [ebp - 4], 1
push str.TestMSVCR.exe
lea ecx, [ebp - 0x14]
call fcn.00403b80
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x14]
call fcn.004683f0
push eax
call fcn.00402240
add esp, 0x14
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp dword [ebp - 0x10], 0x64
jne 0x406b47
mov dword [ebp - 0x1c], 1
call fcn.00402580
test eax, eax
jne 0x406b6d
cmp dword [ebp - 0x1c], 0
je 0x406b6d
push 0x4cda3c
push 0x4e77f8
call fcn.00489600
add esp, 8
jmp 0x406c82
push 0x4cda50
push 0x4e77f8
call fcn.00489600
add esp, 8
lea ecx, [ebp + 8]
call fcn.004683f0
push eax
push 2
mov ecx, dword [ebp - 0x2c]
call fcn.00406410
push 0x4cda64
push 0x4e77f8
call fcn.00489600
add esp, 8
push str.InstAsm.exe
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.00403cf0
add esp, 0xc
mov byte [ebp - 4], 2
lea edx, [ebp + 8]
push edx
push 0x4cda98
lea eax, [ebp - 0x20]
push eax
call fcn.00406e00
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
push ecx
call fcn.00401e90
add esp, 4
push 0x4cda9c
lea ecx, [ebp - 0x20]
call fcn.00403b80
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x20]
call fcn.00406eb0
push 0x4cdaa4
lea ecx, [ebp - 0x20]
call fcn.00403b80
lea ecx, [ebp - 0x24]
call fcn.004683f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x406c6a
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
push 0x4cdac4
push 0x4e77f8
call fcn.00489600
add esp, 0x10
push 0
push 0
push 0xea60
lea ecx, [ebp - 0x20]
call fcn.004683f0
push eax
lea ecx, [ebp - 0x24]
call fcn.004683f0
push eax
call fcn.00402240
add esp, 0x14
push 0x4cdae4
push 0x4e77f8
call fcn.00489600
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.00417fc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00417fc0
mov dword [ebp - 0x28], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00417fc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00417fc0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4071e0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf253
mov eax, dword fs:[0]
push eax
sub esp, 0x678
mov eax, dword [0x4e2210]
xor eax, ebp
mov dword [ebp - 0x2c], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x407221
xor eax, eax
jmp 0x407425
lea esi, [ebp - 0x464]
call fcn.00488150
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
mov esi, 1
lea eax, [ebp - 0x464]
call fcn.00488210
test eax, eax
jl 0x4072cf
mov word [ebp - 0x674], 0
push 0x208
push 0
lea edx, [ebp - 0x672]
push edx
call fcn.0049d120
add esp, 0xc
push 0
push 0
mov edx, 0x104
lea ecx, [ebp - 0x674]
lea eax, [ebp - 0x464]
call fcn.004882e0
test eax, eax
jl 0x4072c4
lea eax, [ebp - 0x674]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4072c4
mov dword [ebp - 0x678], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x464]
call fcn.004881b0
mov eax, dword [ebp - 0x678]
jmp 0x407425
lea esi, [ebp - 0x464]
call fcn.00488680
call fcn.00489260
cmp eax, 6
jne 0x40736a
cmp dword [ebp + 0xc], 0x1505
jne 0x407311
push 0x4cd488
mov esi, 0x4e77f8
call fcn.004897f0
add esp, 4
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push str.startpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x407343
cmp dword [ebp + 0xc], 0x1506
jne 0x407343
push str.WIN7
mov esi, 0x4e77f8
call fcn.004897f0
add esp, 4
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push str.startunpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x67c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x464]
call fcn.004881b0
mov eax, dword [ebp - 0x67c]
jmp 0x407425
mov word [ebp - 0x23c], 0
push 0x208
push 0
lea eax, [ebp - 0x23a]
push eax
call fcn.0049d120
add esp, 0xc
lea ecx, [ebp - 0x28]
push ecx
call fcn.0048ab30
mov byte [ebp - 4], 1
push 0x104
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x23c]
call fcn.0048b0d0
test eax, eax
jge 0x4073e2
mov dword [ebp - 0x680], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0048ac00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x464]
call fcn.004881b0
mov eax, dword [ebp - 0x680]
jmp 0x407425
lea ecx, [ebp - 0x23c]
push ecx
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.0048ac80
xor edx, edx
test eax, eax
setge dl
mov dword [ebp - 0x684], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0048ac00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x464]
call fcn.004881b0
mov eax, dword [ebp - 0x684]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.0049d270
mov esp, ebp
pop ebp
ret
Function at 0x407740
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0a28
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4e2210]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
je 0x40777e
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x407782
xor eax, eax
jmp 0x4077e6
mov ecx, dword [ebp + 8]
push ecx
call fcn.00407480
add esp, 4
test eax, eax
je 0x4077e1
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x2c]
call fcn.004089f0
mov dword [ebp - 4], 0
lea esi, [ebp - 0x2c]
call fcn.0048a5f0
push 0x4cd64c
lea edi, [ebp - 0x2c]
call fcn.0048a8a0
lea eax, [ebp - 0x2c]
call fcn.0047db40
mov ecx, eax
call fcn.00401cb0
push eax
call fcn.00407440
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0042a190
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.0049d270
mov esp, ebp
pop ebp
ret
Function at 0x407bf0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0998
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4e2210]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
je 0x407c2e
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x407c35
xor eax, eax
jmp 0x407cb8
mov dword [ebp - 0x10], 0
jmp 0x407c47
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 3
jae 0x407cb3
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x30]
call fcn.004089f0
mov dword [ebp - 4], 0
lea esi, [ebp - 0x30]
call fcn.0048a5f0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax*4 + 0x4e3b94]
push ecx
lea edi, [ebp - 0x30]
call fcn.0048a8a0
lea ecx, [ebp - 0x30]
call fcn.0048aa10
movzx edx, al
test edx, edx
je 0x407ca2
lea eax, [ebp - 0x30]
call fcn.0047db40
mov ecx, eax
call fcn.00401cb0
push eax
call fcn.00407460
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0042a190
jmp 0x407c3e
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049d270
mov esp, ebp
pop ebp
ret
Function at 0x409800
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x858
mov eax, dword [0x4e2210]
xor eax, ebp
mov dword [ebp - 8], eax
mov word [ebp - 0x640], 0
push 0x208
push 0
lea eax, [ebp - 0x63e]
push eax
call fcn.0049d120
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x640]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov word [ebp - 0x858], 0
push 0x208
push 0
lea edx, [ebp - 0x856]
push edx
call fcn.0049d120
add esp, 0xc
mov word [ebp - 0x218], 0
push 0x208
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.0049d120
add esp, 0xc
mov word [ebp - 0x428], 0
push 0x208
push 0
lea ecx, [ebp - 0x426]
push ecx
call fcn.0049d120
add esp, 0xc
lea edx, [ebp - 0x428]
push edx
lea eax, [ebp - 0x858]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x640]
push edx
call fcn.00409310
add esp, 0x10
mov word [ebp - 0x644], 1
mov word [ebp - 4], 0
mov dword [ebp - 0x42c], 0
movzx eax, word [ebp - 0x858]
test eax, eax
je 0x409929
lea ecx, [ebp - 0x42c]
push ecx
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x644]
push eax
lea ecx, [ebp - 0x858]
push ecx
call fcn.004096f0
add esp, 0x10
test eax, eax
jne 0x409929
mov word [ebp - 0x644], 1
mov word [ebp - 4], 0
mov dword [ebp - 0x42c], 0
mov edx, dword [ebp + 8]
push edx
mov ecx, 0x4e74d8
call fcn.004058b0
push 0xffffffffffffffff
push 0
push 0x804
push 1
push 1
mov eax, dword [ebp - 0x42c]
push eax
mov cx, word [ebp - 4]
push ecx
mov dx, word [ebp - 0x644]
push edx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x640]
push eax
lea ecx, [ebp - 0x218]
push ecx
push 0x4cd41c
call fcn.00408b00
add esp, 0x30
push 0x4cd42c
push 0x2710
call fcn.00409220
add esp, 8
call fcn.004091b0
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0049d270
mov esp, ebp
pop ebp
ret

Function at 0x40c4a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x40c4bc
jmp 0x40c4ea
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40c4e3
jmp 0x40c4ea
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x40cd80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bfda8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4e2210]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
add eax, 0x30
push eax
lea ecx, [ebp - 0x10]
call fcn.004057a0
mov dword [ebp - 4], 0
push 0x4ca8b4
lea ecx, [ebp - 0x10]
call fcn.00403b80
push 0
push 0x4ca8c4
push 0x6a
lea ecx, [ebp - 0x10]
call fcn.004683f0
push eax
mov ecx, dword [ebp - 0x28]
call fcn.0040cb30
mov dword [ebp - 0x14], eax
push 0x4ca8d4
mov ecx, dword [ebp - 0x28]
add ecx, 0x30
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.00403cf0
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.004683f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x1c]
call fcn.00417fc0
cmp dword [ebp - 0x18], 0
je 0x40ce72
push str.Report_SetDrPath_begin...
push 0x4e77f8
call fcn.00489600
add esp, 8
push ecx
mov eax, esp
mov dword [ebp - 0x20], esp
push 0x4ca900
mov ecx, dword [ebp - 0x28]
add ecx, 0x30
push ecx
push eax
call fcn.00403cf0
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x78
call fcn.004723d0
push str.Report_SetDrPath_end...
push 0x4e77f8
call fcn.00489600
add esp, 8
jmp 0x40ce84
push str.Cant_Find_dr.dll_Cant_Load_Report_Instance
push 0x4e77f8
call fcn.00489600
add esp, 8
mov dword [ebp - 0x24], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00417fc0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x40da10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c16b8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4e2210]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 0x28]
cmp dword [edx + 0x14], 0
je 0x40da76
mov ecx, dword [ebp - 0x28]
call fcn.0040db80
cmp dword [ebp + 0xc], 0
je 0x40da74
mov dword [ebp - 0x14], 1
jmp 0x40da8b
call fcn.00428fa0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x28]
call fcn.004114f0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40db44
cmp dword [ebp - 0x14], 0
je 0x40db44
push 0x4cab14
mov ecx, dword [ebp - 0x28]
add ecx, 0x2c
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.00403cf0
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
call fcn.004683f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x1c]
call fcn.00417fc0
cmp dword [ebp - 0x18], 0
je 0x40db44
push str.Run_QQPCSoftMgr
push 0x4e77f8
call fcn.00489600
add esp, 8
push 0x4cab48
mov eax, dword [ebp - 0x28]
add eax, 0x2c
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.00403cf0
add esp, 0xc
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 2
push 0
push 1
push 0
push 0x4cab44
mov ecx, dword [ebp - 0x38]
call fcn.004683f0
push eax
call fcn.00402240
add esp, 0x14
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00417fc0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.00417fc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.00417fc0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40dc80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1650
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4e2210]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
push str.StartInstall
push 0x4e77f8
call fcn.00489600
add esp, 8
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0x30]
add ecx, 0x2c
call fcn.00405df0
movzx edx, al
test edx, edx
je 0x40dce8
jmp 0x40de3f
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x14], 0
je 0x40dde5
mov ecx, dword [ebp - 0x30]
add ecx, 0x2c
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004057a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0041ee90
test eax, eax
jg 0x40dd35
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00417fc0
mov eax, dword [ebp - 0x28]
jmp 0x40de42
push 3
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00405cc0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00405d40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00417fc0
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x30]
call fcn.00412b00
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
push 0
push 0x100000
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004b0770
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x28
jge 0x40ddd6
push 1
push 0x64
mov ecx, 0x4e7524
call fcn.00406f40
push 0
push 0
push 1
mov ecx, dword [ebp - 0x30]
call fcn.0040df40
push 0x4cabd0
push 0x4e77f8
call fcn.00489600
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00417fc0
jmp 0x40de3f
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00417fc0
mov ecx, dword [ebp - 0x30]
add ecx, 0x2c
call fcn.004683f0
push eax
call fcn.004619b0
mov ecx, eax
call fcn.00461270
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0x14], 0
je 0x40de10
mov ecx, dword [ebp - 0x30]
call fcn.0040f480
jmp 0x40de38
push 0
push 0
mov eax, dword [ebp - 0x30]
push eax
push 0x40ea10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0x28], 0
jne 0x40de38
jmp 0x40de3f
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x40e560
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bdf9b
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x4e2210]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x10], 0
push 0
push 0x23
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x238]
call fcn.00405580
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.00405560
movzx edx, al
test edx, edx
je 0x40e610
push 0x4cac6c
mov ecx, dword [ebp + 8]
call fcn.00405a00
mov eax, dword [ebp - 0x240]
or eax, 1
mov dword [ebp - 0x240], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.00401df0
mov eax, dword [ebp + 8]
jmp 0x40e6a4
lea ecx, [ebp - 0x238]
call fcn.00426b70
sub eax, 1
push eax
lea ecx, [ebp - 0x238]
call fcn.00403ec0
mov cx, word [eax]
mov word [ebp - 0x23c], cx
movzx edx, word [ebp - 0x23c]
cmp edx, 0x5c
je 0x40e65c
movzx eax, word [ebp - 0x23c]
cmp eax, 0x2f
je 0x40e65c
push 0x4cac70
lea ecx, [ebp - 0x238]
call fcn.00403e70
push 0x4cac74
lea ecx, [ebp - 0x238]
call fcn.00403e90
lea ecx, [ebp - 0x238]
call fcn.00401cb0
push eax
mov ecx, dword [ebp + 8]
call fcn.00405a00
mov ecx, dword [ebp - 0x240]
or ecx, 1
mov dword [ebp - 0x240], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.00401df0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049d270
mov esp, ebp
pop ebp
ret
Function at 0x40e6c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bfd76
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x4e2210]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x228], 0
mov word [ebp - 0x21c], 0
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.0049d120
add esp, 0xc
lea ecx, [ebp - 0x230]
call fcn.00417fe0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x21c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jne 0x40e75c
jmp 0x40e8a5
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x23c]
add ecx, 0x30
call fcn.004058b0
push 0x4caca8
mov ecx, dword [ebp - 0x23c]
add ecx, 0x30
call fcn.00403b80
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x22c]
push ecx
push str._x_
lea edx, [ebp - 0x230]
push edx
call fcn.00405770
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x23c]
add ecx, 0x30
call fcn.00406eb0
mov ecx, dword [ebp - 0x23c]
add ecx, 0x30
call fcn.004683f0
push eax
call fcn.004020d0
add esp, 4
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
jne 0x40e864
lea ecx, [ebp - 0x234]
push ecx
call fcn.0040e560
add esp, 4
mov dword [ebp - 0x240], eax
mov edx, dword [ebp - 0x240]
mov dword [ebp - 0x244], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x244]
push eax
mov ecx, dword [ebp - 0x23c]
add ecx, 0x30
call fcn.00405d40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.00417fc0
mov ecx, dword [ebp - 0x23c]
add ecx, 0x30
call fcn.004683f0
push eax
call fcn.004020d0
add esp, 4
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
jne 0x40e864
jmp 0x40e8a5
mov ecx, dword [ebp - 0x23c]
mov edx, dword [ecx + 0x30]
push edx
push str.temp_:__ws
push 0x4e77f8
call fcn.00489600
add esp, 0xc
mov ecx, dword [ebp - 0x23c]
add ecx, 0x30
call fcn.004683f0
push eax
call fcn.004619b0
mov ecx, eax
call fcn.004616c0
mov dword [ebp - 0x224], 1
cmp dword [ebp - 0x224], 0
jne 0x40e8bc
mov ecx, dword [ebp - 0x23c]
add ecx, 0x30
call fcn.00405c50
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x238], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00417fc0
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049d270
mov esp, ebp
pop ebp
ret