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

Disassembly:
push ebp
lea ebp, [esp - 0xe4]
sub esp, 0xe4
push 0xffffffffffffffff
push 0x65de76
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp + 0xe0], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [esi + 0x628]
call fcn.00454cd0
cmp eax, ebx
jl 0x53e48c
cmp eax, dword [esi + 0x35c]
jge 0x53e48c
push eax
lea ecx, [esi + 0x354]
call fcn.0045ee00
mov edi, dword [eax]
cmp edi, ebx
jl 0x53e48c
mov eax, dword [esi + 0x300]
cmp edi, dword [eax + 0xb0]
jge 0x53e48c
lea ecx, [ebp]
call fcn.004612c0
mov byte [ebp - 4], 1
push ebx
lea ecx, [ebp]
push ecx
push edi
mov ecx, dword [esi + 0x300]
add ecx, 8
call fcn.005ea4c0
test al, al
jne 0x53e4b1
mov byte [ebp - 4], al
lea ecx, [ebp]
call fcn.00461410
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xe0]
xor ecx, ebp
call fcn.00620b8d
add ebp, 0xe4
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0x3e], 4
jne 0x53e6b6
mov edx, dword [ebp + 0x5c]
cmp edx, ebx
mov eax, edx
jne 0x53e4c7
lea eax, [ebp + 0x60]
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x53e4d0
sub eax, esi
sar eax, 1
je 0x53e6b6
mov dword [ebp - 0x18], ebx
cmp dword [0x75dbac], ebx
je 0x53e517
cmp edx, ebx
mov eax, edx
jne 0x53e4f9
lea eax, [ebp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x53e514
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x53e60a
mov edx, dword [ebp + 0x5c]
cmp edx, ebx
mov eax, edx
jne 0x53e520
lea eax, [ebp + 0x60]
push ebx
push eax
call fcn.004ab900
add esp, 8
test eax, eax
jne 0x53e549
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x53e60a
cmp dword [0x75dbac], ebx
jne 0x53e60a
mov edi, 0x3c
push edi
push ebx
lea edx, [ebp - 0x54]
push edx
call fcn.00621270
add esp, 0xc
mov dword [ebp - 0x54], edi
mov esi, 0x40
mov dword [ebp - 0x50], esi
mov eax, dword [ebp + 0x5c]
cmp eax, ebx
jne 0x53e571
lea eax, [ebp + 0x60]
mov dword [ebp - 0x44], eax
mov ebx, 1
mov dword [ebp - 0x38], ebx
lea ecx, [ebp - 0x54]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x53e6b6
cmp dword [0x752d28], eax
jne 0x53e6b6
push edi
push eax
lea edx, [ebp - 0x90]
push edx
call fcn.00621270
add esp, 0xc
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x8c], esi
mov eax, dword [ebp + 0x5c]
test eax, eax
jne 0x53e5c1
lea eax, [ebp + 0x60]
push 0
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00402a60
mov byte [ebp - 4], 2
push 0x3f
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00622170
add esp, 0x14
test eax, eax
jne 0x53e5f9
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x74], ebx
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00402560
jmp 0x53e6b6
mov dword [ebp - 0x18], 1
mov dword [ebp + 0xd4], ebx
mov dword [ebp + 0xdc], ebx
xor ecx, ecx
mov word [ebp + 0xd8], cx
mov bl, 3
mov byte [ebp - 4], bl
mov eax, dword [ebp + 0x5c]
test eax, eax
jne 0x53e635
lea eax, [ebp + 0x60]
mov edx, dword [0x75dd28]
push edx
push eax
mov eax, dword [0x75ec44]
push eax
lea ecx, [ebp + 0xd4]
call fcn.004021a0
mov ecx, dword [0x75dd28]
push ecx
mov edx, dword [0x75ec48]
push edx
lea ecx, [ebp + 0xc8]
call fcn.0045eea0
mov byte [ebp - 4], 4
mov eax, dword [ebp + 0xc8]
test eax, eax
mov ecx, eax
jne 0x53e67d
lea ecx, [ebp + 0xcc]
mov eax, dword [ebp + 0xd4]
test eax, eax
jne 0x53e68d
lea eax, [ebp + 0xd8]
push 0x30
push ecx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc8]
call fcn.00401210
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xd4]
call fcn.00401210
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.00461410
mov dword [ebp - 4], 0xffffffff
jmp 0x53e48c