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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x52eb03
push eax
mov eax, 0x5e58
mov dword fs:[0], esp
call fcn.00515b70
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.004a1910
xor esi, esi
test al, al
je 0x4e8dd3
cmp dword [esp + 0x5e80], esi
je 0x4e8dd3
mov eax, dword [ebp + 0xd4]
mov ecx, dword [eax + 0x201c]
cmp ecx, esi
je 0x4e8dd3
push str.Clear_DTC
call fcn.004aa850
push esi
push esi
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x17
push ecx
mov ecx, 0x55eb50
call fcn.004b2c30
sub esp, 0x10
mov ecx, 0x55eb50
mov edx, esp
mov dword [esp + 0x74], esp
push 7
push edx
mov dword [esp + 0x5ea0], esi
call fcn.004b2c30
mov ecx, 0x55b3d0
mov dword [esp + 0x5e98], 0xffffffff
call fcn.004995c0
mov al, byte [esp + 0x1b]
mov dword [esp + 0x74], esi
mov byte [esp + 0x70], al
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov eax, dword [esp + 0x5e78]
mov dword [esp + 0x5e70], 1
mov ebx, dword [eax + 4]
cmp ebx, esi
mov dword [esp + 0x50], ebx
je 0x4e99a5
mov edi, dword [eax + 8]
mov eax, 0x38e38e39
mov ecx, edi
sub ecx, ebx
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov dword [esp + 0x48], edx
je 0x4e99a5
cmp ebx, edi
je 0x4e9630
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebp + 0xd4]
push esi
push edx
call fcn.004c15d0
mov ecx, dword [ebx + 4]
or eax, 0xffffffff
cmp ecx, eax
je 0x4e99a5
cmp dword [ebx + 0x10], eax
je 0x4e8eeb
push esi
push 1
sub esp, 0x10
mov ecx, 0x55eb50
mov eax, esp
mov dword [esp + 0x28], esp
push 0x17
push eax
call fcn.004b2c30
mov edx, dword [ebx + 0x10]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
push ecx
mov ecx, dword [ebp + 0xcc]
mov byte [esp + 0x5ea0], 2
call fcn.004e8220
mov ecx, 0x55b3d0
mov byte [esp + 0x5e98], 1
call fcn.004995c0
mov eax, dword [ebx + 0xc]
add eax, 0xfffffffe
cmp eax, 3
ja case.default.0x4e8efa
jmp dword [eax*4 + 0x4e99b8]
lea ecx, [esp + 0x3b48]
call fcn.004cf820
mov eax, dword [ebp + 0xcc]
mov ecx, dword [ebx + 4]
push eax
push ecx
lea ecx, [esp + 0x3b50]
mov byte [esp + 0x5e78], 3
call fcn.004cffe0
lea ecx, [esp + 0x110]
mov dword [esp + 0x14], eax
call fcn.004974f0
mov eax, dword [esp + 0x14]
xor edi, edi
cmp eax, esi
mov byte [esp + 0x5e70], 4
mov dword [esp + 0x68], esi
jle 0x4e8f97
push edi
lea ecx, [esp + 0x3b4c]
call fcn.004d0120
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 0x4e96ab
mov eax, dword [esp + 0x14]
inc edi
cmp edi, eax
jl 0x4e8f52
lea ecx, [esp + 0x110]
mov byte [esp + 0x5e70], 3
call fcn.004975f0
mov byte [esp + 0x5e70], 1
lea ecx, [esp + 0x3b48]
jmp 0x4e95c2
mov edx, dword [esp + 0x5e7c]
mov ecx, ebp
push edx
call fcn.004e8770
cmp eax, esi
je 0x4e978d
lea ecx, [esp + 0x1828]
call fcn.004cf820
mov eax, dword [ebp + 0xcc]
mov ecx, dword [ebx + 4]
push eax
push ecx
lea ecx, [esp + 0x1830]
mov byte [esp + 0x5e78], 6
call fcn.004cffe0
lea ecx, [esp + 0xc8]
mov dword [esp + 0x14], eax
call fcn.004974f0
mov eax, dword [esp + 0x14]
xor edi, edi
cmp eax, esi
mov byte [esp + 0x5e70], 7
mov dword [esp + 0x6c], esi
jle 0x4e906c
push edi
lea ecx, [esp + 0x182c]
call fcn.004d0120
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 0x4e971c
mov eax, dword [esp + 0x14]
inc edi
cmp edi, eax
jl 0x4e9027
lea ecx, [esp + 0xc8]
mov byte [esp + 0x5e70], 6
call fcn.004975f0
mov byte [esp + 0x5e70], 1
lea ecx, [esp + 0x1828]
jmp 0x4e95c2
lea ecx, [esp + 0x29b8]
call fcn.004cf820
mov edx, dword [ebp + 0xcc]
mov eax, dword [ebx + 4]
push edx
push eax
lea ecx, [esp + 0x29c0]
mov byte [esp + 0x5e78], 0xa
call fcn.004cffe0
lea ecx, [esp + 0x80]
mov dword [esp + 0x14], eax
call fcn.004974f0
mov eax, dword [esp + 0x14]
xor edi, edi
cmp eax, esi
mov byte [esp + 0x5e70], 0xb
mov dword [esp + 0x64], esi
jle 0x4e912a
push edi
lea ecx, [esp + 0x29bc]
call fcn.004d0120
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 0x4e97be
mov eax, dword [esp + 0x14]
inc edi
cmp edi, eax
jl 0x4e90e5
mov ecx, dword [ebp + 0xd4]
call fcn.004c0790
lea ecx, [esp + 0x80]
mov byte [esp + 0x5e70], 0xa
call fcn.004975f0
mov byte [esp + 0x5e70], 1
lea ecx, [esp + 0x29b8]
jmp 0x4e95c2
mov edx, dword [esp + 0x5e7c]
mov ecx, ebp
push edx
call fcn.004e8770
cmp eax, esi
je 0x4e9902
lea ecx, [esp + 0x698]
call fcn.004cf820
mov eax, dword [ebp + 0xcc]
mov ecx, dword [ebx + 4]
push eax
push ecx
lea ecx, [esp + 0x6a0]
mov byte [esp + 0x5e78], 0xd
call fcn.004cffe0
mov edi, eax
lea ecx, [esp + 0xa4]
mov dword [esp + 0x10], edi
call fcn.004974f0
xor eax, eax
cmp edi, esi
mov byte [esp + 0x5e70], 0xe
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
jle 0x4e94e0
push eax
lea ecx, [esp + 0x69c]
call fcn.004d0120
mov dl, byte [esp + 0x1b]
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], 0xf
call fcn.004d05a0
mov dword [esp + 0x14], esi
mov dword [esp + 0x44], esi
mov eax, dword [ebp + 0x38]
cmp eax, esi
je 0x4e94aa
mov ecx, dword [ebp + 0x3c]
sub ecx, eax
mov eax, 0x6bca1af3
imul ecx
mov eax, dword [esp + 0x14]
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp eax, edx
jae 0x4e94aa
mov dl, byte [esp + 0x1b]
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], 0x10
je 0x4e9268
mov edx, ecx
sub edx, eax
jne 0x4e92a8
xor edx, edx
cmp eax, ecx
mov edi, ecx
je 0x4e9282
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
cmp eax, edi
jne 0x4e9270
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
cmp eax, esi
jne 0x4e9297
mov edx, dword [esp + 0x28]
xor ecx, ecx
add edx, ecx
mov dword [esp + 0x2c], edx
jmp 0x4e9329
mov edx, dword [esp + 0x28]
sub ecx, eax
add edx, ecx
mov dword [esp + 0x2c], edx
jmp 0x4e9329
cmp edx, esi
push esi
ja 0x4e92e0
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.004b9600
mov ecx, dword [esp + 0x38]
cmp ecx, esi
jne 0x4e92ce
mov ecx, dword [esp + 0x28]
xor eax, eax
add ecx, eax
mov dword [esp + 0x2c], ecx
jmp 0x4e9329
mov eax, dword [esp + 0x3c]
sub eax, ecx
mov ecx, dword [esp + 0x28]
add ecx, eax
mov dword [esp + 0x2c], ecx
jmp 0x4e9329
call fcn.00514120
mov ecx, dword [esp + 0x3c]
add esp, 4
cmp ecx, esi
jne 0x4e92f4
xor eax, eax
jmp 0x4e92fa
mov eax, dword [esp + 0x3c]
sub eax, ecx
cmp eax, esi
jge 0x4e9300
xor eax, eax
push eax
call fcn.00514b36
mov edx, dword [esp + 0x40]
add esp, 4
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x3c]
push edx
push eax
call fcn.004b9600
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 edx, dword [0x531160]
stosb byte es:[edi], al
mov eax, dword [ebp + 0x38]
mov edi, dword [esp + 0x44]
add eax, edi
push edx
push esi
push eax
mov cl, byte [eax]
mov dword [esp + 0x64], esi
mov byte [esp + 0x60], cl
lea ecx, [esp + 0x60]
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
call fcn.00407be0
mov eax, dword [ebp + 0x38]
mov ecx, edi
mov byte [esp + 0x5e70], 0x11
mov ebx, dword [eax + edi + 8]
mov eax, dword [eax + ecx + 4]
shr ebx, 1
cmp eax, esi
mov byte [esp + 0x4c], bl
jne 0x4e9395
mov eax, 0x53115c
mov esi, dword [esp + 0x4c]
lea edx, [esp + 0x134]
and esi, 0xff
push esi
push eax
push edx
call fcn.00503750
mov eax, dword [ebp + 0x138]
add esp, 0xc
cmp eax, 1
jne 0x4e93db
cmp bl, 1
jb 0x4e93fe
mov ecx, dword [esp + 0x2c]
lea eax, [esp + esi + 0x133]
push eax
push 1
push ecx
lea ecx, [esp + 0x30]
call fcn.004f0130
jmp 0x4e93fe
xor edi, edi
test esi, esi
jle 0x4e93fe
mov eax, dword [esp + 0x2c]
lea edx, [esp + edi + 0x134]
push edx
push 1
push eax
lea ecx, [esp + 0x30]
call fcn.004f0130
inc edi
cmp edi, esi
jl 0x4e93e1
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x69c]
call fcn.004d03d0
mov edx, dword [ebp]
lea eax, [esp + 0xa4]
lea ecx, [esp + 0x1c]
push eax
push ecx
lea eax, [esp + 0x3a0]
push 1
lea ecx, [esp + 0x6a4]
push eax
push ecx
mov ecx, ebp
call dword [edx + 8]
cmp eax, 1
jne 0x4e982f
mov eax, dword [esp + 0x58]
xor esi, esi
cmp eax, esi
je 0x4e9466
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4e945d
cmp al, 0xff
je 0x4e945d
dec al
mov byte [ecx], al
jmp 0x4e9466
push ecx
call fcn.00514120
add esp, 4
mov edx, dword [esp + 0x28]
mov dword [esp + 0x58], esi
push edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
call fcn.00514120
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x54]
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 + 0x14], ecx
mov dword [esp + 0x44], eax
xor esi, esi
jmp 0x4e920d
mov eax, dword [esp + 0x38]
mov byte [esp + 0x5e70], 0xe
push eax
call fcn.00514120
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
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 0x4e91cb
lea ecx, [esp + 0xa4]
mov byte [esp + 0x5e70], 0xd
call fcn.004975f0
mov byte [esp + 0x5e70], 1
lea ecx, [esp + 0x698]
jmp 0x4e95c2
lea ecx, [esp + 0x4cd8]
call fcn.004cf820
mov ecx, dword [ebp + 0xcc]
mov edx, dword [ebx + 4]
push ecx
push edx
lea ecx, [esp + 0x4ce0]
mov byte [esp + 0x5e78], 0x14
call fcn.004cffe0
lea ecx, [esp + 0xec]
mov dword [esp + 0x20], eax
call fcn.004974f0
mov eax, dword [esp + 0x20]
xor edi, edi
cmp eax, esi
mov byte [esp + 0x5e70], 0x15
mov dword [esp + 0x48], esi
jle 0x4e959f
push edi
lea ecx, [esp + 0x4cdc]
call fcn.004d0120
mov eax, dword [ebp]
lea ecx, [esp + 0xec]
lea edx, [esp + 0x48]
push ecx
push edx
lea ecx, [esp + 0x5a0]
push 1
lea edx, [esp + 0x4ce4]
push ecx
push edx
mov ecx, ebp
call dword [eax + 8]
cmp eax, 1
jne 0x4e9934
mov eax, dword [esp + 0x20]
inc edi
cmp edi, eax
jl 0x4e9559
lea ecx, [esp + 0xec]
mov byte [esp + 0x5e70], 0x14
call fcn.004975f0
mov byte [esp + 0x5e70], 1
lea ecx, [esp + 0x4cd8]
call fcn.004cf930
cmp dword [ebx + 0x14], 0xffffffff
je 0x4e9619
push esi
push 1
sub esp, 0x10
mov ecx, 0x55eb50
mov eax, esp
mov dword [esp + 0x28], esp
push 0x17
push eax
call fcn.004b2c30
mov edx, dword [ebx + 0x14]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
push ecx
mov ecx, dword [ebp + 0xcc]
mov byte [esp + 0x5ea0], 0x17
call fcn.004e8220
mov ecx, 0x55b3d0
mov byte [esp + 0x5e98], 1
call fcn.004995c0
mov eax, dword [esp + 0x5e78]
add ebx, 0x24
mov dword [esp + 0x50], ebx
cmp ebx, dword [eax + 8]
jne 0x4e8e7c
cmp dword [esp + 0x5e80], esi
je 0x4e9682
push esi
push 1
sub esp, 0x10
mov ecx, 0x55eb50
mov edx, esp
mov dword [esp + 0x60], esp
push 0x17
push edx
call fcn.004b2c30
sub esp, 0x10
mov byte [esp + 0x5e98], 0x18
mov eax, esp
mov dword [esp + 0x38], esp
push 0x1f
push eax
mov ecx, 0x55eb50
call fcn.004b2c30
mov ecx, 0x55b3d0
mov byte [esp + 0x5e98], 1
call fcn.004995c0
push esi
call fcn.00514120
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, esp
mov dword [esp + 0x28], esp
push 1
push ecx
mov ecx, 0x55eb50
call fcn.004b2c30
sub esp, 0x10
mov ecx, 0x55eb50
mov edx, esp
mov dword [esp + 0x44], esp
push 0x1e
push edx
mov byte [esp + 0x5ea0], 5
call fcn.004b2c30
mov ecx, 0x55b3d0
mov byte [esp + 0x5e98], 4
call fcn.004995c0
lea ecx, [esp + 0x110]
mov byte [esp + 0x5e70], 3
call fcn.004975f0
mov byte [esp + 0x5e70], 1
lea ecx, [esp + 0x3b48]
jmp 0x4e99a0
push esi
push 1
sub esp, 0x10
mov ecx, 0x55eb50
mov eax, esp
mov dword [esp + 0x28], esp
push 1
push eax
call fcn.004b2c30
sub esp, 0x10
mov byte [esp + 0x5e98], 8
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x1e
push ecx
mov ecx, 0x55eb50
call fcn.004b2c30
mov ecx, 0x55b3d0
mov byte [esp + 0x5e98], 7
call fcn.004995c0
lea ecx, [esp + 0xc8]
mov byte [esp + 0x5e70], 6
call fcn.004975f0
mov byte [esp + 0x5e70], 1
lea ecx, [esp + 0x1828]
jmp 0x4e99a0
push esi
push 1
sub esp, 0x10
mov ecx, 0x55eb50
mov edx, esp
mov dword [esp + 0x28], esp
push 0x17
push edx
call fcn.004b2c30
sub esp, 0x10
mov byte [esp + 0x5e98], 9
mov eax, esp
mov dword [esp + 0x44], esp
push 3
jmp 0x4e9665
push esi
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push 1
push ecx
mov ecx, 0x55eb50
call fcn.004b2c30
sub esp, 0x10
mov ecx, 0x55eb50
mov edx, esp
mov dword [esp + 0x44], esp
push 0x1e
push edx
mov byte [esp + 0x5ea0], 0xc
call fcn.004b2c30
mov ecx, 0x55b3d0
mov byte [esp + 0x5e98], 0xb
call fcn.004995c0
lea ecx, [esp + 0x80]
mov byte [esp + 0x5e70], 0xa
call fcn.004975f0
mov byte [esp + 0x5e70], 1
lea ecx, [esp + 0x29b8]
jmp 0x4e99a0
xor esi, esi
mov ecx, 0x55eb50
push esi
push 1
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x28], esp
push 1
push eax
call fcn.004b2c30
sub esp, 0x10
mov byte [esp + 0x5e98], 0x12
mov ecx, esp
mov dword [esp + 0x74], esp
push 0x1e
push ecx
mov ecx, 0x55eb50
call fcn.004b2c30
mov ecx, 0x55b3d0
mov byte [esp + 0x5e98], 0x11
call fcn.004995c0
mov eax, dword [esp + 0x58]
cmp eax, esi
je 0x4e989f
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4e9896
cmp al, 0xff
je 0x4e9896
dec al
mov byte [ecx], al
jmp 0x4e989f
push ecx
call fcn.00514120
add esp, 4
mov edx, dword [esp + 0x28]
mov dword [esp + 0x58], esi
push edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
call fcn.00514120
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], esi
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call fcn.00514120
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], 0xd
call fcn.004975f0
mov byte [esp + 0x5e70], 1
lea ecx, [esp + 0x698]
jmp 0x4e99a0
push esi
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x17
push ecx
mov ecx, 0x55eb50
call fcn.004b2c30
sub esp, 0x10
mov byte [esp + 0x5e98], 0x13
mov edx, esp
mov dword [esp + 0x44], esp
push 3
push edx
jmp 0x4e9666
push esi
push 1
sub esp, 0x10
mov ecx, 0x55eb50
mov eax, esp
mov dword [esp + 0x28], esp
push 1
push eax
call fcn.004b2c30
sub esp, 0x10
mov byte [esp + 0x5e98], 0x16
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x1e
push ecx
mov ecx, 0x55eb50
call fcn.004b2c30
mov ecx, 0x55b3d0
mov byte [esp + 0x5e98], 0x15
call fcn.004995c0
lea ecx, [esp + 0xec]
mov byte [esp + 0x5e70], 0x14
call fcn.004975f0
mov byte [esp + 0x5e70], 1
lea ecx, [esp + 0x4cd8]
call fcn.004cf930
push esi
call fcn.00514120
add esp, 4
xor eax, eax
jmp 0x4e9690