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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48a923
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.0041a020
test al, al
je 0x409b03
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x409b03
call fcn.0044b050
test eax, eax
je 0x409b03
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x20]
mov byte [esp + 0x20], al
call fcn.004024d0
mov edi, str.CCommWithEcu::BoschKeepLink_
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x20]
push ebx
call fcn.00402900
test al, al
je 0x409a8a
mov edi, dword [esp + 0x20]
mov ecx, ebx
mov edx, ecx
mov esi, str.CCommWithEcu::BoschKeepLink_
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
call fcn.004028e0
mov al, byte [esp + 0x9c]
mov dword [esp + 0x94], 0
test al, al
je 0x409ab7
mov edi, str.true_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.true_
jmp 0x409acc
mov edi, str.false_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.false_
lea ecx, [esp + 0x24]
call fcn.0040f8b0
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x409ae2
mov eax, 0x490148
mov ecx, dword [ebp + 0x10]
push 0
push eax
call fcn.00418a80
push 1
lea ecx, [esp + 0x20]
mov dword [esp + 0x98], 0xffffffff
call fcn.004024d0
mov al, byte [ebp + 4]
xor esi, esi
test al, al
mov dword [ebp + 0xc], esi
jne 0x409b21
mov edi, dword [ebp + 0x14]
mov ecx, 0x19
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0x1c], eax
mov ecx, dword [ebp + 0x1c]
mov al, byte [esp + 0x9c]
test al, al
mov byte [ecx], 2
mov edx, dword [ebp + 0x1c]
mov byte [edx + 1], 2
je 0x409b42
mov eax, dword [ebp + 0x1c]
mov byte [eax + 2], 1
jmp 0x409b49
mov ecx, dword [ebp + 0x1c]
mov byte [ecx + 2], 0
mov al, byte [ebp + 4]
test al, al
je 0x409b98
mov edi, dword [ebp + 0x1c]
add ebp, 0x20
add edi, 3
lea edx, [esp + 0x1c]
mov dword [ebp - 4], edi
mov eax, dword [ebp + 8]
push edx
push 1
push eax
mov ecx, ebp
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], 1
call fcn.0040fa90
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
xor ax, ax
mov dword fs:[0], ecx
pop ebx
add esp, 0x88
ret 4
mov ecx, dword [ebp + 0x14]
push 3
push ecx
mov ecx, dword [ebp]
call fcn.0041dcd0
mov edi, dword [ebp + 0x18]
mov ecx, 0x19
xor eax, eax
push 0xffff
rep stosd dword es:[edi], eax
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp]
push edx
call fcn.0041df00
mov ebp, dword [ebp + 0x18]
mov ebx, eax
add ebp, 8
cmp ebx, esi
movsx ax, byte [ebp]
mov dword [esp + 0x14], eax
je 0x409bdd
cmp ax, si
je 0x409b7a
mov al, byte [esp + 0x13]
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x30], al
call fcn.004024d0
mov edi, str.bool_bEnableKeep_
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x98], 1
mov ebp, ecx
lea ecx, [esp + 0x30]
push ebp
call fcn.00402900
test al, al
je 0x409c3e
mov edi, dword [esp + 0x30]
mov ecx, ebp
mov edx, ecx
mov esi, str.bool_bEnableKeep_
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
call fcn.004028e0
mov al, byte [esp + 0x9c]
test al, al
je 0x409c69
mov edi, str.true
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.true
lea ecx, [esp + 0x34]
call fcn.0040f8b0
jmp 0x409cd3
mov edi, str.false
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x34]
repne scasb al, byte es:[edi]
mov eax, dword [0x49014c]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x409c8e
call fcn.0047e19b
test esi, esi
jbe 0x409cd3
mov ecx, dword [esp + 0x34]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x30]
push ebp
call fcn.00402900
test al, al
je 0x409cd3
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, esi
mov esi, str.false
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
call fcn.004028e0
test ebx, ebx
jne 0x409dd0
mov al, byte [esp + 0x13]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x24], esp
push ebx
mov ecx, ebp
mov byte [ebp], al
call fcn.004024d0
mov edi, str.CCommWithEcu::BoschKeepLink___
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.00402900
test al, al
je 0x409d32
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, str.CCommWithEcu::BoschKeepLink___
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.004028e0
sub esp, 0x10
lea eax, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
mov byte [esp + 0xb8], 2
call fcn.004023b0
push 0xfffffffffffffff6
lea ecx, [esp + 0x88]
mov byte [esp + 0xb8], 1
call fcn.00417100
mov esi, eax
mov cx, word [esi + 4]
lea edi, [esi + 8]
mov word [esp + 0x40], cx
push 0
mov dl, byte [edi]
lea ecx, [esp + 0x48]
mov byte [esp + 0x98], 3
mov byte [esp + 0x48], dl
call fcn.004024d0
mov eax, dword [0x49014c]
lea ecx, [esp + 0x44]
push eax
push 0
push edi
call fcn.0040f3e0
add esi, 0x18
lea ecx, [esp + 0x54]
push esi
mov byte [esp + 0x98], 4
call fcn.004023b0
lea ecx, [esp + 0x3c]
push 0x495310
push ecx
mov dword [esp + 0x44], 0x490168
mov byte [esp + 0x9c], 3
call fcn.0047ef80
mov dl, byte [esp + 0x13]
sub esp, 0x10
mov ebx, esp
mov dword [esp + 0x28], esp
push 0
mov ecx, ebx
mov byte [ebx], dl
call fcn.004024d0
mov edi, str.BoschKeepLink___
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
mov ecx, ebx
push ebp
call fcn.00402900
test al, al
je 0x409e2b
mov edi, dword [ebx + 4]
mov ecx, ebp
mov eax, ecx
mov esi, str.BoschKeepLink___
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov dword [ebx + 8], ebp
add ebp, eax
mov byte [ebp], 0
sub esp, 0x10
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov byte [esp + 0xb8], 5
call fcn.004023b0
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x84]
push eax
mov byte [esp + 0xb8], 1
call fcn.00417100
mov esi, eax
mov cx, word [esi + 4]
lea edi, [esi + 8]
mov word [esp + 0x40], cx
mov bl, 6
mov dl, byte [edi]
push 0
lea ecx, [esp + 0x48]
mov byte [esp + 0x98], bl
mov byte [esp + 0x48], dl
call fcn.004024d0
mov eax, dword [0x49014c]
lea ecx, [esp + 0x44]
push eax
push 0
push edi
call fcn.0040f3e0
add esi, 0x18
lea ecx, [esp + 0x54]
push esi
mov byte [esp + 0x98], 7
call fcn.004023b0
lea ecx, [esp + 0x3c]
push 0x495310
push ecx
mov dword [esp + 0x44], 0x490168
mov byte [esp + 0x9c], bl
call fcn.0047ef80
nop
nop
nop
nop