joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c2440
Capabilities:
Check if file exists
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581d08
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5c4104]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
or ebx, 0xffffffff
cmp dword [0x5c4cc4], ebx
jne 0x4c24d0
push ecx
mov edx, 0x5a2314
lea ecx, [ebp - 0x10]
call fcn.00435920
add esp, 4
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x10]
mov dword [0x5c4cc4], eax
add ecx, 0xfffffff0
mov eax, ebx
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4c24d0
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4c24cc
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4c24cc
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4c24d0
mov ecx, edx
call esi
cmp dword [0x5c4cc4], 1
mov edi, dword [ebp + 8]
jne 0x4c2576
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x4c24f5
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4c250a
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4c250c
call edx
add eax, 0x10
mov dword [ebp + 8], eax
push edi
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push str.ClientText:_s
push eax
call fcn.0041f560
mov esi, dword [ebp + 8]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4c2576
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4c2574
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4c2574
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4c2576
call edx
mov esi, dword [0x5c9fb0]
test esi, esi
je 0x4c2605
mov ebx, dword [0x5c9fb8]
test ebx, ebx
je 0x4c2605
cmp ebx, esi
je 0x4c2605
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4c25a0
mov ecx, edi
call fcn.004c3260
mov dword [ebp + 8], eax
lea ecx, [esi + 8]
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.004c3830
mov eax, dword [ebp + 0xc]
cmp eax, dword [esi + 8]
je 0x4c2605
mov ecx, dword [eax + 0x14]
mov dword [ebp + 0xc], ecx
mov eax, dword [ecx + 8]
test eax, eax
jne 0x4c25ee
push ecx
lea eax, [ebp + 8]
push eax
lea ecx, [ebx + 8]
call fcn.004c37e0
mov eax, dword [ebp + 8]
cmp eax, dword [ebx + 8]
je 0x4c2605
mov ecx, dword [ebp + 0xc]
lea esi, [eax + 0x14]
push esi
lea ecx, [ecx + 8]
call fcn.004c3980
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4d2570
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x5c4104]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov eax, dword [edi + 4]
cmp dword [eax + 0x10], 0
je 0x4d2598
call fcn.004d26c0
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4d25b7
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051b15a
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [edi + 4]
push esi
call fcn.004d2e50
test eax, eax
je 0x4d25a3
push esi
lea eax, [ebp - 0x20c]
push 0x5a4250
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
test esi, esi
je 0x4d261c
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4d261c
lea eax, [ebp - 0x224]
push eax
push 0
lea eax, [ebp - 0x214]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d2695
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x20c]
call fcn.004d2ca0
test eax, eax
je 0x4d2695
mov eax, dword [ebp - 0x210]
cmp eax, dword [ebp - 0x218]
jne 0x4d2695
mov eax, dword [ebp - 0x214]
cmp eax, dword [ebp - 0x21c]
jne 0x4d2695
mov eax, dword [ebp - 0x220]
cmp eax, dword [ebp - 0x228]
jne 0x4d2695
mov eax, dword [ebp - 0x224]
cmp eax, dword [ebp - 0x22c]
jne 0x4d2695
mov ecx, dword [edi + 8]
lea eax, [ebp - 0x20c]
push eax
call fcn.004d3590
test al, al
jne 0x4d26a5
mov eax, dword [edi + 4]
mov ecx, edi
push dword [eax + 0xc]
push dword [eax + 0x10]
call fcn.004d28b0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0051b15a
mov esp, ebp
pop ebp
ret 8

Function at 0x4d2760
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
jne 0x4d2771
mov dword [edi], ecx
pop edi
xor eax, eax
pop esi
ret
push 2
push 0
push esi
call fcn.00552daa
push esi
call fcn.005533e0
push 0
push 0
push esi
mov dword [edi], eax
call fcn.00552daa
mov eax, dword [edi]
add esp, 0x1c
test eax, eax
jle 0x4d276c
push ebx
push eax
call fcn.0053bd55
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4d27be
push esi
push 1
push dword [edi]
push ebx
call fcn.005535fb
push 0
push 0
push esi
call fcn.00552daa
add esp, 0x1c
mov eax, ebx
pop ebx
pop edi
pop esi
ret
Function at 0x4d2e50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4d2e74
cmp dword [esi + 4], 0
je 0x4d2e6d
push eax
call fcn.00529cc6
add esp, 4
mov dword [esi + 0x10], 0
push 0x5a2f68
push dword [ebp + 8]
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
call fcn.00552945
mov edi, eax
add esp, 8
test edi, edi
jne 0x4d2e9e
pop edi
pop esi
pop ebp
ret 4
push ebx
push 2
push 0
push edi
call fcn.00552daa
push edi
call fcn.005533e0
push 0
push 0
push edi
mov ebx, eax
call fcn.00552daa
add esp, 0x1c
test ebx, ebx
jle 0x4d2ede
push ebx
mov ecx, esi
call fcn.004d2f60
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4d2ede
push edi
push 1
push ebx
push eax
call fcn.005535fb
add esp, 0x10
push edi
call fcn.005537a2
add esp, 4
xor eax, eax
cmp dword [esi + 0x10], eax
setne al
pop ebx
pop edi
pop esi
pop ebp
ret 4

