Function at 0x42da50
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xf0
mov esi, ecx
mov eax, dword [0x597010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xf4], eax
mov edi, dword [0x59d954]
lea eax, [ebp - 0xd0]
mov ecx, edi
push 4
push str.type
push eax
call fcn.00478c40
lea ecx, [esi + 8]
cmp byte [esi + 0x13], 0
jns 0x42daac
push dword [ecx]
mov ebx, ecx
call fcn.00528424
mov ecx, ebx
add esp, 4
mov eax, dword [ebp - 0xc8]
mov dword [ecx + 8], eax
movsd xmm0, qword [ebp - 0xd0]
movsd qword [ecx], xmm0
xor eax, eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
movzx ebx, byte [esi + 0x13]
test bl, bl
mov dword [ebp - 0xec], ecx
jns 0x42dae0
mov ebx, dword [esi + 0xc]
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0xf0], edi
push edi
call fcn.0047df7c
add esp, 4
test ebx, ebx
je 0x42dafe
cmp eax, 6
je 0x42db1b
call sub.chrome_elf.dll_IsExtensionPointDisableSet
movzx eax, al
shl eax, 0xc
lea ecx, [ebp - 0xd8]
push 0
push eax
push ecx
call fcn.0042e510
add esp, 0xc
mov dword [ebp - 0xfc], ebx
xor eax, eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xdc], eax
lea edi, [ebp - 0x1c]
mov dword [edi + 4], eax
mov dword [edi], eax
mov dword [edi + 8], eax
push edi
push 3
call fcn.0045fed0
add esp, 8
xor eax, eax
dec eax
lea esi, [ebp - 0x28]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, edi
push 0xc
push 0x582d40
lea edi, [ebp - 0xd0]
push edi
call fcn.00476ed0
mov ecx, edi
push 0xa
push str.chrome.dll
push esi
call fcn.00476250
cmp byte [ebp - 0xc5], 0
jns 0x42db94
push dword [ebp - 0xd0]
call fcn.00528424
add esp, 4
lea ebx, [ebp - 0xd0]
mov dword [ebx + 0x14], 0
mov word [ebx + 0x18], 0
xorps xmm0, xmm0
movups xmmword [ebx], xmm0
mov ecx, ebx
push 0x21
push esi
call fcn.00477540
mov edi, dword [ebx]
mov ecx, ebx
call fcn.00477660
inc edi
cmp edi, 2
jae 0x42dbde
lea eax, [ebp - 0xd0]
lea ecx, [ebp - 0x1c]
push 0xa
push str.chrome.dll
push eax
call fcn.00476250
jmp 0x42dbea
lea ecx, [ebp - 0xd0]
push esi
call fcn.00458e00
mov esi, dword [ebp - 0xe8]
cmp byte [ebp - 0x1d], 0
jns 0x42dc01
push dword [ebp - 0x28]
call fcn.00528424
add esp, 4
cmp byte [ebp - 0x11], 0
jns 0x42dc12
push dword [ebp - 0x1c]
call fcn.00528424
add esp, 4
movsd xmm0, qword [ebp - 0xd0]
movsd qword [ebp - 0xe4], xmm0
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xdc], eax
movzx eax, byte [ebp - 0xd9]
test al, al
jns 0x42dc3f
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x42dd35
lea edi, [ebp - 0xe4]
mov ecx, edi
push ebx
call fcn.004756a0
cmp byte [ebp - 0xc5], 0
jns 0x42dc64
mov ebx, dword [ebp - 0xd0]
push ebx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp byte [ebp - 0xc5], 0
jns 0x42dc82
push dword [ebp - 0xd0]
call fcn.00528424
add esp, 4
push 0x7fffffff
push 0xffffffffffffffff
push 1
push edi
call fcn.0045f620
add esp, 0x10
cmp byte [ebp - 0xd9], 0
mov ebx, dword [ebp - 0xfc]
jns 0x42dca9
mov edi, dword [ebp - 0xe4]
push 8
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
je 0x42dd82
mov ecx, esi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], eax
test ebx, ebx
je 0x42dcd5
push 1
push 0x27f
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
mov ebx, dword [ebp - 0xe8]
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [section..00cfg]
lea eax, [ebp - 0xe4]
mov ecx, ebx
push eax
push dword [ebp - 0xec]
push dword [ebp - 0xf0]
call edi
push str.ChromeMain
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call dword [section..00cfg]
lea eax, [ebp - 0xd8]
push dword [ebp - 0xf4]
push dword [ebp - 0xf8]
push eax
push esi
call ecx
add esp, 0x10
mov esi, eax
jmp 0x42dde1
cmp dword [0x59d910], 2
jg 0x42ddd5
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [ebp - 0xd0]
mov ecx, edi
push eax
push 2
push 0x68
push str.....chrome_appmain_dll_loader_win.cc
call fcn.00471a00
lea eax, [ebp - 0xc8]
push 0x13
push str.Cannot_find_module
push eax
call fcn.0042d698
add esp, 0xc
push str.chrome.dll
push eax
call fcn.00471c10
jmp 0x42ddcb
cmp dword [0x59d910], 2
jg 0x42ddd5
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [ebp - 0xd0]
mov ecx, edi
push eax
push 2
push 0x6d
push str.....chrome_appmain_dll_loader_win.cc
call fcn.00471a00
lea eax, [ebp - 0xc8]
push 0x1f
push str.Failed_to_load_Chrome_DLL_from
push eax
call fcn.0042d698
add esp, 0xc
lea ecx, [ebp - 0xe4]
push ecx
push eax
call fcn.00471ca0
add esp, 8
mov ecx, edi
call fcn.00471b70
mov dword [esi + 4], 0
mov esi, 7
cmp byte [ebp - 0xd9], 0
jns 0x42ddf8
push dword [ebp - 0xe4]
call fcn.00528424
add esp, 4
mov eax, dword [ebp - 0xd4]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x59f9d0]
bt edx, ecx
jae 0x42de1d
push eax
call fcn.0042f1aa
add esp, 4
mov dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xd8]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x59f9d0]
bt edx, ecx
jae 0x42de4c
push eax
call fcn.0042f1aa
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00528e13
mov eax, esi
add esp, 0xf0
pop esi
pop edi
pop ebx
pop ebp
ret 0xc