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

Disassembly:
push 0xffffffffffffffff
push 0x4f50a0
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 [0x513184], 3
call fcn.004c7e90
mov al, byte [ebp + 4]
mov dword [esp + 0x530], 1
test al, al
jne 0x4c3f62
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.004cc820
mov ebx, dword [esp + 0x53c]
test al, al
je 0x4c40bc
mov ecx, dword [ebp + 0x10]
cmp ecx, esi
je 0x4c40bc
call fcn.004d15a0
test eax, eax
je 0x4c40bc
mov cl, byte [esp + 0x13]
push esi
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x18]
call fcn.00414090
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.004144a0
test al, al
je 0x4c3fec
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.00414480
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.004df995
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.00414200
mov edi, 0x513488
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x513488
lea ecx, [esp + 0x1c]
call fcn.00414200
movsx ecx, word [esp + 0x540]
lea eax, [esp + 0x74]
push 0xa
push eax
push ecx
call fcn.004df995
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.00414200
mov edi, 0x5131d0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x5131d0
lea ecx, [esp + 0x1c]
call fcn.00414200
mov eax, dword [esp + 0x18]
cmp eax, esi
jne 0x4c409f
mov eax, 0x4f7480
mov ecx, dword [ebp + 0x10]
push esi
push eax
call fcn.004d1fb0
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x534], 1
call fcn.00414090
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 0x4c40fb
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 0x4c4199
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.004c6dd0
mov esi, dword [esp + 0x538]
mov al, byte [esp + 0x48]
lea ecx, [esp + 0x48]
mov byte [esi], al
call fcn.004c6bc0
test eax, eax
jge 0x4c4150
xor eax, eax
shl eax, 4
push eax
call fcn.004dee45
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.004c6be0
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.004beff0
mov dword [esp + 0x2c], 1
jmp 0x4c47d8
mov ecx, dword [ebp + 0x14]
push 5
push ecx
mov ecx, dword [ebp]
call fcn.004d6ec0
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.004d70f0
cmp eax, esi
jne 0x4c4372
mov al, byte [esp + 0x13]
push esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], al
call fcn.00414090
and ebx, 0xff
lea ecx, [esp + 0x9c]
push ebx
push str.BYTE_ucAddressCode__0x_02X_
push ecx
mov byte [esp + 0x53c], 4
call fcn.004de8d6
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 0x4c422d
call fcn.004de1ab
cmp ebx, esi
jbe 0x4c4273
mov eax, dword [esp + 0x1c]
push esi
lea ecx, [esp + 0x18]
lea ebp, [eax + ebx]
push ebp
call fcn.004144a0
test al, al
je 0x4c4273
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.00414480
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.00414090
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.004144a0
test al, al
je 0x4c42cb
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.00414480
sub esp, 0x10
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
mov byte [esp + 0x554], 5
call fcn.00413ad0
push 0xfffffffffffffff6
lea ecx, [esp + 0x124]
mov byte [esp + 0x554], 4
call fcn.004d6290
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.00414090
mov eax, dword [0x4f73d0]
lea ecx, [esp + 0x7c]
push eax
push 0
push edi
call fcn.00413e90
add esi, 0x18
lea ecx, [esp + 0x8c]
push esi
mov byte [esp + 0x534], 7
call fcn.00413ad0
lea ecx, [esp + 0x74]
push 0x509890
push ecx
mov dword [esp + 0x7c], 0x4f8108
mov byte [esp + 0x538], bl
call fcn.004df95b
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 0x4c43ed
mov esi, dword [esp + 0x538]
mov dl, byte [esp + 0x48]
lea ecx, [esp + 0x48]
mov byte [esi], dl
call fcn.004c6bc0
cmp eax, ebx
jge 0x4c43a4
xor eax, eax
shl eax, 4
push eax
call fcn.004dee45
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.004c6be0
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.004beff0
mov dword [esp + 0x2c], 1
jmp 0x4c47d8
lea ecx, [esp + 0x30]
call fcn.004be1a0
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 0x4c447d
cmp word [esp + 0x24], 1
movzx di, byte [esi]
jne 0x4c442c
test di, di
je 0x4c4460
inc esi
push edi
push esi
lea ecx, [esp + 0x38]
call fcn.004be740
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x30]
push ecx
push 1
push edx
lea ecx, [esp + 0x40]
call fcn.004148e0
movsx eax, di
mov ecx, dword [esp + 0x3c]
add esi, eax
movsx eax, word [esp + 0x24]
inc ebx
cmp ebx, eax
jl 0x4c441b
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4c447d
sub ecx, eax
sar ecx, 2
je 0x4c447d
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x4c]
call fcn.004c8200
call fcn.004cc820
test al, al
je 0x4c4713
mov ebp, dword [ebp + 0x10]
test ebp, ebp
je 0x4c4713
mov ecx, ebp
call fcn.004d15a0
test eax, eax
je 0x4c4713
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], dl
call fcn.00414090
mov edi, 0x520010
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.004144a0
test al, al
je 0x4c44fd
mov edi, dword [esp + 0x18]
mov ecx, ebx
mov eax, ecx
mov esi, 0x520010
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.004be1a0
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.004c8470
test ax, ax
jle 0x4c46d5
xor ebx, ebx
push esi
lea ecx, [esp + 0x4c]
call fcn.004c83b0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4c46bc
mov edx, dword [eax + 8]
sub edx, ecx
sar edx, 2
cmp ebx, edx
jae 0x4c46bc
push ebx
push esi
lea ecx, [esp + 0x50]
call fcn.004c83b0
mov ecx, eax
call fcn.00413d50
push ecx
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
call fcn.004be1b0
lea ecx, [esp + 0x28]
call fcn.004be4d0
lea ecx, [esp + 0x24]
call fcn.004be680
lea ecx, [esp + 0x24]
mov ebp, eax
xor esi, esi
call fcn.004be660
test ax, ax
jle 0x4c45df
lea edi, [esp + 0x128]
xor eax, eax
mov al, byte [esi + ebp]
push eax
push str._.2X
push edi
call fcn.004de8d6
add esp, 0xc
lea ecx, [esp + 0x24]
inc esi
add edi, 3
call fcn.004be660
movsx ecx, ax
cmp esi, ecx
jl 0x4c45b7
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.004144a0
test al, al
je 0x4c4625
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 0x4c464d
call fcn.004de1ab
test esi, esi
jbe 0x4c4696
mov edx, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x18]
lea ebp, [edx + esi]
push ebp
call fcn.004144a0
test al, al
je 0x4c4696
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 0x4c46a3
mov eax, 0x4f7480
mov edx, dword [esp + 0x44]
push 0
push eax
mov ecx, dword [edx + 0x10]
call fcn.004d1fb0
mov esi, dword [esp + 0x28]
inc ebx
jmp 0x4c4548
inc esi
lea ecx, [esp + 0x48]
mov dword [esp + 0x28], esi
call fcn.004c8470
movsx eax, ax
cmp esi, eax
jl 0x4c4546
lea ecx, [esp + 0x24]
mov byte [esp + 0x530], 0xb
call fcn.004be2e0
mov eax, dword [esp + 0x18]
mov byte [esp + 0x530], 0xa
test eax, eax
je 0x4c4713
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4c470a
cmp al, 0xff
je 0x4c470a
dec al
mov byte [ecx], al
jmp 0x4c4713
push ecx
call fcn.004de1a0
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 0x4c472c
xor eax, eax
jmp 0x4c4735
mov eax, dword [esp + 0x50]
sub eax, ecx
sar eax, 4
test eax, eax
jge 0x4c473b
xor eax, eax
shl eax, 4
push eax
call fcn.004dee45
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.004c6be0
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.004c6a60
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 0x4c47b0
mov ecx, edi
call fcn.004be2e0
add edi, 4
cmp edi, ebx
jne 0x4c479e
mov edi, dword [esp + 0x38]
push edi
call fcn.004de1a0
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.004be2e0
lea ecx, [esp + 0x48]
mov byte [esp + 0x530], 0
call fcn.004c7f90
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