Function at 0x40d2d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b009d
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x4d25ac]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push esi
push edi
mov eax, dword [0x4d25ac]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov edi, dword [ebp + 8]
xor eax, eax
mov word [esp + 0x1c], ax
xor ebx, ebx
push 0x26
mov eax, str.CFirefoxBrowser::SetHomepage__homepage
lea esi, [esp + 0x1c]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
call fcn.00401f30
mov ecx, esi
push ecx
mov ecx, edi
mov dword [esp + 0x104], ebx
call fcn.004035d0
mov edi, 8
add esp, 4
mov dword [esp + 0x100], 0xffffffff
cmp dword [esp + 0x30], edi
jb 0x40d377
mov edx, dword [esp + 0x1c]
push edx
call fcn.00491101
add esp, 4
mov eax, dword [esp + 0x14]
xor ecx, ecx
cmp byte [eax + 0x90], bl
je 0x40d3d9
push 0x32
mov eax, str.CFirefoxBrowser::SetHomepage___Firefox_is_running.
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
call fcn.00401f30
mov edx, esi
push edx
mov dword [esp + 0x104], 1
call fcn.00403780
add esp, 4
cmp dword [esp + 0x30], edi
jb 0x40d3cf
mov eax, dword [esp + 0x1c]
push eax
call fcn.00491101
add esp, 4
mov eax, 0x15
jmp 0x40d57f
mov dword [esp + 0x14], ebx
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], cx
lea edx, [esp + 0x58]
push edx
lea edi, [esp + 0x18]
mov dword [esp + 0x104], 2
mov byte [esp + 0x38], bl
call fcn.0047d380
add esp, 4
test al, al
je 0x40d55a
jmp 0x40d420
xor eax, eax
mov word [esp + 0x1c], ax
mov edi, 7
push 0x2a
mov eax, str.CFirefoxBrowser::SetHomepage__next_profile
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
call fcn.00401f30
mov ecx, esi
push ecx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x104], 3
call fcn.004035d0
add esp, 4
mov byte [esp + 0x100], 2
cmp dword [esp + 0x30], 8
jb 0x40d477
mov edx, dword [esp + 0x1c]
push edx
call fcn.00491101
add esp, 4
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x78]
push ecx
call fcn.0047cda0
mov byte [esp + 0x100], 4
xor edx, edx
push 0x18
mov eax, str.browser.startup.homepage
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], dx
call fcn.00401f30
mov eax, dword [esp + 0x38]
push eax
mov edx, esi
lea ecx, [esp + 0x78]
mov byte [esp + 0x104], 5
call fcn.0047d650
mov byte [esp + 0x100], 4
cmp dword [esp + 0x30], 8
mov byte [esp + 0x34], al
jb 0x40d4e5
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00491101
add esp, 4
xor edx, edx
push 0x25
mov eax, str.CFirefoxBrowser::SetHomepage__success
lea esi, [esp + 0x40]
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], dx
call fcn.00401f30
mov eax, dword [esp + 0x34]
push eax
mov ecx, esi
push ecx
mov byte [esp + 0x108], 6
call fcn.00403190
add esp, 8
cmp dword [esp + 0x54], 8
jb 0x40d530
mov edx, dword [esp + 0x40]
push edx
call fcn.00491101
add esp, 4
lea esi, [esp + 0x74]
mov byte [esp + 0x100], 2
call fcn.0047ce90
lea eax, [esp + 0x58]
push eax
lea edi, [esp + 0x18]
call fcn.0047d380
add esp, 4
test al, al
jne 0x40d420
xor ecx, ecx
cmp byte [esp + 0x34], bl
setne cl
dec ecx
and ecx, 0x17
cmp dword [esp + 0x70], 8
mov esi, ecx
jb 0x40d57d
mov edx, dword [esp + 0x5c]
push edx
call fcn.00491101
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.0049110c
mov esp, ebp
pop ebp
ret 4