Function at 0x416940
Capabilities:
Create process on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571332
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
mov eax, dword [0x5d1614]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.DownloadNavigatorLauncher
push 0xb44
xor edi, edi
push edi
push 4
push edi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push 0xb44
push edi
push edi
push 0xf001f
push eax
mov dword [ebx + 0x48], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push 8
mov dword [ebx + 0x4c], eax
call fcn.004473b4
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edi
cmp eax, edi
je 0x4169bc
push edi
push str.DownloadNavigatorMutex
push edi
mov ecx, eax
call fcn.004587d7
jmp 0x4169be
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x50], eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
push 0xffffffffffffffff
call eax
mov esi, dword [ebx + 0x4c]
mov dword [esi + 0x920], 4
mov dword [esi + 0x924], edi
mov dword [esi + 0x928], edi
mov dword [esi + 0x92c], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esi + 0x930], eax
mov ecx, dword [ebx + 0x24]
mov dword [esi + 0xb3c], ecx
mov dword [esi + 0xb40], edi
call fcn.00447edb
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x416a27
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
mov eax, 1
mov dword [ebp - 4], eax
sub eax, dword [edi - 4]
mov ecx, dword [edi - 8]
or ecx, eax
jge 0x416a55
push 0
lea ecx, [ebp - 0x10]
call fcn.00401db0
mov edi, dword [ebp - 0x10]
push edi
push 0x104
push esi
call fcn.005420d3
mov ecx, dword [edi - 8]
mov eax, 1
sub eax, dword [edi - 4]
add esp, 0xc
or ecx, eax
jge 0x416a80
push 0
lea ecx, [ebp - 0x10]
call fcn.00401db0
mov edi, dword [ebp - 0x10]
push edi
lea ecx, [esi + 0x934]
push 0x104
push ecx
call fcn.005420d3
mov ecx, dword [edi - 8]
mov eax, 1
sub eax, dword [edi - 4]
add esp, 0xc
or ecx, eax
jge 0x416ab1
push 0
lea ecx, [ebp - 0x10]
call fcn.00401db0
mov edi, dword [ebp - 0x10]
push edi
push 0x80
add esi, 0x820
push esi
call fcn.005420d3
mov ecx, dword [ebx + 0x50]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
add esp, 0xc
call eax
push 0x5a04b0
lea ecx, [ebp - 0x18]
call fcn.00401a30
lea ecx, [ebp - 0x18]
push ecx
mov byte [ebp - 4], 2
call fcn.00406a00
push str.EPSDNRUD.EXE
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.0040b670
push 0x38
lea ecx, [ebp - 0x50]
push 0
push ecx
mov byte [ebp - 4], 3
call fcn.005440c0
mov edx, dword [ebp - 0x14]
mov eax, 1
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x50], 0x40
sub eax, dword [edx - 4]
mov ecx, dword [edx - 8]
add esp, 0x1c
or ecx, eax
jge 0x416b47
push 0
lea ecx, [ebp - 0x14]
call fcn.00401db0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x44], edx
lea edx, [ebp - 0x54]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x2c], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416b80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416ba3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416bc6
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret