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

Disassembly:
push 0xffffffffffffffff
push 0x4f5110
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 [0x5132e0], 3
call fcn.004c86c0
mov al, byte [ebp + 4]
mov dword [esp + 0x530], 1
test al, al
jne 0x4c4732
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.004cd070
mov ebx, dword [esp + 0x53c]
test al, al
je 0x4c488c
mov ecx, dword [ebp + 0x10]
cmp ecx, esi
je 0x4c488c
call fcn.004d1e50
test eax, eax
je 0x4c488c
mov cl, byte [esp + 0x13]
push esi
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x18]
call fcn.00411e90
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.00412290
test al, al
je 0x4c47bc
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.00412270
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.004e0015
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.00411ff0
mov edi, 0x5135e4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x5135e4
lea ecx, [esp + 0x1c]
call fcn.00411ff0
movsx ecx, word [esp + 0x540]
lea eax, [esp + 0x74]
push 0xa
push eax
push ecx
call fcn.004e0015
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.00411ff0
mov edi, 0x51332c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x51332c
lea ecx, [esp + 0x1c]
call fcn.00411ff0
mov eax, dword [esp + 0x18]
cmp eax, esi
jne 0x4c486f
mov eax, 0x4f7480
mov ecx, dword [ebp + 0x10]
push esi
push eax
call fcn.004d2840
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x534], 1
call fcn.00411e90
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 0x4c48cb
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 0x4c4969
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.004c7660
mov esi, dword [esp + 0x538]
mov al, byte [esp + 0x48]
lea ecx, [esp + 0x48]
mov byte [esi], al
call fcn.004c7450
test eax, eax
jge 0x4c4920
xor eax, eax
shl eax, 4
push eax
call fcn.004df7b5
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.004c7470
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.004bf7c0
mov dword [esp + 0x2c], 1
jmp 0x4c4fa8
mov ecx, dword [ebp + 0x14]
push 5
push ecx
mov ecx, dword [ebp]
call fcn.004d7870
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.004d7aa0
cmp eax, esi
jne 0x4c4b42
mov al, byte [esp + 0x13]
push esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], al
call fcn.00411e90
and ebx, 0xff
lea ecx, [esp + 0x9c]
push ebx
push str.BYTE_ucAddressCode__0x_02X_
push ecx
mov byte [esp + 0x53c], 4
call fcn.004df246
lea edi, [esp + 0xa8]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov edx, dword [0x4f73d0]
not ecx
dec ecx
mov ebx, ecx
mov ecx, dword [esp + 0x1c]
sub edx, ecx
cmp edx, ebx
ja 0x4c49fd
call fcn.004deb1b
cmp ebx, esi
jbe 0x4c4a43
mov eax, dword [esp + 0x1c]
push esi
lea ecx, [esp + 0x18]
lea ebp, [eax + ebx]
push ebp
call fcn.00412290
test al, al
je 0x4c4a43
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.00412270
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.00411e90
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.00412290
test al, al
je 0x4c4a9b
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.00412270
sub esp, 0x10
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
mov byte [esp + 0x554], 5
call fcn.004118e0
push 0xfffffffffffffff6
lea ecx, [esp + 0x124]
mov byte [esp + 0x554], 4
call fcn.004d6c20
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.00411e90
mov eax, dword [0x4f73d0]
lea ecx, [esp + 0x7c]
push eax
push 0
push edi
call fcn.00411c90
add esi, 0x18
lea ecx, [esp + 0x8c]
push esi
mov byte [esp + 0x534], 7
call fcn.004118e0
lea ecx, [esp + 0x74]
push 0x509610
push ecx
mov dword [esp + 0x7c], 0x4f8190
mov byte [esp + 0x538], bl
call fcn.004dffdb
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 0x4c4bbd
mov esi, dword [esp + 0x538]
mov dl, byte [esp + 0x48]
lea ecx, [esp + 0x48]
mov byte [esi], dl
call fcn.004c7450
cmp eax, ebx
jge 0x4c4b74
xor eax, eax
shl eax, 4
push eax
call fcn.004df7b5
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.004c7470
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.004bf7c0
mov dword [esp + 0x2c], 1
jmp 0x4c4fa8
lea ecx, [esp + 0x30]
call fcn.004be970
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 0x4c4c4d
cmp word [esp + 0x24], 1
movzx di, byte [esi]
jne 0x4c4bfc
test di, di
je 0x4c4c30
inc esi
push edi
push esi
lea ecx, [esp + 0x38]
call fcn.004bef10
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x30]
push ecx
push 1
push edx
lea ecx, [esp + 0x40]
call fcn.004126e0
movsx eax, di
mov ecx, dword [esp + 0x3c]
add esi, eax
movsx eax, word [esp + 0x24]
inc ebx
cmp ebx, eax
jl 0x4c4beb
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4c4c4d
sub ecx, eax
sar ecx, 2
je 0x4c4c4d
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x4c]
call fcn.004c8a30
call fcn.004cd070
test al, al
je 0x4c4ee3
mov ebp, dword [ebp + 0x10]
test ebp, ebp
je 0x4c4ee3
mov ecx, ebp
call fcn.004d1e50
test eax, eax
je 0x4c4ee3
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], dl
call fcn.00411e90
mov edi, 0x520168
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.00412290
test al, al
je 0x4c4ccd
mov edi, dword [esp + 0x18]
mov ecx, ebx
mov eax, ecx
mov esi, 0x520168
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.004be970
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.004c8ca0
test ax, ax
jle 0x4c4ea5
xor ebx, ebx
push esi
lea ecx, [esp + 0x4c]
call fcn.004c8be0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4c4e8c
mov edx, dword [eax + 8]
sub edx, ecx
sar edx, 2
cmp ebx, edx
jae 0x4c4e8c
push ebx
push esi
lea ecx, [esp + 0x50]
call fcn.004c8be0
mov ecx, eax
call fcn.00411b50
push ecx
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
call fcn.004be980
lea ecx, [esp + 0x28]
call fcn.004beca0
lea ecx, [esp + 0x24]
call fcn.004bee50
lea ecx, [esp + 0x24]
mov ebp, eax
xor esi, esi
call fcn.004bee30
test ax, ax
jle 0x4c4daf
lea edi, [esp + 0x128]
xor eax, eax
mov al, byte [esi + ebp]
push eax
push str._.2X
push edi
call fcn.004df246
add esp, 0xc
lea ecx, [esp + 0x24]
inc esi
add edi, 3
call fcn.004bee30
movsx ecx, ax
cmp esi, ecx
jl 0x4c4d87
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.00412290
test al, al
je 0x4c4df5
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 [0x4f73d0]
sub ecx, edx
cmp ecx, esi
ja 0x4c4e1d
call fcn.004deb1b
test esi, esi
jbe 0x4c4e66
mov edx, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x18]
lea ebp, [edx + esi]
push ebp
call fcn.00412290
test al, al
je 0x4c4e66
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 0x4c4e73
mov eax, 0x4f7480
mov edx, dword [esp + 0x44]
push 0
push eax
mov ecx, dword [edx + 0x10]
call fcn.004d2840
mov esi, dword [esp + 0x28]
inc ebx
jmp 0x4c4d18
inc esi
lea ecx, [esp + 0x48]
mov dword [esp + 0x28], esi
call fcn.004c8ca0
movsx eax, ax
cmp esi, eax
jl 0x4c4d16
lea ecx, [esp + 0x24]
mov byte [esp + 0x530], 0xb
call fcn.004beab0
mov eax, dword [esp + 0x18]
mov byte [esp + 0x530], 0xa
test eax, eax
je 0x4c4ee3
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4c4eda
cmp al, 0xff
je 0x4c4eda
dec al
mov byte [ecx], al
jmp 0x4c4ee3
push ecx
call fcn.004deb10
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 0x4c4efc
xor eax, eax
jmp 0x4c4f05
mov eax, dword [esp + 0x50]
sub eax, ecx
sar eax, 4
test eax, eax
jge 0x4c4f0b
xor eax, eax
shl eax, 4
push eax
call fcn.004df7b5
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.004c7470
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.004c72f0
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 0x4c4f80
mov ecx, edi
call fcn.004beab0
add edi, 4
cmp edi, ebx
jne 0x4c4f6e
mov edi, dword [esp + 0x38]
push edi
call fcn.004deb10
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.004beab0
lea ecx, [esp + 0x48]
mov byte [esp + 0x530], 0
call fcn.004c87c0
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