Function at 0x4d3590
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x582e26
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5c4104]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
mov eax, dword [ebx]
push dword [eax + 4]
call fcn.004d3f80
mov eax, dword [ebx]
mov dword [eax + 4], eax
mov eax, dword [ebx]
mov dword [eax], eax
mov eax, dword [ebx]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 8], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 4], 0
test eax, eax
je 0x4d364a
push 0x5a2f68
push eax
call fcn.00552945
mov edi, eax
add esp, 8
mov dword [ebp - 0x14], edi
test edi, edi
je 0x4d364a
push edi
call fcn.00554ff7
push eax
call fcn.00554fe1
push edi
push 1
mov esi, eax
lea eax, [ebp - 0x20]
push 8
push eax
call fcn.005535fb
add esp, 0x18
mov byte [ebp + 0xb], 0
cmp dword [ebp - 0x20], 0x78646972
jne 0x4d36d3
cmp dword [ebp - 0x1c], 0x8000
jb 0x4d3660
push edi
call fcn.005537a2
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
add esi, 0xfffffff8
push esi
call fcn.0053bd55
mov ebx, eax
add esp, 4
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x4d36d3
push edi
push 1
push esi
push ebx
call fcn.005535fb
lea edx, [ebx + esi]
mov ecx, ebx
xor ebx, ebx
mov dword [ebp + 8], edx
add esp, 0x10
cmp dword [ebp - 0x1c], ebx
jle 0x4d36c1
mov edi, dword [ebp - 0x10]
mov esi, dword [ecx + 0xc]
add esi, 0x12
add esi, ecx
cmp esi, edx
ja 0x4d36be
push dword [ecx + 8]
lea eax, [ecx + 0x10]
push dword [ecx + 4]
push dword [ecx]
mov ecx, edi
push eax
call fcn.004d31e0
mov edx, dword [ebp + 8]
inc ebx
mov ecx, esi
cmp ebx, dword [ebp - 0x1c]
jl 0x4d3694
mov edi, dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.00529cc6
add esp, 4
cmp ebx, dword [ebp - 0x1c]
sete byte [ebp + 0xb]
push edi
call fcn.005537a2
mov al, byte [ebp + 0xb]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4d55e0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x582fe6
mov eax, dword fs:[0]
push eax
mov eax, 0x2010
call fcn.0051b4b0
mov eax, dword [0x5c4104]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
cmp dword [edi + 8], 0
jne 0x4d5628
cmp dword [edi + 4], 0
je 0x4d5786
lea ebx, [edi + 0x14]
push ebx
mov dword [ebp - 0x201c], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x2018], 1
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x10]
cmp dword [eax - 0xc], 0
jle 0x4d567e
test esi, esi
je 0x4d577f
cmp dword [eax - 0xc], 0
jl 0x4d577f
push esi
push eax
call fcn.0051f3ea
add esp, 8
test eax, eax
je 0x4d577f
sub eax, dword [edi + 0x10]
sar eax, 1
js 0x4d577f
push 0x2000
lea eax, [ebp - 0x2010]
push 0
push eax
call fcn.0051f290
add esp, 0xc
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x2010]
call fcn.0042dd40
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x4d56bc
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4d56d1
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4d56d3
call edx
add eax, 0x10
mov dword [ebp - 0x2014], eax
lea eax, [ebp - 0x2010]
mov byte [ebp - 4], 1
push eax
push esi
lea eax, [ebp - 0x2014]
push str.__s___s_r_n
push eax
call fcn.0041f560
mov esi, dword [ebp - 0x2014]
add esp, 0x10
cmp dword [edi + 8], 0
je 0x4d570f
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [edi + 4], 0
je 0x4d573e
mov ecx, dword [edi + 0xc]
cmp ecx, 0xffffffff
je 0x4d573e
push 0
mov dword [ebp - 0x2014], 0
lea edx, [ebp - 0x2014]
mov eax, dword [esi - 0xc]
push edx
add eax, eax
push eax
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4d577f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4d577d
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4d577d
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4d577f
call edx
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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.0051b15a
mov esp, ebp
pop ebp
ret
Function at 0x4d5b20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583078
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5c4104]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [edi + 0x13c], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x140], eax
mov eax, dword [ebp + 0x10]
mov ebx, dword [edi + 0x144]
sub ebx, 0x10
lea ecx, [eax - 0x10]
cmp ecx, ebx
je 0x4d5bae
cmp dword [ebx + 0xc], 0
jl 0x4d5b9c
mov edx, dword [ecx]
cmp edx, dword [ebx]
jne 0x4d5b9c
push ecx
call fcn.00405650
add esp, 4
mov ecx, ebx
mov esi, eax
call fcn.00407070
lea eax, [esi + 0x10]
mov dword [edi + 0x144], eax
jmp 0x4d5bab
push dword [eax - 0xc]
lea ecx, [edi + 0x144]
push eax
call fcn.00405730
mov eax, dword [ebp + 0x10]
cmp dword [edi + 0x164], 0
movups xmm0, xmmword [ebp + 0x14]
mov ecx, dword [ebp + 0x2c]
movups xmmword [edi + 0x148], xmm0
movq xmm0, qword [ebp + 0x24]
movq qword [edi + 0x158], xmm0
mov dword [edi + 0x160], ecx
jne 0x4d5bf5
push 0
push 0
push edi
push 0x4d5ab0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x164], eax
mov eax, dword [ebp + 0x10]
lea ecx, [eax - 0x10]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4d5c3b
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4d5c37
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4d5c37
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4d5c3b
mov ecx, edx
call esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
Function at 0x4d8130
Capabilities:
Accept command line arguments
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5834d3
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x5c4104]
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
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test eax, eax
jne 0x4d817b
mov eax, 0x80004003
jmp 0x4d8229
push 0xf01ff
push str.ScreenDrv
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
jne 0x4d81a6
mov esi, 0x80004005
jmp 0x4d8227
xor esi, esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x120], esi
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00404e80
mov eax, dword [ebp - 0x120]
lea ecx, [ebp - 0x11c]
cmp eax, ecx
je 0x4d81de
push eax
call fcn.00529cc6
add esp, 4
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x4d81f4
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
push esi
push dword [ebp - 0x18]
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov ebx, eax
test esi, esi
je 0x4d820c
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
lea ecx, [ebp - 0x14]
test ebx, ebx
mov esi, 0x80004005
cmovne esi, eax
call fcn.00404e00
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
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.0051b15a
mov esp, ebp
pop ebp
ret
Function at 0x4dca90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583903
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x5c4104]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
xorps xmm0, xmm0
mov esi, eax
movq qword [ebp - 0x220], xmm0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
call fcn.004deb80
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 1
test esi, esi
je 0x4dcbd0
lea eax, [ebp - 0x220]
mov ecx, esi
push eax
call fcn.004dd2b0
test eax, eax
je 0x4dcbca
cmp dword [ebp - 0x21c], 0
je 0x4dcbca
mov eax, dword [ebp - 0x220]
mov esi, dword [eax]
mov dword [ebp - 0x224], esi
cmp esi, eax
je 0x4dcbd0
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [eax + eax]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0051f290
mov ecx, dword [esi + 0x10]
lea eax, [ebp - 0x218]
add esp, 0xc
push eax
call fcn.004dd3a0
test eax, eax
je 0x4dcbad
lea eax, [ebp - 0x218]
push eax
push dword [ebp + 8]
call fcn.0053c1f5
add esp, 8
test eax, eax
jne 0x4dcbad
push dword [esi + 0x10]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4dcbad
push 0
push esi
call ebx
test eax, eax
je 0x4dcbad
push esi
call edi
lea ecx, [ebp - 0x224]
call fcn.00439880
mov esi, dword [ebp - 0x224]
mov eax, dword [ebp - 0x220]
cmp esi, eax
jne 0x4dcb50
jmp 0x4dcbd0
mov eax, dword [ebp - 0x220]
push eax
push dword [eax]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x220]
call fcn.004399c0
push dword [ebp - 0x220]
call fcn.0051a89c
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov ecx, dword [ebp + 8]
or eax, 0xffffffff
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4dcc3c
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4dcc38
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4dcc38
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4dcc3c
mov ecx, edx
call esi
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.0051b15a
mov esp, ebp
pop ebp
ret 4
Function at 0x4e0a60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583cc8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5c4104]
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, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x14], 0
call fcn.004374d0
add esp, 4
mov dword [ebp - 4], 0
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4e0b1c
push 0x59af0c
mov ecx, edi
call fcn.00404e80
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4e0bc3
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4e0b13
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4e0b13
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4e0bc3
mov ecx, edx
call esi
jmp 0x4e0bc3
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x4e0b31
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4e0b46
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4e0b48
call edx
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.InstallTime
call fcn.00404e80
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x1c], esi
call fcn.00405650
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 1
call fcn.004e0bf0
test eax, eax
je 0x4e0ba7
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
push eax
call fcn.00405650
add esp, 4
add eax, 0x10
mov dword [edi], eax
jmp 0x4e0bb3
push 0x59af0c
mov ecx, edi
call fcn.00404e80
lea ecx, [ebp - 0x18]
call fcn.00404e00
lea ecx, [ebp - 0x14]
call fcn.00404e00
mov eax, edi
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.0051b15a
mov esp, ebp
pop ebp
ret 4
Function at 0x4e0bf0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583d00
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x5c4104]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x10]
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.0051f290
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [ebp + 8]
push 0x104
push eax
push 0x59f610
push dword [ebp + 0xc]
push str.dllrepairOfficial
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, 0x2a
cmp ax, word [ebp - 0x218]
je 0x4e0c9c
lea edx, [ebp - 0x218]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4e0c77
sub edx, esi
lea eax, [ebp - 0x218]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.00405730
mov esi, 1
jmp 0x4e0c9e
xor esi, esi
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov ecx, dword [ebp + 8]
mov eax, edi
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
jg 0x4e0d0e
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
mov dword [ebp - 0x21c], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4e0d06
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov ebx, dword [eax + 4]
mov dword [ebp - 0x21c], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4e0cfc
push 0
push dword [edx + 4]
call ebx
jmp 0x4e0d0e
mov ecx, edx
call dword [ebp - 0x21c]
jmp 0x4e0d0e
mov ecx, edx
call dword [ebp - 0x21c]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4e0d51
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4e0d4f
mov eax, dword [ecx + 4]
mov ecx, dword [eax]
mov edi, dword [ecx + 4]
cmp ecx, vtable.ATL::CWin32Heap.0
jne 0x4e0d4d
push 0
push dword [eax + 4]
call ebx
jmp 0x4e0d51
mov ecx, eax
call edi
mov eax, esi
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.0051b15a
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4e2ab0
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583deb
mov eax, dword fs:[0]
push eax
sub esp, 0x4a8
mov eax, dword [0x5c4104]
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, dword [ebp + 8]
lea ecx, [ebp - 0x4b4]
push edi
call fcn.004df880
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0051f290
cmp dword [ebp - 0x46c], 8
lea eax, [ebp - 0x480]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
cmovae eax, dword [ebp - 0x480]
push eax
lea eax, [ebp - 0x218]
push 0x59aeec
push eax
call esi
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0051f290
cmp dword [ebp - 0x49c], 8
lea eax, [ebp - 0x4b0]
cmovae eax, dword [ebp - 0x4b0]
push eax
lea eax, [ebp - 0x420]
push str._s.lnk
push eax
call esi
add esp, 0x30
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp word [ebp - 0x218], 0
jne 0x4e2b8a
xor ecx, ecx
jmp 0x4e2ba2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e2b93
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x438]
call fcn.0041c830
lea eax, [ebp - 0x4b4]
push eax
call fcn.004e29a0
test eax, eax
js 0x4e2c1b
cmp dword [edi + 0x90], 8
lea eax, [edi + 0x7c]
jb 0x4e2bd3
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call esi
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
push 0
cmovae eax, dword [ebp - 0x438]
push 0
push 0
push eax
push str.TaskbarPin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call esi
lea ecx, [ebp - 0x4b4]
call fcn.004d9b90
xor eax, eax
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.0051b15a
mov esp, ebp
pop ebp
ret 4