Function at 0x4115e0
Capabilities:
Set current directory
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51bfbe
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x579630]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], ebx
push 0x70
mov edi, dword [ecx]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x14], edi
call fcn.00405f2d
mov esi, eax
add esp, 4
mov dword [ebp - 0x50], esi
mov dword [ebp - 4], ebx
test esi, esi
je 0x411651
push 0x70
push ebx
push esi
call fcn.004f9050
add esp, 0xc
mov ecx, esi
push edi
call fcn.0041200f
mov edi, dword [0x57f480]
mov dword [ebp - 4], 0xffffffff
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0xc]
push esi
mov dword [edi + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x60]
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp - 0x60], eax
test eax, eax
jne 0x41168e
mov eax, 4
jmp 0x411fb6
mov ecx, dword [0x57f480]
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov dword [ebp - 0x70], 7
push 2
push 0x52eaac
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x74], eax
mov word [ebp - 0x84], ax
call fcn.00407750
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x84]
push eax
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.0040a5c0
cmp dword [ebp - 0x70], 8
mov byte [ebp - 0x68], al
mov dword [ebp - 4], 0xffffffff
jb 0x4116f7
push dword [ebp - 0x84]
call fcn.004085be
add esp, 4
push 3
xor eax, eax
mov dword [ebp - 0x70], 7
push 0x52e22c
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x74], 0
mov word [ebp - 0x84], ax
call fcn.00407750
lea eax, [ebp - 0x84]
mov dword [ebp - 4], 3
push eax
mov ecx, esi
call fcn.0040a5c0
cmp dword [ebp - 0x70], 8
mov byte [ebp - 0x52], al
mov dword [ebp - 4], 0xffffffff
jb 0x411753
push dword [ebp - 0x84]
call fcn.004085be
add esp, 4
push 3
xor eax, eax
mov dword [ebp - 0x70], 7
push 0x52ea90
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x74], 0
mov word [ebp - 0x84], ax
call fcn.00407750
lea eax, [ebp - 0x84]
mov dword [ebp - 4], 4
push eax
mov ecx, esi
call fcn.0040a5c0
cmp dword [ebp - 0x70], 8
mov byte [ebp - 0x6c], al
mov dword [ebp - 4], 0xffffffff
jb 0x4117af
push dword [ebp - 0x84]
call fcn.004085be
add esp, 4
cmp byte [ebp - 0x52], 0
je 0x4117ea
lea eax, [ebp - 0x84]
push 0x52e22c
push eax
call fcn.00470320
add esp, 8
mov ebx, 2
mov ecx, eax
mov dword [ebp - 0x64], ebx
push 0xd
push 0
push str.pdfshell_prev
call fcn.0040cdd0
mov byte [ebp - 0x51], 1
cmp eax, 0xffffffff
jne 0x4117ee
mov byte [ebp - 0x51], 0
test bl, 2
je 0x41180d
and ebx, 0xfffffffd
cmp dword [ebp - 0x70], 8
mov dword [ebp - 0x64], ebx
jb 0x41180d
push dword [ebp - 0x84]
call fcn.004085be
add esp, 4
mov edi, dword [0x57f480]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea esi, [edi + 4]
push esi
call ebx
mov al, byte [ebp - 0x68]
push esi
mov byte [edi + 0x38], al
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [0x57f480]
lea esi, [edi + 4]
push esi
call ebx
mov al, byte [ebp - 0x6c]
push esi
mov byte [edi + 0x49], al
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [0x57f480]
lea esi, [edi + 4]
push esi
call ebx
mov al, byte [ebp - 0x52]
push esi
mov byte [edi + 0x39], al
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [0x57f480]
lea esi, [edi + 4]
push esi
call ebx
mov al, byte [ebp - 0x51]
push esi
mov byte [edi + 0x5e], al
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00408d90
cmp eax, 6
jl 0x4118b6
push 0
push str.bEnableProtectedModeAppContainer
call fcn.0040d9d0
mov edi, dword [0x57f480]
add esp, 8
test eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
setne bl
lea esi, [edi + 4]
push esi
call eax
push esi
mov byte [edi + 0x5f], bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.00408d90
cmp eax, 5
jl 0x4118ea
push 1
push str.bEnableStrictHandleCheckProtection
call fcn.0040d9d0
add esp, 8
test eax, eax
je 0x4118ea
mov edi, dword [0x57f480]
lea esi, [edi + 4]
push esi
call ebx
push esi
mov byte [edi + 0x64], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00412c30
cmp byte [ebp - 0x68], 0
je 0x411918
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, dword [0x57f480]
mov ebx, eax
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea esi, [edi + 4]
push esi
call eax
push esi
mov dword [edi + 0x4c], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movq qword [ebp - 0x24], xmm0
call fcn.00412d30
cmp byte [ebp - 0x6c], 0
mov dword [ebp - 4], 5
mov dword [0x579078], 1
jne 0x411994
cmp byte [ebp - 0x52], 0
jne 0x411994
push 0x20019
push str.SoftwareAdobeAcrobat_ReaderDCPrivileged
push 0x80000001
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x54], 1
call fcn.00412d40
test eax, eax
jne 0x411998
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x24]
lea eax, [ebp - 0x14]
push eax
push str.bProtectedMode
call fcn.0040dde0
mov ecx, dword [0x579078]
test eax, eax
cmove ecx, dword [ebp - 0x14]
mov dword [0x579078], ecx
lea ecx, [ebp - 0x24]
call fcn.0040dfb0
jmp 0x411998
mov byte [ebp - 0x54], 0
call fcn.0040e310
mov edi, dword [0x57f480]
mov bl, al
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
mov byte [edi + 0x51], bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00412d80
mov edi, dword [0x57f480]
mov bl, al
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [edi + 0x58], bl
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call ebx
mov edi, dword [0x57f480]
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
mov byte [edi + 0x59], 0
call ebx
call fcn.00412f30
mov edi, dword [0x57f480]
mov bl, al
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [edi + 0x5a], bl
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call ebx
call fcn.004130e0
mov edi, dword [0x57f480]
mov byte [ebp - 0x53], al
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [ebp - 0x53]
push esi
mov byte [edi + 0x5b], al
call ebx
mov byte [ebp - 0x51], 0
call fcn.004132a0
mov edi, dword [0x57f480]
mov bl, al
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
mov byte [edi + 0x48], bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00413370
mov edi, dword [0x57f480]
mov bl, al
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
mov byte [edi + 0x5c], bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00413550
push 1
push str.bEnableEnhancedPolicyRestrictions
mov byte [0x579028], al
call fcn.0040d9d0
mov edi, dword [0x57f480]
add esp, 8
test eax, eax
setne bl
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
mov byte [edi + 0x5d], bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x1c], 0
mov bl, byte [ebp - 0x68]
test bl, bl
jne 0x411acc
mov byte [ebp - 0x55], 1
cmp byte [ebp - 0x52], bl
je 0x411ad0
mov byte [ebp - 0x55], 0
xor eax, eax
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 6
push eax
call fcn.00413650
add esp, 4
test al, al
jne 0x411b0f
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
cmovae eax, dword [ebp - 0x3c]
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x1c]
call fcn.004136f0
mov edi, eax
mov dword [ebp - 0x14], edi
test edi, edi
jne 0x411ca4
xorps xmm0, xmm0
lea ecx, [ebp - 0x4c]
movq qword [ebp - 0x4c], xmm0
call fcn.00440500
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 7
call fcn.00440510
mov ecx, dword [ebp - 0x60]
mov eax, dword [ecx]
call dword [eax + 0x14]
xorps xmm0, xmm0
lea ecx, [ebp - 0x44]
mov esi, eax
movq qword [ebp - 0x44], xmm0
call fcn.00440770
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
mov dword [0x57db7c], esi
call fcn.004407a0
test bl, bl
je 0x411b83
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x411b83
mov ecx, dword [0x57f480]
push eax
call fcn.00462780
cmp dword [ebp - 0x1c], 0
je 0x411b96
lea ecx, [ebp - 0x1c]
call fcn.00440b20
mov dword [ebp - 0x50], eax
jmp 0x411b9d
mov dword [ebp - 0x50], 0
mov edi, dword [0x57f480]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea esi, [edi + 4]
push esi
call ebx
mov eax, dword [ebp - 0x50]
push esi
mov dword [edi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp - 0x55], 0
je 0x411be0
push 0x530d08
push dword [ebp + 0xc]
mov ecx, 0x57da40
mov byte [0x57da38], 1
push 0x579030
call fcn.00440bc0
mov ecx, dword [ebp - 0x60]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x411bf9
lea ecx, [ebp - 0x1c]
call fcn.00455150
mov dword [esi], eax
mov edi, dword [0x57f480]
lea esi, [edi + 4]
push esi
call ebx
mov bl, byte [edi + 0x40]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
jne 0x411c84
call fcn.00412c10
test eax, eax
jg 0x411c76
call fcn.00412c10
test eax, eax
jg 0x411c5c
push 0
push 0x367
push str.ChromeSandboxLaunch.cpp
lea ecx, [ebp - 0x134]
call fcn.0046e250
mov ebx, dword [ebp - 0x64]
add eax, 8
push str.Handshake_with_Sandbox_Process_Failed
or ebx, 4
mov byte [ebp - 4], 9
push eax
mov dword [ebp - 0x50], ebx
call fcn.0045b4a0
add esp, 8
jmp 0x411c5f
mov ebx, dword [ebp - 0x64]
mov dword [ebp - 4], 8
test bl, 4
je 0x411c76
lea ecx, [ebp - 0x134]
call fcn.0046e3c0
mov edi, 0x33
mov byte [ebp - 0x51], 1
mov dword [ebp - 0x14], edi
jmp 0x411c87
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call fcn.00455230
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.004552b0
jmp 0x411d68
call fcn.00412c10
test eax, eax
jg 0x411d64
call fcn.00412c10
test eax, eax
jg 0x411d2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x84]
push str.0x_X
push eax
call fcn.00431e10
add esp, 0xc
mov esi, eax
mov ebx, dword [ebp - 0x64]
lea ecx, [ebp - 0x134]
push 0
push 0x36e
or ebx, 8
mov byte [ebp - 4], 0xa
push str.ChromeSandboxLaunch.cpp
mov dword [ebp - 0x50], ebx
call fcn.0046e250
add eax, 8
mov dword [ebp - 4], 0xb
push str.Sandbox_Process_Initialization_Failed___error:
or ebx, 0x10
push eax
mov dword [ebp - 0x50], ebx
call fcn.0045b4a0
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x411d21
mov esi, dword [esi]
push esi
push eax
call fcn.0046e6c0
add esp, 8
jmp 0x411d30
mov ebx, dword [ebp - 0x64]
mov dword [ebp - 4], 0xa
test bl, 0x10
je 0x411d4d
and ebx, 0xffffffef
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x50], ebx
call fcn.0046e3c0
mov dword [ebp - 4], 6
test bl, 8
je 0x411d64
lea ecx, [ebp - 0x84]
call fcn.004087d0
mov byte [ebp - 0x51], 1
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x411d73
mov esi, dword [ebx]
jmp 0x411d75
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x57db54]
mov dword [ebp - 0x60], eax
test cl, 1
jne 0x411de0
or ecx, 1
mov dword [0x57db54], ecx
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0xc
push eax
push 1
push 0
push str.bADC_4198131
mov dword [ebp - 0x50], 0
call fcn.0040a3f0
add esp, 0x10
movzx eax, ax
cmp word [ebp - 0x50], 0
je 0x411dd4
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push str.bADC_4198131
call fcn.0040a3f0
add esp, 0x10
movzx eax, ax
mov word [0x57db50], ax
mov byte [ebp - 4], 6
jmp 0x411de6
mov ax, word [0x57db50]
test ax, ax
mov al, byte [ebp - 0x51]
je 0x411e4d
test al, al
je 0x411ff4
cmp byte [0x57dbc0], 0
mov cl, byte [ebp - 0x52]
je 0x411e50
test cl, cl
jne 0x411e50
call fcn.00460ee0
mov ecx, eax
mov dword [ebp - 0x18], ecx
sub ecx, 2
je 0x411e1d
dec ecx
jne 0x411e32
lea eax, [ecx + 5]
jmp 0x411e2b
call fcn.0045fe30
test al, al
je 0x411e32
mov eax, 6
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x51], 0
push dword [ebp - 0x68]
push dword [ebp - 0x18]
push edi
push dword [ebp - 0x6c]
push dword [ebp - 0x60]
push esi
push 1
call fcn.00462990
mov al, byte [ebp - 0x51]
add esp, 0x1c
mov cl, byte [ebp - 0x52]
test al, al
je 0x411f0b
cmp byte [ebp - 0x68], 0
jne 0x411fd2
test cl, cl
jne 0x411f0b
mov dword [ebp - 0x5c], 4
test ebx, ebx
je 0x411e7b
mov dword [ebx], 1
call fcn.00460eb0
mov edi, eax
mov ecx, edi
sub ecx, 2
je 0x411e95
dec ecx
jne 0x411eee
mov dword [ebp - 0x5c], 5
jmp 0x411eee
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0
push eax
push str.SoftwareAdobeAcrobat_ReaderDCPrivileged
push 0x80000001
mov dword [ebp - 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x411eee
push 4
lea eax, [ebp - 0x18]
push eax
push 4
push 0
push str.bProtectedMode
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [0x579078]
test eax, eax
push dword [ebp - 0x50]
cmove ecx, dword [ebp - 0x18]
mov dword [0x579078], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, byte [0x57dbc0]
push 0
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x6c]
push dword [ebp - 0x60]
push esi
push eax
call fcn.00462990
add esp, 0x1c
mov esi, dword [ebp - 0x5c]
cmp byte [ebp - 0x54], 0
je 0x411f4a
push 0x20006
push str.SoftwareAdobeAcrobat_ReaderDCPrivileged
push 0x80000001
lea ecx, [ebp - 0x24]
call fcn.00412d40
test eax, eax
jne 0x411f4a
push dword [0x579078]
lea ecx, [ebp - 0x24]
push str.bProtectedMode
call fcn.00452f00
lea ecx, [ebp - 0x24]
call fcn.0040dfb0
cmp byte [ebp - 0x53], 0
je 0x411f75
cmp esi, 4
jne 0x411f75
cmp dword [ebp - 0x2c], 0
je 0x411f6d
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
mov ecx, dword [0x57f480]
mov eax, dword [ecx]
call dword [eax + 8]
cmp dword [ebp - 0x28], 8
jb 0x411f91
push dword [ebp - 0x3c]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0x28], 7
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
mov dword [ebp - 4], 0xffffffff
call fcn.0040dfb0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401590
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 0x6c], 0
je 0x411f0b
mov esi, 5
test ebx, ebx
je 0x411f0e
mov dword [ebx], 0xff
jmp 0x411f0e
xor esi, esi
jmp 0x411f0e