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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5e2ea3
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov eax, dword [ebp + 0xe4]
lea esi, [ebp + 0xe0]
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.005a6bb0
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, esi
call fcn.0059f0e0
mov eax, dword [ebp + 0x4c]
mov edx, dword [ebp + 0x48]
lea ecx, [ebp + 0x44]
push eax
push edx
call fcn.0059eda0
call fcn.005579d0
test al, al
je 0x598574
mov eax, dword [esp + 0x80]
test eax, eax
je 0x598574
mov eax, dword [ebp + 0xd4]
mov ecx, dword [eax + 0x201c]
test ecx, ecx
je 0x598574
push str.Read_DTC
call fcn.005563b0
push 0x420
call fcn.005bcf2f
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x70], 0
je 0x59859a
mov ecx, eax
call fcn.005b73d0
jmp 0x59859c
xor eax, eax
mov cl, byte [esp + 0x78]
push 0
mov byte [esp + 0x1c], cl
lea ecx, [esp + 0x1c]
mov dword [esp + 0x74], 0xffffffff
mov dword [ebp + 0xd0], eax
call fcn.00401850
mov esi, dword [esp + 0x78]
mov ecx, dword [ebp + 0xcc]
lea edx, [esp + 0x28]
mov dword [esp + 0x70], 1
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x44]
push eax
push edx
call fcn.00597de0
mov ecx, dword [0x5e5150]
mov byte [esp + 0x70], 2
push ecx
push 0
push eax
lea ecx, [esp + 0x24]
call fcn.004120f0
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x74], 1
call fcn.00401850
lea edx, [esp + 0x58]
push edx
call fcn.005577b0
add esp, 4
mov eax, dword [eax + 4]
mov byte [esp + 0x70], 3
test eax, eax
mov edi, 0x5e514c
je 0x598628
mov edi, eax
lea eax, [esp + 0x48]
push eax
call fcn.005575b0
push 0x610a90
lea ecx, [esp + 0x40]
push eax
push ecx
mov byte [esp + 0x80], 4
call fcn.004e84c0
lea edx, [esp + 0x28]
mov bl, 5
push edx
push eax
lea eax, [esp + 0x40]
mov byte [esp + 0x88], bl
push eax
call fcn.00556bb0
add esp, 0x1c
mov eax, dword [eax + 4]
mov byte [esp + 0x70], 6
test eax, eax
jne 0x598677
mov eax, 0x5e514c
mov ecx, dword [ebp + 0xd0]
push edi
push eax
call fcn.00597930
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x74], bl
call fcn.00401850
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x74], 4
call fcn.00401850
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x74], 3
call fcn.00401850
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x74], 1
call fcn.00401850
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
cmp eax, ecx
mov dword [esp + 0x10], eax
je 0x598765
mov ebx, dword [ebp + 0x3c]
mov esi, dword [ebp + 0x38]
cmp ebx, ebx
mov edi, ebx
je 0x5986f3
push edi
mov ecx, esi
call fcn.005a0470
add edi, 0x4c
add esi, 0x4c
cmp edi, ebx
jne 0x5986e1
mov eax, dword [ebp + 0x3c]
lea ecx, [ebp + 0x34]
push eax
push esi
call fcn.0059f7e0
mov ebx, dword [esp + 0x10]
mov dword [ebp + 0x3c], esi
lea edi, [ebp + 0x54]
mov ecx, 0x15
mov esi, ebx
push ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
call fcn.005994e0
test ax, ax
je 0x598751
cmp ax, 0xfffe
je 0x59879f
cmp ax, 0xfffd
je 0x5987c3
mov esi, dword [esp + 0x7c]
movsx ecx, ax
push esi
push ebx
push ecx
mov ecx, ebp
call fcn.0059a9a0
test eax, eax
je 0x598832
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x10]
mov eax, dword [esp + 0x78]
add ebx, 0x54
mov dword [esp + 0x10], ebx
cmp ebx, dword [eax + 8]
jne 0x5986d5
mov eax, dword [ebp + 0xdc]
test eax, eax
je 0x598865
mov eax, dword [ebp + 0x38]
test eax, eax
je 0x59883b
mov ebp, dword [ebp + 0x3c]
sub ebp, eax
mov eax, 0x6bca1af3
imul ebp
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
jne 0x59888b
jmp 0x59883b
mov ecx, dword [esp + 0x7c]
push 1
mov dword [esp + 0x74], 0xffffffff
mov dword [ecx], 1
lea ecx, [esp + 0x1c]
call fcn.00401850
xor eax, eax
jmp 0x5988b4
push 0
push 1
sub esp, 0x10
mov ecx, 0x626e68
mov edx, esp
mov dword [esp + 0x90], esp
push 0xf
push edx
call fcn.0056aec0
sub esp, 0x10
mov ecx, 0x626e68
mov eax, esp
mov dword [esp + 0xa4], esp
push 0x1b
push eax
mov byte [esp + 0xa0], 7
call fcn.0056aec0
mov ecx, 0x619a58
mov byte [esp + 0x98], 1
call fcn.00543a40
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x598861
mov al, byte [ecx - 1]
test al, al
je 0x598857
cmp al, 0xff
je 0x598857
dec al
mov byte [ecx - 1], al
xor eax, eax
jmp 0x5988b4
cmp dword [esi], 0
je 0x598765
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x598861
mov al, byte [ecx - 1]
test al, al
je 0x598857
cmp al, 0xff
je 0x598857
dec al
mov byte [ecx - 1], al
xor eax, eax
jmp 0x5988b4
dec ecx
push ecx
call fcn.005bc500
add esp, 4
xor eax, eax
jmp 0x5988b4
mov eax, dword [esp + 0x80]
test eax, eax
je 0x598878
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 4]
mov ebp, dword [ebp + 0xd0]
test ebp, ebp
je 0x59888b
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x5988af
mov al, byte [ecx - 1]
test al, al
je 0x5988a5
cmp al, 0xff
je 0x5988a5
dec al
mov byte [ecx - 1], al
jmp 0x5988af
dec ecx
push ecx
call fcn.005bc500
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