Function at 0x4024d8
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xf4
mov edi, ecx
mov eax, dword [0x5a8564]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xfc], eax
call fcn.00455da0
mov ebx, eax
mov esi, 0x560a34
push esi
call fcn.0054c390
add esp, 4
lea edx, [ebp - 0xd0]
mov dword [ebp - 0xf8], ebx
mov ecx, ebx
push eax
push esi
push edx
call fcn.00456330
lea esi, [edi + 8]
cmp byte [edi + 0x13], 0
jns 0x402540
push dword [esi]
call fcn.005327b0
add esp, 4
mov eax, dword [ebp - 0xc8]
mov dword [esi + 8], eax
movsd xmm0, qword [ebp - 0xd0]
movsd qword [esi], xmm0
xor eax, eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
movzx eax, byte [edi + 0x13]
test al, al
jns 0x40256e
mov eax, dword [edi + 0xc]
mov dword [ebp - 0xf4], esi
mov dword [ebp - 0xe8], edi
mov dword [ebp - 0xf0], eax
test eax, eax
jne 0x4025a1
call sub.chrome_elf.dll_IsExtensionPointDisableSet
movzx eax, al
shl eax, 0xc
lea ecx, [ebp - 0xd8]
push 0
push eax
push ecx
call fcn.00403114
add esp, 0xc
xor ebx, ebx
dec ebx
lea ecx, [ebp - 0xe4]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00452a70
mov eax, str.chrome.dll
push eax
call fcn.0054c5c4
add esp, 4
mov dword [ebp - 0xec], eax
lea esi, [ebp - 0x1c]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov ecx, esi
call fcn.00452a70
push esi
push 3
call fcn.0043cbd0
add esp, 8
lea edi, [ebp - 0x28]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov ebx, 0x56a7c4
push ebx
call fcn.0054c390
add esp, 4
mov ecx, esi
push eax
push ebx
lea esi, [ebp - 0xd0]
push esi
call fcn.004541c0
mov ecx, esi
push dword [ebp - 0xec]
mov eax, str.chrome.dll
push eax
push edi
call fcn.00453a80
mov ecx, esi
call fcn.00452ba0
mov ecx, esi
push 0x21
push edi
call fcn.004548a0
mov ecx, esi
call fcn.0043a420
mov ebx, eax
mov ecx, esi
call fcn.00454a30
test bl, bl
je 0x402658
lea ecx, [ebp - 0xd0]
push edi
call fcn.00452a90
jmp 0x40266c
lea ecx, [ebp - 0x1c]
push dword [ebp - 0xec]
push str.chrome.dll
push esi
call fcn.00453a80
lea ecx, [ebp - 0x28]
call fcn.00452ba0
lea ecx, [ebp - 0x1c]
call fcn.00452ba0
lea edi, [ebp - 0xe4]
mov ecx, edi
push esi
call fcn.00452be0
mov ecx, esi
call fcn.00452ba0
movzx eax, byte [edi + 0xb]
test al, al
jns 0x40269f
mov eax, dword [ebp - 0xe0]
lea ebx, [ebp - 0xd4]
test eax, eax
je 0x402789
mov ecx, edi
push esi
call fcn.00453200
cmp byte [ebp - 0xc5], 0
mov eax, esi
jns 0x4026c6
mov eax, dword [ebp - 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, esi
call fcn.00452ba0
push 0x7fffffff
push 0xffffffffffffffff
push 1
push edi
call fcn.0043c0f0
add esp, 0x10
cmp byte [ebp - 0xd9], 0
jns 0x4026f5
mov edi, dword [ebp - 0xe4]
push 8
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
je 0x4027da
mov ecx, dword [ebp - 0xe8]
mov dword [ecx + 4], eax
cmp dword [ebp - 0xf0], 0
je 0x402727
push 1
push 0x27f
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
mov edi, dword [ebp - 0xe8]
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [section..00cfg]
lea eax, [ebp - 0xe4]
mov ecx, edi
push eax
push dword [ebp - 0xf4]
push dword [ebp - 0xf8]
call esi
push str.ChromeMain
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call dword [section..00cfg]
lea eax, [ebp - 0xd8]
push dword [ebp - 0xfc]
push dword [ebp - 0x100]
push eax
push dword [ebp + 8]
call ecx
add esp, 0x10
mov esi, eax
jmp 0x40283d
push 2
call fcn.0044f030
add esp, 4
test al, al
mov edi, dword [ebp - 0xe8]
je 0x402831
call fcn.0044ff30
mov ecx, esi
push eax
push 2
push 0x68
push str.....chrome_appmain_dll_loader_win.cc
call fcn.004500d0
lea eax, [ebp - 0xc8]
push 0x13
push str.Cannot_find_module
push eax
call fcn.0040218b
add esp, 0xc
push str.chrome.dll
push eax
call fcn.00450220
jmp 0x402827
push 2
call fcn.0044f030
add esp, 4
test al, al
mov edi, dword [ebp - 0xe8]
je 0x402831
call fcn.0044ff30
mov ecx, esi
push eax
push 2
push 0x6d
push str.....chrome_appmain_dll_loader_win.cc
call fcn.004500d0
lea eax, [ebp - 0xc8]
push 0x1f
push str.Failed_to_load_Chrome_DLL_from
push eax
call fcn.0040218b
add esp, 0xc
lea ecx, [ebp - 0xe4]
push ecx
push eax
call fcn.00450250
add esp, 8
mov ecx, esi
call fcn.00450180
mov dword [edi + 4], 0
mov esi, 7
lea ecx, [ebp - 0xe4]
call fcn.00452ba0
mov eax, dword [ebx]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x5aca20]
bt edx, ecx
jae 0x402869
push eax
call fcn.004050a4
add esp, 4
mov dword [ebx], 0
mov eax, dword [ebp - 0xd8]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x5aca20]
bt edx, ecx
jae 0x402894
push eax
call fcn.004050a4
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005327f1
mov eax, esi
add esp, 0xf4
pop esi
pop edi
pop ebx
pop ebp
ret 0xc