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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49ed83
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.00484620
test al, al
je 0x478a03
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x478a03
call fcn.00482e30
test eax, eax
je 0x478a03
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x20]
mov byte [esp + 0x20], al
call fcn.00401bb0
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.0040aba0
test al, al
je 0x47898a
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.0040ab80
mov al, byte [esp + 0x9c]
mov dword [esp + 0x94], 0
test al, al
je 0x4789b7
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 0x4789cc
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.00430fa0
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4789e2
mov eax, 0x4a014c
mov ecx, dword [ebp + 0x10]
push 0
push eax
call fcn.004835e0
push 1
lea ecx, [esp + 0x20]
mov dword [esp + 0x98], 0xffffffff
call fcn.00401bb0
mov al, byte [ebp + 4]
xor esi, esi
test al, al
mov dword [ebp + 0xc], esi
jne 0x478a21
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 0x478a42
mov eax, dword [ebp + 0x1c]
mov byte [eax + 2], 1
jmp 0x478a49
mov ecx, dword [ebp + 0x1c]
mov byte [ecx + 2], 0
mov al, byte [ebp + 4]
test al, al
je 0x478a98
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.0047db00
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.00484c00
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.00484e10
mov ebp, dword [ebp + 0x18]
mov ebx, eax
add ebp, 8
cmp ebx, esi
movsx ax, byte [ebp]
mov dword [esp + 0x14], eax
je 0x478add
cmp ax, si
je 0x478a7a
mov al, byte [esp + 0x13]
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x30], al
call fcn.00401bb0
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.0040aba0
test al, al
je 0x478b3e
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.0040ab80
mov al, byte [esp + 0x9c]
test al, al
je 0x478b69
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.00430fa0
jmp 0x478bd3
mov edi, str.false
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x34]
repne scasb al, byte es:[edi]
mov eax, dword [0x4a0148]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x478b8e
call fcn.0048d50b
test esi, esi
jbe 0x478bd3
mov ecx, dword [esp + 0x34]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x30]
push ebp
call fcn.0040aba0
test al, al
je 0x478bd3
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.0040ab80
test ebx, ebx
jne 0x478cd0
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.00401bb0
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.0040aba0
test al, al
je 0x478c32
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.0040ab80
sub esp, 0x10
lea eax, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
mov byte [esp + 0xb8], 2
call fcn.0040a690
push 0xfffffffffffffff6
lea ecx, [esp + 0x88]
mov byte [esp + 0xb8], 1
call fcn.00481f40
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.00401bb0
mov eax, dword [0x4a0148]
lea ecx, [esp + 0x44]
push eax
push 0
push edi
call fcn.0040a8e0
add esi, 0x18
lea ecx, [esp + 0x54]
push esi
mov byte [esp + 0x98], 4
call fcn.0040a690
lea ecx, [esp + 0x3c]
push 0x4abb48
push ecx
mov dword [esp + 0x44], 0x4a0270
mov byte [esp + 0x9c], 3
call fcn.0048e553
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.00401bb0
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.0040aba0
test al, al
je 0x478d2b
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.0040a690
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x84]
push eax
mov byte [esp + 0xb8], 1
call fcn.00481f40
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.00401bb0
mov eax, dword [0x4a0148]
lea ecx, [esp + 0x44]
push eax
push 0
push edi
call fcn.0040a8e0
add esi, 0x18
lea ecx, [esp + 0x54]
push esi
mov byte [esp + 0x98], 7
call fcn.0040a690
lea ecx, [esp + 0x3c]
push 0x4abb48
push ecx
mov dword [esp + 0x44], 0x4a0270
mov byte [esp + 0x9c], bl
call fcn.0048e553
nop
nop
nop
nop