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

Disassembly:
push 0xffffffffffffffff
push 0x4f056e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfc
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [esp + 0x120]
xor esi, esi
xor ebx, ebx
cmp eax, esi
mov dword [esp + 0x114], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], esi
jne 0x47ff97
xor edi, edi
mov dword [esp + 0x30], edi
jmp 0x47ffa9
mov ecx, dword [esp + 0x124]
sub ecx, eax
sar ecx, 3
mov dword [esp + 0x30], ecx
mov edi, ecx
call fcn.00469ed0
neg al
sbb eax, eax
push esi
and eax, 0xc
lea ecx, [esp + 0x70]
add eax, 8
mov dword [esp + 0x20], 1
mov dword [esp + 0x14], eax
mov al, byte [esp + 0x1f]
mov byte [esp + 0x70], al
call fcn.004019e0
mov cl, byte [esp + 0x1b]
mov dword [esp + 0x24], esi
mov byte [esp + 0x20], cl
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x10]
mov byte [esp + 0x114], 2
movsx ecx, word [esp + 0x14]
movsx edx, ax
add edx, ecx
movsx ecx, di
cmp edx, ecx
jle 0x480013
mov ecx, dword [esp + 0x14]
mov eax, edi
sub eax, ecx
mov dword [esp + 0x10], eax
cmp word [esp + 0x14], di
jle 0x480026
mov eax, edi
mov dword [esp + 0x14], ebx
sub eax, ebx
mov dword [esp + 0x10], eax
cmp di, ax
jge 0x480031
mov dword [esp + 0x10], esi
jmp 0x480036
cmp ax, si
jne 0x480057
mov dword [esp + 0x14], ebx
call fcn.00469ed0
neg al
sbb eax, eax
mov dword [esp + 0x1c], 1
and eax, 0xc
add eax, 8
mov dword [esp + 0x10], eax
jmp 0x47fff6
call fcn.00469d70
test eax, eax
je 0x480068
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
cmp dword [esp + 0x1c], esi
je 0x480139
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x28]
call fcn.00481120
cmp word [esp + 0x10], 0
jle 0x4800f8
mov cl, byte [esp + 0x1b]
push 0
mov byte [esp + 0x5c], cl
lea ecx, [esp + 0x5c]
call fcn.004019e0
mov edi, 0x5099d8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x5099d8
lea ecx, [esp + 0x60]
call fcn.00404080
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x58]
push edx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x11c], 3
call fcn.00480f90
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x118], 2
call fcn.004019e0
inc esi
cmp si, word [esp + 0x10]
jl 0x48008d
mov edi, dword [esp + 0x30]
lea esi, [ebp + 0x30]
movsx ecx, word [esp + 0x10]
movsx edx, word [esp + 0x14]
push ecx
push edx
sub esp, 0x10
lea eax, [esp + 0x134]
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call fcn.00480f20
mov ecx, dword [ebp + 4]
mov edx, dword [ebp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.004ab590
mov ecx, esi
call fcn.004acb40
test eax, eax
je 0x4800fb
xor esi, esi
movsx eax, word [esp + 0x10]
movsx edx, word [esp + 0x14]
push eax
mov eax, dword [esp + 0x20]
push edx
lea edx, [esp + 0x28]
push eax
lea ecx, [ebp + 0x30]
push edx
call fcn.004a97e0
cmp eax, 0xaa
je 0x480433
lea eax, [esp + 0x48]
push 0x1d
push eax
mov ecx, 0x513088
call fcn.0047dbf0
lea ecx, [esp + 0xac]
push esi
push ecx
mov byte [esp + 0x11c], 6
call fcn.00469850
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 4]
lea edx, [esp + 0xa0]
push edx
mov byte [esp + 0x11c], 7
call fcn.004aedf0
push 0x5097bc
push eax
lea eax, [esp + 0x98]
mov byte [esp + 0x120], 8
push eax
call fcn.00404bb0
push esi
lea ecx, [esp + 0xd0]
push eax
push ecx
mov byte [esp + 0x130], 9
call fcn.00415cf0
add esp, 8
mov byte [esp + 0x128], 0xa
mov edx, esp
mov dword [esp + 0x48], esp
push str..dat
push eax
push edx
call fcn.00404bb0
push ecx
lea eax, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
mov byte [esp + 0x13c], 0xb
call fcn.004159f0
mov ecx, dword [esp + 0x38]
push edi
push ecx
mov ecx, dword [0x512ab8]
mov byte [esp + 0x140], 0xa
call fcn.00465fb0
push 1
lea ecx, [esp + 0xc0]
mov byte [esp + 0x118], 9
call fcn.004019e0
push 1
lea ecx, [esp + 0x90]
mov byte [esp + 0x118], 8
call fcn.004019e0
push 1
lea ecx, [esp + 0xa0]
mov byte [esp + 0x118], 7
call fcn.004019e0
push 1
lea ecx, [esp + 0xb0]
mov byte [esp + 0x118], 6
call fcn.004019e0
mov eax, dword [esp + 0x14]
movsx edx, word [esp + 0x10]
mov ebx, eax
mov edi, eax
movsx eax, ax
add edx, eax
cmp eax, edx
jge 0x4803aa
mov esi, eax
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], ecx
mov word [esp + 0x3c], ax
mov eax, dword [esp + 0x120]
mov word [esp + 0x44], cx
lea edx, [esp + 0xcc]
mov ecx, dword [eax + esi*8]
push edx
push ecx
mov ecx, dword [ebp + 4]
call fcn.004835a0
test eax, eax
je 0x48055e
mov edx, dword [esp + 0xd8]
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x7c]
push edx
push eax
call fcn.004aefb0
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x84]
mov dx, word [eax + 4]
mov eax, dword [esp + 0xe8]
push eax
push ecx
mov ecx, dword [ebp + 4]
mov word [esp + 0x44], dx
call fcn.004aefb0
mov edx, dword [eax]
push 0
push 0xffff
push ecx
mov dword [esp + 0x4c], edx
mov ax, word [eax + 4]
mov ecx, esp
mov dword [esp + 0x40], esp
lea edx, [esp + 0x4c]
push 6
push edx
mov word [esp + 0x58], ax
call fcn.00453e00
movsx eax, word [esp + 0x20]
sub esi, eax
lea ecx, [esp + 0x2c]
push esi
mov byte [esp + 0x124], 0xc
call fcn.00403d30
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.004159f0
push ecx
lea edx, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x88], esp
push 6
push edx
mov byte [esp + 0x13c], 0xd
call fcn.00453e00
mov ecx, dword [0x512ab8]
mov byte [esp + 0x134], 6
call fcn.00466350
movsx eax, word [esp + 0x10]
movsx ecx, word [esp + 0x14]
inc edi
add eax, ecx
movsx esi, di
cmp esi, eax
jl 0x48029b
mov ecx, dword [0x512ab8]
lea edx, [esp + 0x10]
push 1
lea eax, [esp + 0x18]
push edx
push eax
call fcn.00466640
cmp ax, 0xb
je 0x4805d9
cmp bx, word [esp + 0x14]
je 0x4803e6
lea ecx, [ebp + 0x30]
mov dword [esp + 0x1c], 1
call fcn.004aceb0
xor esi, esi
jmp 0x4803ec
xor esi, esi
mov dword [esp + 0x1c], esi
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x114], 2
cmp ecx, esi
je 0x480418
mov al, byte [ecx - 1]
test al, al
je 0x48040e
cmp al, 0xff
je 0x48040e
dec al
mov byte [ecx - 1], al
jmp 0x480418
dec ecx
push ecx
call fcn.004db420
add esp, 4
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
xor esi, esi
jmp 0x47fff6
lea ecx, [esp + 0x58]
push 0x3d
push ecx
mov ecx, 0x513088
call fcn.0047dbf0
mov edi, 0x512a68
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x60]
repne scasb al, byte es:[edi]
not ecx
dec ecx
xor ebp, ebp
push ecx
push 0x512a68
mov bl, 4
push edx
push ebp
lea ecx, [esp + 0x68]
mov byte [esp + 0x124], bl
call fcn.00402c10
cmp eax, ebp
jne 0x480495
mov edi, str.Can_not_get_any_ECU_information_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.Can_not_get_any_ECU_information_
lea ecx, [esp + 0x60]
call fcn.00404080
push ebp
push 1
sub esp, 0x10
mov ecx, 0x513088
mov eax, esp
mov dword [esp + 0x80], esp
push 0x17
push eax
call fcn.0047dbf0
sub esp, 0x10
lea edx, [esp + 0x80]
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
mov byte [esp + 0x140], 5
call fcn.004159f0
mov ecx, 0x512ab0
mov byte [esp + 0x13c], bl
call fcn.00461540
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x118], 2
call fcn.004019e0
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
cmp esi, eax
mov byte [esp + 0x114], 1
mov edi, eax
je 0x48051c
push ebp
mov ecx, esi
call fcn.00416010
add esi, 0x10
cmp esi, edi
jne 0x480509
mov esi, dword [esp + 0x24]
push esi
call fcn.004db420
add esp, 4
lea ecx, [esp + 0x6c]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
push 1
mov dword [esp + 0x30], ebp
mov byte [esp + 0x118], 0
call fcn.004019e0
mov eax, dword [esp + 0x120]
push eax
call fcn.004db420
add esp, 4
mov eax, 0xaa
jmp 0x480696
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x118], 2
call fcn.004019e0
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
cmp esi, edi
mov byte [esp + 0x114], 1
je 0x480599
push 0
mov ecx, esi
call fcn.00416010
add esi, 0x10
cmp esi, edi
jne 0x480585
mov esi, dword [esp + 0x24]
push esi
call fcn.004db420
add esp, 4
xor eax, eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x24], eax
push 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov byte [esp + 0x118], al
call fcn.004019e0
mov ecx, dword [esp + 0x120]
push ecx
call fcn.004db420
add esp, 4
xor eax, eax
jmp 0x480696
lea ecx, [ebp + 0x30]
call fcn.004aceb0
mov eax, dword [esp + 0x4c]
xor ebx, ebx
cmp eax, ebx
je 0x480608
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4805ff
cmp al, 0xff
je 0x4805ff
dec al
mov byte [ecx], al
jmp 0x480608
push ecx
call fcn.004db420
add esp, 4
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
cmp esi, edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov byte [esp + 0x114], 1
je 0x48063c
push 1
mov ecx, esi
call fcn.004019e0
add esi, 0x10
cmp esi, edi
jne 0x480628
mov esi, dword [esp + 0x24]
push esi
call fcn.004db420
mov ecx, dword [esp + 0x74]
add esp, 4
cmp ecx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
je 0x480675
mov al, byte [ecx - 1]
test al, al
je 0x48066b
cmp al, 0xff
je 0x48066b
dec al
mov byte [ecx - 1], al
jmp 0x480675
dec ecx
push ecx
call fcn.004db420
add esp, 4
mov edx, dword [esp + 0x120]
mov dword [esp + 0x70], ebx
push edx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
call fcn.004db420
add esp, 4
mov eax, 0xb
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x108
ret 0x10