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

Disassembly:
push 0xffffffffffffffff
push 0x52e9db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
push edi
push 0
push 0
sub esp, 0x10
mov ebp, ecx
mov eax, esp
mov dword [esp + 0x28], esp
push 0x17
push eax
mov ecx, 0x55eb50
call fcn.004b2c30
sub esp, 0x10
mov dword [esp + 0x98], 0
mov ecx, esp
mov dword [esp + 0x3c], esp
push 7
push ecx
mov ecx, 0x55eb50
call fcn.004b2c30
or edi, 0xffffffff
mov ecx, 0x55b3d0
mov dword [esp + 0x98], edi
call fcn.004995c0
mov eax, dword [ebp + 0xe8]
lea esi, [ebp + 0xe4]
lea edx, [esp + 0x14]
push eax
push edx
mov ecx, esi
call fcn.004d9680
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.004effe0
mov eax, dword [ebp + 0x4c]
mov edx, dword [ebp + 0x48]
lea ecx, [ebp + 0x44]
push eax
push edx
call fcn.004efca0
call fcn.004a1910
test al, al
je 0x4e8a23
mov eax, dword [esp + 0x80]
test eax, eax
je 0x4e8a23
mov edx, dword [ebp + 0xd4]
mov ecx, dword [edx + 0x201c]
test ecx, ecx
je 0x4e8a23
push str.Read_DTC
call fcn.004aa850
push 0x420
call fcn.00514b36
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x70], 1
je 0x4e8a49
mov ecx, eax
call fcn.0050eff0
jmp 0x4e8a4b
xor eax, eax
mov dword [ebp + 0xd0], eax
mov al, byte [esp + 0x78]
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x74], edi
mov byte [esp + 0x1c], al
call fcn.00405cc0
mov esi, dword [esp + 0x78]
lea ecx, [esp + 0x28]
mov dword [esp + 0x70], 2
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x44]
push eax
push ecx
mov ecx, dword [ebp + 0xcc]
call fcn.004e8220
mov edx, dword [0x531160]
lea ecx, [esp + 0x18]
push edx
push 0
push eax
mov byte [esp + 0x7c], 3
call fcn.00407be0
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x74], 2
call fcn.00405cc0
lea eax, [esp + 0x58]
push eax
call fcn.004a16f0
add esp, 4
mov eax, dword [eax + 4]
mov byte [esp + 0x70], 4
test eax, eax
mov edi, 0x53115c
je 0x4e8ad3
mov edi, eax
lea ecx, [esp + 0x48]
push ecx
call fcn.004a14f0
push 0x54efcc
lea edx, [esp + 0x40]
push eax
push edx
mov byte [esp + 0x80], 5
call fcn.0040f3f0
lea ecx, [esp + 0x28]
lea edx, [esp + 0x38]
push ecx
mov bl, 6
push eax
push edx
mov byte [esp + 0x8c], bl
call fcn.004ab380
add esp, 0x1c
mov eax, dword [eax + 4]
mov byte [esp + 0x70], 7
test eax, eax
jne 0x4e8b22
mov eax, 0x53115c
mov ecx, dword [ebp + 0xd0]
push edi
push eax
call fcn.004e7d70
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x74], bl
call fcn.00405cc0
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x74], 5
call fcn.00405cc0
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x74], 4
call fcn.00405cc0
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x74], 2
call fcn.00405cc0
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
cmp eax, ecx
mov dword [esp + 0x10], eax
je 0x4e8cc1
mov cl, byte [ebp + 0xe0]
inc cl
mov byte [ebp + 0xe0], cl
mov ebx, dword [ebp + 0x3c]
mov esi, dword [ebp + 0x38]
cmp ebx, ebx
mov edi, ebx
je 0x4e8bac
push edi
mov ecx, esi
call fcn.004f1360
add edi, 0x4c
add esi, 0x4c
cmp edi, ebx
jne 0x4e8b9a
mov ebx, dword [ebp + 0x3c]
mov edi, esi
cmp esi, ebx
je 0x4e8bc5
push 0
mov ecx, edi
call fcn.004f15e0
add edi, 0x4c
cmp edi, ebx
jne 0x4e8bb5
mov eax, dword [esp + 0x10]
mov dword [ebp + 0x3c], esi
lea edi, [ebp + 0x54]
mov ecx, 0x15
mov esi, eax
push eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
call fcn.004e99d0
test ax, ax
je 0x4e8c16
cmp ax, 0xfffe
je 0x4e8c35
cmp ax, 0xfffd
je 0x4e8c6a
mov esi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x10]
movsx edx, ax
push esi
push ecx
push edx
mov ecx, ebp
call fcn.004eb2a0
test eax, eax
je 0x4e8cbc
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x10]
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x10]
add eax, 0x54
mov edx, dword [ecx + 8]
mov dword [esp + 0x10], eax
cmp eax, edx
jne 0x4e8b80
jmp 0x4e8cc1
mov edx, dword [esp + 0x7c]
mov dword [edx], 1
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4e8d10
mov al, byte [ecx - 1]
test al, al
je 0x4e8d06
cmp al, 0xff
je 0x4e8d06
dec al
mov byte [ecx - 1], al
xor eax, eax
jmp 0x4e8d63
push 0
push 1
sub esp, 0x10
mov ecx, 0x55eb50
mov eax, esp
mov dword [esp + 0x90], esp
push 0xf
push eax
call fcn.004b2c30
sub esp, 0x10
mov byte [esp + 0x98], 8
mov ecx, esp
mov dword [esp + 0xa4], esp
push 0x1b
push ecx
mov ecx, 0x55eb50
call fcn.004b2c30
mov ecx, 0x55b3d0
mov byte [esp + 0x98], 2
call fcn.004995c0
jmp 0x4e8c3f
cmp dword [esi], 0
jne 0x4e8cea
mov eax, dword [ebp + 0xdc]
test eax, eax
je 0x4e8d14
mov eax, dword [ebp + 0x38]
test eax, eax
je 0x4e8cea
mov ebp, dword [ebp + 0x3c]
sub ebp, eax
mov eax, 0x6bca1af3
imul ebp
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
jne 0x4e8d3a
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4e8d10
mov al, byte [ecx - 1]
test al, al
je 0x4e8d06
cmp al, 0xff
je 0x4e8d06
dec al
mov byte [ecx - 1], al
xor eax, eax
jmp 0x4e8d63
dec ecx
push ecx
call fcn.00514120
add esp, 4
xor eax, eax
jmp 0x4e8d63
mov eax, dword [esp + 0x80]
test eax, eax
je 0x4e8d27
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 4]
mov ebp, dword [ebp + 0xd0]
test ebp, ebp
je 0x4e8d3a
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4e8d5e
mov al, byte [ecx - 1]
test al, al
je 0x4e8d54
cmp al, 0xff
je 0x4e8d54
dec al
mov byte [ecx - 1], al
jmp 0x4e8d5e
dec ecx
push ecx
call fcn.00514120
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x64
ret 0xc