Function at 0x4e3f40
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ab0c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x168
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov eax, dword [esi + 0x520]
push ebx
push ebx
push 0x1042
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebx
jl 0x4e404a
cmp eax, dword [esi + 0x2c8]
jge 0x4e404a
mov ecx, dword [esi + 0x2c4]
mov edi, dword [ecx + eax*4]
cmp edi, ebx
jl 0x4e404a
mov edx, dword [esi + 0x26c]
cmp edi, dword [edx + 0xb0]
jge 0x4e404a
mov eax, dword [0x65ec1c]
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa4], eax
call fcn.00440200
lea ecx, [ebp - 0x94]
call fcn.00440200
mov eax, dword [0x65ec1c]
mov dword [ebp - 0xfc], 0x5bd0e4
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov ecx, dword [esi + 0x26c]
lea eax, [ebp - 0xfc]
push ebx
push eax
push edi
add ecx, 8
mov byte [ebp - 4], 1
call fcn.0055dfa0
test al, al
jne 0x4e405b
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 0
call fcn.00451870
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 0xbe], 4
jne 0x4e403b
mov eax, dword [ebp - 0xa0]
cmp eax, ebx
jne 0x4e4074
lea eax, [ebp - 0x9c]
push eax
call fcn.0056ca2e
add esp, 4
test eax, eax
je 0x4e403b
cmp dword [0x663668], ebx
je 0x4e40b4
mov eax, dword [ebp - 0xa0]
cmp eax, ebx
jne 0x4e4099
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4e40b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4e41cf
mov eax, dword [ebp - 0xa0]
cmp eax, ebx
jne 0x4e40c4
lea eax, [ebp - 0x9c]
push ebx
push eax
call fcn.00465670
add esp, 8
cmp eax, ebx
jne 0x4e40ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4e41cf
cmp dword [0x663668], ebx
jne 0x4e41cf
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x138]
mov ebx, 0x3c
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0xa0]
mov esi, 0x40
test eax, eax
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x134], esi
je 0x4e4124
mov dword [ebp - 0x128], eax
jmp 0x4e4130
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x128], ecx
lea edx, [ebp - 0x138]
mov dword [ebp - 0x11c], 1
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4e403b
mov eax, dword [0x63c2c4]
test eax, eax
jne 0x4e403b
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x174]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x174], ebx
test eax, eax
mov dword [ebp - 0x170], esi
jne 0x4e4187
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00588780
mov eax, dword [ebp - 0x14]
push 0x3f
push eax
call fcn.0056c5f0
add esp, 8
test eax, eax
jne 0x4e41c2
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x174]
push edx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x158], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
lea ecx, [ebp - 0x14]
call fcn.005886c0
jmp 0x4e403b
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x1c], bx
mov eax, dword [ebp - 0xa0]
mov byte [ebp - 4], 2
cmp eax, ebx
jne 0x4e41ed
lea eax, [ebp - 0x9c]
mov esi, dword [0x6644c0]
cmp esi, ebx
je 0x4e4290
cmp eax, ebx
je 0x4e4290
push eax
lea ecx, [ebp - 0x44]
call fcn.004039b0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.00401070
push esi
lea ecx, [ebp - 0x38]
call fcn.004039e0
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.00403a60
push eax
call fcn.0056ca2e
add eax, esi
lea eax, [eax + eax + 2]
push eax
call fcn.00584a5c
add esp, 8
cmp eax, ebx
mov dword [ebp - 0x20], eax
je 0x4e4278
lea ecx, [ebp - 0x44]
call fcn.00403a60
lea ecx, [ebp - 0x38]
mov esi, eax
call fcn.00403a60
mov ecx, dword [ebp - 0x20]
push esi
push eax
push ecx
call fcn.0056ca74
mov edx, dword [ebp - 0x20]
push edx
call fcn.0056ca2e
add esp, 0x10
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.00401070
mov eax, dword [0x6644bc]
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x28], bx
call fcn.00402600
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov ecx, eax
jne 0x4e42b5
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x4e42bf
lea eax, [ebp - 0x1c]
push 0x30
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x2c]
call fcn.00401070
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00401070
jmp 0x4e403b