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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f57f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4a4
mov eax, dword [0x6d1108]
push ebx
push esi
xor ebx, ebx
push edi
cmp eax, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
jne 0x4108a7
mov eax, 0x6d110c
push str.idmmzcc.xpi
push eax
lea eax, [ebp - 0x2a0]
push 0x6a331c
push eax
call fcn.005c81cc
add esp, 0x10
lea ecx, [ebp - 0x2a0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x410acd
mov ecx, 0x11
xor eax, eax
lea edi, [ebp - 0x98]
mov dword [ebp - 0x1c], eax
rep stosd dword es:[edi], eax
mov dword [ebp - 0x98], 0x44
mov dword [ebp - 0x6c], 3
mov word [ebp - 0x68], 5
mov dword [ebp - 0x80], 0x12c
mov dword [ebp - 0x7c], 0xc8
mov dword [ebp - 0x14], ebx
mov word [ebp - 0x18], bx
mov edx, str.__s____s_
mov byte [ebp - 4], 1
test edx, edx
je 0x410a2d
mov esi, dword [ebp + 8]
cmp esi, ebx
je 0x410a2d
lea ecx, [ebp - 0x2a0]
test ecx, ecx
je 0x410a2d
push ebx
push edx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x28], bx
call fcn.00402980
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.0040d7a0
lea edx, [ebp - 0x2a0]
lea ecx, [ebp - 0x44]
push edx
mov byte [ebp - 4], 3
call fcn.0040d7a0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00401070
mov esi, dword [ebp - 0x24]
lea ecx, [ebp - 0x44]
call fcn.00402050
push eax
call fcn.005c7292
add esp, 4
lea ecx, [ebp - 0x38]
mov edi, eax
call fcn.00402050
push eax
call fcn.005c7292
add esi, edi
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005dfcbc
mov edx, eax
add esp, 8
cmp edx, ebx
mov dword [ebp - 0x1c], edx
je 0x410a06
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x44]
call fcn.00402050
push eax
lea ecx, [ebp - 0x38]
call fcn.00402050
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402050
push eax
mov eax, dword [ebp - 0x1c]
push esi
push eax
call fcn.005c7222
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.005c7292
add esp, 0x18
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00401070
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00401070
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x410a34
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x98]
push edx
push ecx
push ebx
push ebx
push 0x30
push 1
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, ebx
jne 0x410ae2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [0x6cc564]
mov dword [ebp + 8], edx
push ebx
lea ecx, [ebp - 0x20]
push ebx
push ecx
push 0x400
push eax
push ebx
push 0x1100
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, dword [ebp - 0x20]
lea eax, [ebp + 8]
push edx
push str.Cannot_start_browser._r_n_s
push eax
call fcn.005dc6eb
mov ecx, dword [ebp - 0x20]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp + 8]
push 0x50030
push 0x6a1f84
push edx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.005e38b9
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00401070
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x54]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x50]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x54]
push edx
call esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00401070
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4