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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x5e2fb8
push eax
mov eax, 0x5e58
mov dword fs:[0], esp
call fcn.005bd2d0
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.005579d0
xor esi, esi
test al, al
je 0x598923
cmp dword [esp + 0x5e80], esi
je 0x598923
mov eax, dword [ebp + 0xd4]
mov ecx, dword [eax + 0x201c]
cmp ecx, esi
je 0x598923
push str.Clear_DTC
call fcn.005563b0
mov cl, byte [esp + 0x17]
mov dword [esp + 0x74], esi
mov byte [esp + 0x70], cl
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov eax, dword [esp + 0x5e78]
mov dword [esp + 0x5e70], esi
mov ebx, dword [eax + 4]
cmp ebx, esi
mov dword [esp + 0x4c], ebx
je 0x5994b9
mov edi, dword [eax + 8]
mov eax, 0x38e38e39
mov ecx, edi
sub ecx, ebx
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x48], edx
je 0x5994b9
cmp ebx, edi
je 0x599141
mov ecx, dword [ebx + 0x1c]
push esi
push ecx
mov ecx, dword [ebp + 0xd4]
call fcn.005764e0
mov ecx, dword [ebx + 4]
or eax, 0xffffffff
cmp ecx, eax
je 0x5994b9
cmp dword [ebx + 0x10], eax
je 0x5989ed
push esi
push 1
sub esp, 0x10
mov ecx, 0x626e68
mov edx, esp
mov dword [esp + 0x30], esp
push 0x17
push edx
call fcn.0056aec0
mov ecx, dword [ebx + 0x10]
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x48], esp
push ecx
mov ecx, dword [ebp + 0xcc]
push eax
mov byte [esp + 0x5ea0], 1
call fcn.00597de0
mov ecx, 0x619a58
mov byte [esp + 0x5e98], 0
call fcn.00543a40
mov eax, dword [ebx + 0xc]
add eax, 0xfffffffe
cmp eax, 3
ja case.default.0x5989fc
jmp dword [eax*4 + 0x5994cc]
lea ecx, [esp + 0x3b48]
call fcn.005806a0
mov edx, dword [ebp + 0xcc]
mov eax, dword [ebx + 4]
push edx
push eax
lea ecx, [esp + 0x3b50]
mov byte [esp + 0x5e78], 2
call fcn.00580c40
lea ecx, [esp + 0x110]
mov dword [esp + 0x10], eax
call fcn.00559c60
mov eax, dword [esp + 0x10]
xor edi, edi
cmp eax, esi
mov byte [esp + 0x5e70], 3
mov dword [esp + 0x68], esi
jle 0x598a99
push edi
lea ecx, [esp + 0x3b4c]
call fcn.00580d80
mov edx, dword [ebp]
lea eax, [esp + 0x110]
lea ecx, [esp + 0x68]
push eax
push ecx
lea eax, [esp + 0x4a0]
push esi
lea ecx, [esp + 0x3b54]
push eax
push ecx
mov ecx, ebp
call dword [edx + 8]
cmp eax, 1
jne 0x5991bc
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jl 0x598a54
lea ecx, [esp + 0x110]
mov byte [esp + 0x5e70], 2
call fcn.00559d60
mov byte [esp + 0x5e70], 0
lea ecx, [esp + 0x3b48]
jmp 0x5990d3
mov edx, dword [esp + 0x5e7c]
mov ecx, ebp
push edx
call fcn.00598310
cmp eax, esi
je 0x59929e
lea ecx, [esp + 0x1828]
call fcn.005806a0
mov eax, dword [ebp + 0xcc]
mov ecx, dword [ebx + 4]
push eax
push ecx
lea ecx, [esp + 0x1830]
mov byte [esp + 0x5e78], 5
call fcn.00580c40
lea ecx, [esp + 0xc8]
mov dword [esp + 0x10], eax
call fcn.00559c60
mov eax, dword [esp + 0x10]
xor edi, edi
cmp eax, esi
mov byte [esp + 0x5e70], 6
mov dword [esp + 0x6c], esi
jle 0x598b6e
push edi
lea ecx, [esp + 0x182c]
call fcn.00580d80
mov edx, dword [ebp]
lea eax, [esp + 0xc8]
lea ecx, [esp + 0x6c]
push eax
push ecx
lea eax, [esp + 0x1a0]
push esi
lea ecx, [esp + 0x1834]
push eax
push ecx
mov ecx, ebp
call dword [edx + 8]
cmp eax, 1
jne 0x59922d
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jl 0x598b29
lea ecx, [esp + 0xc8]
mov byte [esp + 0x5e70], 5
call fcn.00559d60
mov byte [esp + 0x5e70], 0
lea ecx, [esp + 0x1828]
jmp 0x5990d3
lea ecx, [esp + 0x29b8]
call fcn.005806a0
mov edx, dword [ebp + 0xcc]
mov eax, dword [ebx + 4]
push edx
push eax
lea ecx, [esp + 0x29c0]
mov byte [esp + 0x5e78], 9
call fcn.00580c40
lea ecx, [esp + 0x80]
mov dword [esp + 0x10], eax
call fcn.00559c60
mov eax, dword [esp + 0x10]
xor edi, edi
cmp eax, esi
mov byte [esp + 0x5e70], 0xa
mov dword [esp + 0x64], esi
jle 0x598c2c
push edi
lea ecx, [esp + 0x29bc]
call fcn.00580d80
mov edx, dword [ebp]
lea eax, [esp + 0x80]
lea ecx, [esp + 0x64]
push eax
push ecx
lea eax, [esp + 0x2a0]
push esi
lea ecx, [esp + 0x29c4]
push eax
push ecx
mov ecx, ebp
call dword [edx + 8]
cmp eax, 1
jne 0x5992cf
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jl 0x598be7
mov ecx, dword [ebp + 0xd4]
call fcn.005756d0
lea ecx, [esp + 0x80]
mov byte [esp + 0x5e70], 9
call fcn.00559d60
mov byte [esp + 0x5e70], 0
lea ecx, [esp + 0x29b8]
jmp 0x5990d3
mov edx, dword [esp + 0x5e7c]
mov ecx, ebp
push edx
call fcn.00598310
cmp eax, esi
je 0x599416
lea ecx, [esp + 0x698]
call fcn.005806a0
mov eax, dword [ebp + 0xcc]
mov ecx, dword [ebx + 4]
push eax
push ecx
lea ecx, [esp + 0x6a0]
mov byte [esp + 0x5e78], 0xc
call fcn.00580c40
mov edi, eax
lea ecx, [esp + 0xa4]
mov dword [esp + 0x18], edi
call fcn.00559c60
xor eax, eax
cmp edi, esi
mov byte [esp + 0x5e70], 0xd
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
jle 0x598ff1
push eax
lea ecx, [esp + 0x69c]
call fcn.00580d80
mov dl, byte [esp + 0x17]
mov dword [esp + 0x38], esi
mov byte [esp + 0x34], dl
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
lea eax, [esp + 0x34]
lea ecx, [esp + 0x698]
push eax
mov byte [esp + 0x5e74], 0xe
call fcn.005811f0
mov dword [esp + 0x10], esi
mov dword [esp + 0x44], esi
mov eax, dword [ebp + 0x38]
cmp eax, esi
je 0x598fbb
mov ecx, dword [ebp + 0x3c]
sub ecx, eax
mov eax, 0x6bca1af3
imul ecx
mov eax, dword [esp + 0x10]
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp eax, edx
jae 0x598fbb
mov dl, byte [esp + 0x17]
mov dword [esp + 0x28], esi
mov byte [esp + 0x24], dl
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
cmp eax, esi
mov byte [esp + 0x5e70], 0xf
je 0x598d6a
mov edx, ecx
sub edx, eax
jne 0x598daa
xor edx, edx
cmp eax, ecx
mov edi, ecx
je 0x598d84
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
cmp eax, edi
jne 0x598d72
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
cmp eax, esi
jne 0x598d99
mov edx, dword [esp + 0x28]
xor ecx, ecx
add edx, ecx
mov dword [esp + 0x2c], edx
jmp 0x598e3a
mov edx, dword [esp + 0x28]
sub ecx, eax
add edx, ecx
mov dword [esp + 0x2c], edx
jmp 0x598e3a
cmp edx, esi
push esi
ja 0x598de2
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00570ec0
mov ecx, dword [esp + 0x38]
cmp ecx, esi
jne 0x598dd0
mov ecx, dword [esp + 0x28]
xor eax, eax
add ecx, eax
mov dword [esp + 0x2c], ecx
jmp 0x598e3a
mov eax, dword [esp + 0x3c]
sub eax, ecx
mov ecx, dword [esp + 0x28]
add ecx, eax
mov dword [esp + 0x2c], ecx
jmp 0x598e3a
push esi
lea ecx, [esp + 0x2c]
call fcn.005b0ee0
mov edx, dword [esp + 0x28]
push edx
call fcn.005bc500
mov ecx, dword [esp + 0x3c]
add esp, 4
cmp ecx, esi
jne 0x598e05
xor eax, eax
jmp 0x598e0b
mov eax, dword [esp + 0x3c]
sub eax, ecx
cmp eax, esi
jge 0x598e11
xor eax, eax
push eax
call fcn.005bcf2f
mov ecx, dword [esp + 0x3c]
add esp, 4
mov dword [esp + 0x28], eax
push eax
mov eax, dword [esp + 0x40]
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.00570ec0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x135]
mov byte [esp + 0x134], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, dword [0x5e5150]
stosb byte es:[edi], al
mov eax, dword [ebp + 0x38]
mov edi, dword [esp + 0x44]
add eax, edi
push ecx
push esi
push eax
mov dl, byte [eax]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x5c], dl
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
call fcn.004120f0
mov eax, dword [ebp + 0x38]
mov edx, edi
mov byte [esp + 0x5e70], 0x10
mov ebx, dword [eax + edi + 8]
mov eax, dword [eax + edx + 4]
shr ebx, 1
cmp eax, esi
mov byte [esp + 0x60], bl
jne 0x598ea6
mov eax, 0x5e514c
mov esi, dword [esp + 0x60]
and esi, 0xff
push esi
push eax
lea eax, [esp + 0x13c]
push eax
call fcn.005b1750
mov eax, dword [ebp + 0x138]
add esp, 0xc
cmp eax, 1
jne 0x598eec
cmp bl, 1
jb 0x598f0f
mov edx, dword [esp + 0x2c]
lea ecx, [esp + esi + 0x133]
push ecx
push 1
push edx
lea ecx, [esp + 0x30]
call fcn.0059f230
jmp 0x598f0f
xor edi, edi
test esi, esi
jle 0x598f0f
mov ecx, dword [esp + 0x2c]
lea eax, [esp + edi + 0x134]
push eax
push 1
push ecx
lea ecx, [esp + 0x30]
call fcn.0059f230
inc edi
cmp edi, esi
jl 0x598ef2
lea edx, [esp + 0x24]
lea ecx, [esp + 0x698]
push edx
call fcn.00581020
mov eax, dword [ebp]
lea ecx, [esp + 0xa4]
lea edx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x3a0]
push 1
lea edx, [esp + 0x6a4]
push ecx
push edx
mov ecx, ebp
call dword [eax + 8]
cmp eax, 1
jne 0x599340
mov eax, dword [esp + 0x54]
xor esi, esi
cmp eax, esi
je 0x598f77
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x598f6e
cmp al, 0xff
je 0x598f6e
dec al
mov byte [ecx], al
jmp 0x598f77
push ecx
call fcn.005bc500
add esp, 4
mov eax, dword [esp + 0x28]
mov dword [esp + 0x54], esi
push eax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
call fcn.005bc500
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x50]
add esp, 4
inc ecx
add eax, 0x4c
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x44], eax
xor esi, esi
jmp 0x598d0f
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x5e70], 0xd
push ecx
call fcn.005bc500
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
add esp, 4
inc eax
cmp eax, ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x20], eax
jl 0x598ccd
lea ecx, [esp + 0xa4]
mov byte [esp + 0x5e70], 0xc
call fcn.00559d60
mov byte [esp + 0x5e70], 0
lea ecx, [esp + 0x698]
jmp 0x5990d3
lea ecx, [esp + 0x4cd8]
call fcn.005806a0
mov edx, dword [ebp + 0xcc]
mov eax, dword [ebx + 4]
push edx
push eax
lea ecx, [esp + 0x4ce0]
mov byte [esp + 0x5e78], 0x13
call fcn.00580c40
lea ecx, [esp + 0xec]
mov dword [esp + 0x20], eax
call fcn.00559c60
mov eax, dword [esp + 0x20]
xor edi, edi
cmp eax, esi
mov byte [esp + 0x5e70], 0x14
mov dword [esp + 0x48], esi
jle 0x5990b0
push edi
lea ecx, [esp + 0x4cdc]
call fcn.00580d80
mov edx, dword [ebp]
lea eax, [esp + 0xec]
lea ecx, [esp + 0x48]
push eax
push ecx
lea eax, [esp + 0x5a0]
push 1
lea ecx, [esp + 0x4ce4]
push eax
push ecx
mov ecx, ebp
call dword [edx + 8]
cmp eax, 1
jne 0x599448
mov eax, dword [esp + 0x20]
inc edi
cmp edi, eax
jl 0x59906a
lea ecx, [esp + 0xec]
mov byte [esp + 0x5e70], 0x13
call fcn.00559d60
mov byte [esp + 0x5e70], 0
lea ecx, [esp + 0x4cd8]
call fcn.005807b0
cmp dword [ebx + 0x14], 0xffffffff
je 0x59912a
push esi
push 1
sub esp, 0x10
mov ecx, 0x626e68
mov edx, esp
mov dword [esp + 0x30], esp
push 0x17
push edx
call fcn.0056aec0
mov ecx, dword [ebx + 0x14]
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x74], esp
push ecx
mov ecx, dword [ebp + 0xcc]
push eax
mov byte [esp + 0x5ea0], 0x16
call fcn.00597de0
mov ecx, 0x619a58
mov byte [esp + 0x5e98], 0
call fcn.00543a40
mov edx, dword [esp + 0x5e78]
add ebx, 0x24
mov dword [esp + 0x4c], ebx
cmp ebx, dword [edx + 8]
jne 0x59897e
cmp dword [esp + 0x5e80], esi
je 0x599193
push esi
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x60], esp
push 0x17
push ecx
mov ecx, 0x626e68
call fcn.0056aec0
sub esp, 0x10
mov byte [esp + 0x5e98], 0x17
mov edx, esp
mov dword [esp + 0x40], esp
push 0x1f
push edx
mov ecx, 0x626e68
call fcn.0056aec0
mov ecx, 0x619a58
mov byte [esp + 0x5e98], 0
call fcn.00543a40
push esi
call fcn.005bc500
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x5e68]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x5e64
ret 0xc
push esi
push 1
sub esp, 0x10
mov ecx, 0x626e68
mov eax, esp
mov dword [esp + 0x30], esp
push 1
push eax
call fcn.0056aec0
sub esp, 0x10
mov byte [esp + 0x5e98], 4
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x1e
push ecx
mov ecx, 0x626e68
call fcn.0056aec0
mov ecx, 0x619a58
mov byte [esp + 0x5e98], 3
call fcn.00543a40
lea ecx, [esp + 0x110]
mov byte [esp + 0x5e70], 2
call fcn.00559d60
mov byte [esp + 0x5e70], 0
lea ecx, [esp + 0x3b48]
jmp 0x5994b4
push esi
push 1
sub esp, 0x10
mov ecx, 0x626e68
mov edx, esp
mov dword [esp + 0x30], esp
push 1
push edx
call fcn.0056aec0
sub esp, 0x10
mov ecx, 0x626e68
mov eax, esp
mov dword [esp + 0x44], esp
push 0x1e
push eax
mov byte [esp + 0x5ea0], 7
call fcn.0056aec0
mov ecx, 0x619a58
mov byte [esp + 0x5e98], 6
call fcn.00543a40
lea ecx, [esp + 0xc8]
mov byte [esp + 0x5e70], 5
call fcn.00559d60
mov byte [esp + 0x5e70], 0
lea ecx, [esp + 0x1828]
jmp 0x5994b4
push esi
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x17
push ecx
mov ecx, 0x626e68
call fcn.0056aec0
sub esp, 0x10
mov byte [esp + 0x5e98], 8
mov edx, esp
mov dword [esp + 0x44], esp
push 3
jmp 0x599176
push esi
push 1
sub esp, 0x10
mov ecx, 0x626e68
mov eax, esp
mov dword [esp + 0x30], esp
push 1
push eax
call fcn.0056aec0
sub esp, 0x10
mov byte [esp + 0x5e98], 0xb
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x1e
push ecx
mov ecx, 0x626e68
call fcn.0056aec0
mov ecx, 0x619a58
mov byte [esp + 0x5e98], 0xa
call fcn.00543a40
lea ecx, [esp + 0x80]
mov byte [esp + 0x5e70], 9
call fcn.00559d60
mov byte [esp + 0x5e70], 0
lea ecx, [esp + 0x29b8]
jmp 0x5994b4
xor esi, esi
mov ecx, 0x626e68
push esi
push 1
sub esp, 0x10
mov edx, esp
mov dword [esp + 0x30], esp
push 1
push edx
call fcn.0056aec0
sub esp, 0x10
mov ecx, 0x626e68
mov eax, esp
mov dword [esp + 0x88], esp
push 0x1e
push eax
mov byte [esp + 0x5ea0], 0x11
call fcn.0056aec0
mov ecx, 0x619a58
mov byte [esp + 0x5e98], 0x10
call fcn.00543a40
mov eax, dword [esp + 0x54]
cmp eax, esi
je 0x5993b3
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5993aa
cmp al, 0xff
je 0x5993aa
dec al
mov byte [ecx], al
jmp 0x5993b3
push ecx
call fcn.005bc500
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x54], esi
push ecx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
call fcn.005bc500
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x2c], esi
push edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call fcn.005bc500
add esp, 8
lea ecx, [esp + 0xa4]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov byte [esp + 0x5e70], 0xc
call fcn.00559d60
mov byte [esp + 0x5e70], 0
lea ecx, [esp + 0x698]
jmp 0x5994b4
push esi
push 1
sub esp, 0x10
mov ecx, 0x626e68
mov eax, esp
mov dword [esp + 0x30], esp
push 0x17
push eax
call fcn.0056aec0
sub esp, 0x10
mov byte [esp + 0x5e98], 0x12
mov ecx, esp
mov dword [esp + 0x44], esp
push 3
push ecx
jmp 0x599177
push esi
push 1
sub esp, 0x10
mov ecx, 0x626e68
mov edx, esp
mov dword [esp + 0x30], esp
push 1
push edx
call fcn.0056aec0
sub esp, 0x10
mov ecx, 0x626e68
mov eax, esp
mov dword [esp + 0x44], esp
push 0x1e
push eax
mov byte [esp + 0x5ea0], 0x15
call fcn.0056aec0
mov ecx, 0x619a58
mov byte [esp + 0x5e98], 0x14
call fcn.00543a40
lea ecx, [esp + 0xec]
mov byte [esp + 0x5e70], 0x13
call fcn.00559d60
mov byte [esp + 0x5e70], 0
lea ecx, [esp + 0x4cd8]
call fcn.005807b0
push esi
call fcn.005bc500
add esp, 4
xor eax, eax
jmp 0x5991a1