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

Disassembly:
push 0xffffffffffffffff
push 0x49efb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x518
push ebx
push ebp
push esi
mov ebp, ecx
xor esi, esi
push edi
mov dword [ebp + 0xc], esi
lea ecx, [esp + 0x48]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x2c], esi
mov byte [0x4af2a0], 3
call fcn.00473990
mov al, byte [ebp + 4]
mov dword [esp + 0x530], 1
test al, al
jne 0x47aab2
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
call fcn.00484620
mov ebx, dword [esp + 0x53c]
test al, al
je 0x47ac0c
mov ecx, dword [ebp + 0x10]
cmp ecx, esi
je 0x47ac0c
call fcn.00482e30
test eax, eax
je 0x47ac0c
mov cl, byte [esp + 0x13]
push esi
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x18]
call fcn.00401bb0
mov edi, str.CCommWithEcu::BoschEnter_
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
lea ecx, [esp + 0x18]
push edi
mov dword [esp + 0x30], edi
call fcn.0040aba0
test al, al
je 0x47ab3c
mov ecx, edi
mov edi, dword [esp + 0x18]
mov edx, ecx
mov esi, str.CCommWithEcu::BoschEnter_
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.0040ab80
xor esi, esi
mov edx, ebx
lea ecx, [esp + 0x74]
push 0x10
and edx, 0xff
push ecx
push edx
mov byte [esp + 0x53c], 2
call fcn.0048ea44
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.00430fa0
mov edi, 0x4aefd4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4aefd4
lea ecx, [esp + 0x1c]
call fcn.00430fa0
movsx ecx, word [esp + 0x540]
lea eax, [esp + 0x74]
push 0xa
push eax
push ecx
call fcn.0048ea44
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.00430fa0
mov edi, 0x4aec48
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4aec48
lea ecx, [esp + 0x1c]
call fcn.00430fa0
mov eax, dword [esp + 0x18]
cmp eax, esi
jne 0x47abef
mov eax, 0x4a014c
mov ecx, dword [ebp + 0x10]
push esi
push eax
call fcn.004835e0
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x534], 1
call fcn.00401bb0
mov edx, dword [ebp + 0x1c]
mov byte [edx], 2
mov eax, dword [ebp + 0x1c]
mov byte [eax + 1], 9
mov ecx, dword [ebp + 0x1c]
mov byte [ecx + 2], bl
movsx ecx, word [esp + 0x540]
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
mov edx, dword [ebp + 0x1c]
sar eax, 8
and ecx, 0x800000ff
mov byte [edx + 3], al
jns 0x47ac4b
dec ecx
or ecx, 0xffffff00
inc ecx
mov eax, dword [ebp + 0x1c]
mov byte [eax + 4], cl
mov al, byte [ebp + 4]
test al, al
je 0x47ace9
mov ebx, dword [ebp + 0x1c]
lea ecx, [ebp + 0x20]
add ebx, 5
lea edx, [esp + 0x6c]
mov dword [ebp + 0x1c], ebx
mov eax, dword [ecx + 8]
push edx
push 1
push eax
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], 2
call fcn.0047db00
mov esi, dword [esp + 0x538]
mov al, byte [esp + 0x48]
lea ecx, [esp + 0x48]
mov byte [esi], al
call fcn.00426100
test eax, eax
jge 0x47aca0
xor eax, eax
shl eax, 4
push eax
call fcn.0048db76
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
add esp, 4
mov dword [esi + 4], eax
push eax
push ecx
push edx
mov ecx, esi
call fcn.004261c0
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea eax, [esp + 0x58]
lea ecx, [esi + 0x10]
push eax
mov byte [esp + 0x534], 3
call fcn.00474fc0
mov dword [esp + 0x2c], 1
jmp 0x47b328
mov ecx, dword [ebp + 0x14]
push 5
push ecx
mov ecx, dword [ebp]
call fcn.00484c00
mov edi, dword [ebp + 0x18]
mov ecx, 0x3fff
xor eax, eax
push 0xffff
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp]
push edx
call fcn.00484e10
cmp eax, esi
jne 0x47aec2
mov al, byte [esp + 0x13]
push esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], al
call fcn.00401bb0
and ebx, 0xff
lea ecx, [esp + 0x9c]
push ebx
push str.BYTE_ucAddressCode__0x_02X_
push ecx
mov byte [esp + 0x53c], 4
call fcn.0048dfde
lea edi, [esp + 0xa8]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov edx, dword [0x4a0148]
not ecx
dec ecx
mov ebx, ecx
mov ecx, dword [esp + 0x1c]
sub edx, ecx
cmp edx, ebx
ja 0x47ad7d
call fcn.0048d50b
cmp ebx, esi
jbe 0x47adc3
mov eax, dword [esp + 0x1c]
push esi
lea ecx, [esp + 0x18]
lea ebp, [eax + ebx]
push ebp
call fcn.0040aba0
test al, al
je 0x47adc3
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea esi, [esp + 0x9c]
push ebp
lea edi, [edx + ecx]
mov ecx, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.0040ab80
mov cl, byte [esp + 0x13]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x54], esp
push 0
mov byte [ebp], cl
mov ecx, ebp
call fcn.00401bb0
mov edi, str.CCommWithEcu::BoschEnter__
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 0x47ae1b
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, str.CCommWithEcu::BoschEnter__
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 + 0x34]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
mov byte [esp + 0x554], 5
call fcn.0040a690
push 0xfffffffffffffff6
lea ecx, [esp + 0x124]
mov byte [esp + 0x554], 4
call fcn.00481f40
mov esi, eax
mov cx, word [esi + 4]
lea edi, [esi + 8]
mov word [esp + 0x78], cx
mov bl, 6
mov dl, byte [edi]
push 0
lea ecx, [esp + 0x80]
mov byte [esp + 0x534], bl
mov byte [esp + 0x80], dl
call fcn.00401bb0
mov eax, dword [0x4a0148]
lea ecx, [esp + 0x7c]
push eax
push 0
push edi
call fcn.0040a8e0
add esi, 0x18
lea ecx, [esp + 0x8c]
push esi
mov byte [esp + 0x534], 7
call fcn.0040a690
lea ecx, [esp + 0x74]
push 0x4abb48
push ecx
mov dword [esp + 0x7c], 0x4a0270
mov byte [esp + 0x538], bl
call fcn.0048e553
mov esi, dword [ebp + 0x18]
xor ebx, ebx
add esi, 8
movzx di, byte [esi]
inc esi
cmp di, bx
mov dword [esp + 0x24], edi
jne 0x47af3d
mov esi, dword [esp + 0x538]
mov dl, byte [esp + 0x48]
lea ecx, [esp + 0x48]
mov byte [esi], dl
call fcn.00426100
cmp eax, ebx
jge 0x47aef4
xor eax, eax
shl eax, 4
push eax
call fcn.0048db76
mov ecx, dword [esp + 0x50]
add esp, 4
mov dword [esi + 4], eax
push eax
mov eax, dword [esp + 0x54]
push eax
push ecx
mov ecx, esi
call fcn.004261c0
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea edx, [esp + 0x58]
lea ecx, [esi + 0x10]
push edx
mov byte [esp + 0x534], 8
call fcn.00474fc0
mov dword [esp + 0x2c], 1
jmp 0x47b328
lea ecx, [esp + 0x30]
call fcn.0046eb20
mov al, byte [esp + 0x13]
xor ecx, ecx
mov byte [esp + 0x34], al
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ebx
movsx eax, di
cmp eax, ebx
mov byte [esp + 0x530], 0xa
jle 0x47afcd
cmp word [esp + 0x24], 1
movzx di, byte [esi]
jne 0x47af7c
test di, di
je 0x47afb0
inc esi
push edi
push esi
lea ecx, [esp + 0x38]
call fcn.0046f0b0
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x30]
push ecx
push 1
push edx
lea ecx, [esp + 0x40]
call fcn.00401c40
movsx eax, di
mov ecx, dword [esp + 0x3c]
add esi, eax
movsx eax, word [esp + 0x24]
inc ebx
cmp ebx, eax
jl 0x47af6b
mov eax, dword [esp + 0x38]
test eax, eax
je 0x47afcd
sub ecx, eax
sar ecx, 2
je 0x47afcd
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00473d00
call fcn.00484620
test al, al
je 0x47b263
mov ebp, dword [ebp + 0x10]
test ebp, ebp
je 0x47b263
mov ecx, ebp
call fcn.00482e30
test eax, eax
je 0x47b263
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], dl
call fcn.00401bb0
mov edi, 0x4b63f0
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x18]
push ebx
call fcn.0040aba0
test al, al
je 0x47b04d
mov edi, dword [esp + 0x18]
mov ecx, ebx
mov eax, ecx
mov esi, 0x4b63f0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], ebx
mov byte [ecx + ebx], 0
lea ecx, [esp + 0x24]
mov byte [esp + 0x530], 0xb
call fcn.0046eb20
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x128]
mov byte [esp + 0x128], 0
rep stosd dword es:[edi], eax
xor esi, esi
lea ecx, [esp + 0x48]
mov byte [esp + 0x530], 0xc
mov dword [esp + 0x28], esi
call fcn.00473f70
test ax, ax
jle 0x47b225
xor ebx, ebx
push esi
lea ecx, [esp + 0x4c]
call fcn.00473f60
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x47b20c
mov edx, dword [eax + 8]
sub edx, ecx
sar edx, 2
cmp ebx, edx
jae 0x47b20c
push ebx
push esi
lea ecx, [esp + 0x50]
call fcn.00473f60
mov ecx, eax
call fcn.00401ba0
push ecx
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
call fcn.0046eb30
lea ecx, [esp + 0x28]
call fcn.0046ee50
lea ecx, [esp + 0x24]
call fcn.0046eff0
lea ecx, [esp + 0x24]
mov ebp, eax
xor esi, esi
call fcn.0046efe0
test ax, ax
jle 0x47b12f
lea edi, [esp + 0x128]
xor eax, eax
mov al, byte [esi + ebp]
push eax
push str._.2X
push edi
call fcn.0048dfde
add esp, 0xc
lea ecx, [esp + 0x24]
inc esi
add edi, 3
call fcn.0046efe0
movsx ecx, ax
cmp esi, ecx
jl 0x47b107
mov edi, str.Ans:
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
call fcn.0040aba0
test al, al
je 0x47b175
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
mov esi, str.Ans:
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov byte [eax + ebp], 0
lea edi, [esp + 0x128]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [0x4a0148]
sub ecx, edx
cmp ecx, esi
ja 0x47b19d
call fcn.0048d50b
test esi, esi
jbe 0x47b1e6
mov edx, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x18]
lea ebp, [edx + esi]
push ebp
call fcn.0040aba0
test al, al
je 0x47b1e6
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, esi
lea esi, [esp + 0x128]
lea edi, [edx + eax]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov byte [ecx + ebp], 0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x47b1f3
mov eax, 0x4a014c
mov edx, dword [esp + 0x44]
push 0
push eax
mov ecx, dword [edx + 0x10]
call fcn.004835e0
mov esi, dword [esp + 0x28]
inc ebx
jmp 0x47b098
inc esi
lea ecx, [esp + 0x48]
mov dword [esp + 0x28], esi
call fcn.00473f70
movsx eax, ax
cmp esi, eax
jl 0x47b096
lea ecx, [esp + 0x24]
mov byte [esp + 0x530], 0xb
call fcn.0046ec60
mov eax, dword [esp + 0x18]
mov byte [esp + 0x530], 0xa
test eax, eax
je 0x47b263
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x47b25a
cmp al, 0xff
je 0x47b25a
dec al
mov byte [ecx], al
jmp 0x47b263
push ecx
call fcn.0048d500
add esp, 4
mov esi, dword [esp + 0x538]
mov cl, byte [esp + 0x48]
mov byte [esi], cl
mov ecx, dword [esp + 0x4c]
test ecx, ecx
jne 0x47b27c
xor eax, eax
jmp 0x47b285
mov eax, dword [esp + 0x50]
sub eax, ecx
sar eax, 4
test eax, eax
jge 0x47b28b
xor eax, eax
shl eax, 4
push eax
call fcn.0048db76
mov edx, dword [esp + 0x54]
add esp, 4
mov dword [esi + 4], eax
mov ecx, esi
push eax
mov eax, dword [esp + 0x50]
push edx
push eax
call fcn.004261c0
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea ecx, [esp + 0x58]
lea edi, [esi + 0x10]
push ecx
mov ecx, edi
mov byte [esp + 0x534], 0xd
call fcn.0047d8e0
mov dl, byte [esp + 0x68]
mov eax, dword [esp + 0x3c]
mov byte [edi + 0x10], dl
mov edi, dword [esp + 0x38]
cmp edi, eax
mov dword [esp + 0x2c], 1
mov byte [esp + 0x530], 9
mov ebx, eax
je 0x47b300
mov ecx, edi
call fcn.0046ec60
add edi, 4
cmp edi, ebx
jne 0x47b2ee
mov edi, dword [esp + 0x38]
push edi
call fcn.0048d500
xor eax, eax
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov byte [esp + 0x530], 1
call fcn.0046ec60
lea ecx, [esp + 0x48]
mov byte [esp + 0x530], 0
call fcn.00473a90
mov ecx, dword [esp + 0x528]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x524
ret 0xc