Function at 0x475280
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49eb95
push eax
mov dword fs:[0], esp
sub esp, 0xd8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00484620
mov ebx, dword [esp + 0xf8]
xor ebp, ebp
test al, al
je 0x475479
mov ecx, dword [esi + 0x10]
cmp ecx, ebp
je 0x475479
call fcn.00482e30
test eax, eax
je 0x475479
mov al, byte [esp + 0x23]
push ebp
lea ecx, [esp + 0x28]
mov byte [esp + 0x28], al
call fcn.00401bb0
mov edi, str.CCommWithEcu::SetIoPort_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.CCommWithEcu::SetIoPort_
lea ecx, [esp + 0x2c]
call fcn.00418330
mov edx, ebx
lea ecx, [esp + 0x64]
push 0xa
and edx, 0xff
push ecx
push edx
mov dword [esp + 0xfc], ebp
call fcn.0048ea44
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x2c]
call fcn.00430fa0
mov edi, 0x4aefd4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4aefd4
lea ecx, [esp + 0x2c]
call fcn.00430fa0
mov ecx, dword [esp + 0xfc]
lea eax, [esp + 0x64]
push 0xa
and ecx, 0xff
push eax
push ecx
call fcn.0048ea44
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x2c]
call fcn.00430fa0
mov edi, 0x4aefd4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4aefd4
lea ecx, [esp + 0x2c]
call fcn.00430fa0
movsx eax, byte [esp + 0x100]
lea edx, [esp + 0x64]
push 0xa
push edx
push eax
call fcn.0048ea44
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x2c]
call fcn.00430fa0
mov edi, 0x4aefd4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4aefd4
lea ecx, [esp + 0x2c]
call fcn.00430fa0
mov edx, dword [esp + 0x104]
lea ecx, [esp + 0x64]
push 0xa
and edx, 0xffff
push ecx
push edx
call fcn.0048ea44
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x2c]
call fcn.00430fa0
mov edi, 0x4aec48
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4aec48
lea ecx, [esp + 0x2c]
call fcn.00430fa0
mov eax, dword [esp + 0x28]
cmp eax, ebp
jne 0x475459
mov eax, 0x4a014c
mov ecx, dword [esi + 0x10]
push ebp
push eax
call fcn.004835e0
push 1
lea ecx, [esp + 0x28]
mov dword [esp + 0xf4], 0xffffffff
call fcn.00401bb0
mov al, byte [esi + 4]
mov dword [esi + 0xc], ebp
test al, al
jne 0x475495
mov edi, dword [esi + 0x14]
mov ecx, 0x19
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x1c], eax
mov ecx, dword [esi + 0x1c]
mov byte [ecx], 1
mov edx, dword [esi + 0x1c]
mov cl, byte [esp + 0xfc]
mov byte [edx + 1], 1
mov eax, dword [esi + 0x1c]
mov byte [eax + 2], cl
mov edx, dword [esi + 0x1c]
mov cl, byte [esp + 0x100]
mov byte [edx + 3], bl
mov eax, dword [esi + 0x1c]
mov byte [eax + 4], cl
mov edx, dword [esi + 0x1c]
mov al, byte [esp + 0x104]
mov byte [edx + 5], al
mov al, byte [esi + 4]
test al, al
je 0x47551c
mov edi, dword [esi + 0x1c]
add esi, 0x20
add edi, 6
lea ecx, [esp + 0x24]
mov dword [esi - 4], edi
mov edx, dword [esi + 8]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], 1
call fcn.0047d950
mov ecx, dword [esp + 0xe8]
pop edi
pop esi
pop ebp
xor ax, ax
mov dword fs:[0], ecx
pop ebx
add esp, 0xe4
ret 0x10
mov eax, dword [esi + 0x14]
mov ecx, dword [esi]
push 6
push eax
call fcn.00484c00
mov edi, dword [esi + 0x18]
mov ecx, 0x19
xor eax, eax
push 0xffff
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x18]
push ecx
mov ecx, dword [esi]
call fcn.00484e10
mov esi, dword [esi + 0x18]
mov dword [esp + 0x34], eax
add esi, 8
cmp eax, ebp
movsx cx, byte [esi]
mov dword [esp + 0x38], ecx
je 0x475560
cmp cx, bp
je 0x4754fe
mov dl, byte [esp + 0x23]
push ebp
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], dl
call fcn.00401bb0
mov edi, str.W_UINT8_iIoOutputPort_
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0xf0], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.W_UINT8_iIoOutputPort_
lea ecx, [esp + 0x18]
call fcn.00418330
mov ebp, ebx
and ebp, 0xff
cmp ebp, 0x15
jg 0x475692
je 0x475678
cmp ebp, 0x11
ja case.0x4756a8.36
xor eax, eax
mov al, byte [ebp + 0x476260]
jmp dword [eax*4 + 0x476244]
push ebp
lea ecx, [esp + 0x68]
push str.DB15_PIN_d
push ecx
call fcn.0048dfde
lea edi, [esp + 0x70]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x64]
push ecx
push edx
jmp 0x475737
mov edi, str.DB15_PIN10_INPUT
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.DB15_PIN10_INPUT
jmp 0x475737
mov edi, str.DB15_PIN0_INPUT_GROUND
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.DB15_PIN0_INPUT_GROUND
jmp 0x475737
mov edi, str.DB15_PIN2_INPUT
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.DB15_PIN2_INPUT
jmp 0x475737
mov edi, str.DB15_PIN4_OUTPUT_INVALIDATION
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.DB15_PIN4_OUTPUT_INVALIDATION
jmp 0x475737
mov edi, str.DB15_PIN1_HIGH_ELECTRICITY
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.DB15_PIN1_HIGH_ELECTRICITY
jmp 0x475737
mov edi, str.DB15_PIN5_HIGH_ELECTRICITY
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.DB15_PIN5_HIGH_ELECTRICITY
jmp 0x475737
lea eax, [ebp - 0x1e]
cmp eax, 0xe1
ja case.0x4756a8.36
xor ecx, ecx
mov cl, byte [eax + 0x476290]
jmp dword [ecx*4 + 0x476274]
mov edi, str.DB15_PIN14_153_6kHz
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.DB15_PIN14_153_6kHz
jmp 0x475737
mov edi, str.DB15_VPW
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.DB15_VPW
jmp 0x475737
mov edi, str.DB15_PWM
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.DB15_PWM
jmp 0x475737
mov edi, str.DB15_CAN_PIN6_14
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.DB15_CAN_PIN6_14
jmp 0x475737
mov edi, str.DB15_CAN_PIN3_11
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.DB15_CAN_PIN3_11
jmp 0x475737
mov edi, str.DB15_NO_SWITCH_CHANNEL
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.DB15_NO_SWITCH_CHANNEL
lea ecx, [esp + 0x18]
call fcn.00430fa0
mov edi, 0x4af47c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4af47c
lea ecx, [esp + 0x18]
call fcn.00430fa0
mov edi, str._n__W_UINT8_iIoInputPort_
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x14]
push ebx
call fcn.0040aba0
test al, al
je 0x4757a2
mov edi, dword [esp + 0x14]
mov ecx, ebx
mov edx, ecx
mov esi, str._n__W_UINT8_iIoInputPort_
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.0040ab80
mov eax, dword [esp + 0xfc]
and eax, 0xff
cmp eax, 0x15
jg 0x475978
je 0x475955
cmp eax, 0x11
ja case.0x47598e.36
xor ecx, ecx
mov cl, byte [eax + 0x476394]
jmp dword [ecx*4 + 0x476374]
push ebp
lea edx, [esp + 0x68]
push str.DB15_PIN_d
push edx
call fcn.0048dfde
lea edi, [esp + 0x70]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x64]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00430fa0
jmp 0x475bc5
mov edi, str.DB15_PIN10_INPUT
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.DB15_PIN10_INPUT
lea ecx, [esp + 0x18]
call fcn.00430fa0
jmp 0x475bc5
mov edi, str.DB15_PIN0_INPUT_GROUND
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.DB15_PIN0_INPUT_GROUND
lea ecx, [esp + 0x18]
call fcn.00430fa0
jmp 0x475bc5
mov edi, str.DB15_PIN2_INPUT
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.DB15_PIN2_INPUT
lea ecx, [esp + 0x18]
call fcn.00430fa0
jmp 0x475bc5
mov edi, str.DB15_PIN1_HIGH_ELECTRICITY
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.DB15_PIN1_HIGH_ELECTRICITY
lea ecx, [esp + 0x18]
call fcn.00430fa0
jmp 0x475bc5
mov edi, str.DB15_PIN4_INPUT_UNCONNECT
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [0x4a0148]
sub ecx, edx
cmp ecx, esi
ja 0x4758bc
call fcn.0048d50b
test esi, esi
jbe 0x475bc5
mov edx, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x14]
lea ebx, [edx + esi]
push ebx
call fcn.0040aba0
test al, al
je 0x475bc5
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edi, [ecx + eax]
mov ecx, esi
mov esi, str.DB15_PIN4_INPUT_UNCONNECT
jmp 0x475bad
mov edi, str.DB15_PIN15_INPUT_WORK_VOLTAGE
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x18]
repne scasb al, byte es:[edi]
mov eax, dword [0x4a0148]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x47591b
call fcn.0048d50b
test esi, esi
jbe 0x475bc5
mov ecx, dword [esp + 0x18]
push 0
lea ebx, [ecx + esi]
lea ecx, [esp + 0x14]
push ebx
call fcn.0040aba0
test al, al
je 0x475bc5
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, esi
mov esi, str.DB15_PIN15_INPUT_WORK_VOLTAGE
lea edi, [eax + edx]
jmp 0x475bad
mov edi, str.DB15_PIN5_HIGH_ELECTRICITY
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.DB15_PIN5_HIGH_ELECTRICITY
lea ecx, [esp + 0x18]
call fcn.00430fa0
jmp 0x475bc5
add eax, 0xffffffe2
cmp eax, 0xe1
ja case.0x47598e.36
xor ecx, ecx
mov cl, byte [eax + 0x4763c4]
jmp dword [ecx*4 + 0x4763a8]
mov edi, str.DB15_PIN14_153_6kHz
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.DB15_PIN14_153_6kHz
lea ecx, [esp + 0x18]
call fcn.00430fa0
jmp 0x475bc5
mov edi, str.DB15_VPW
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.DB15_VPW
lea ecx, [esp + 0x18]
call fcn.00430fa0
jmp 0x475bc5
mov edi, str.DB15_PWM
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x4a0148]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [esp + 0x18]
sub edx, ecx
cmp edx, esi
ja 0x475a01
call fcn.0048d50b
test esi, esi
jbe 0x475bc5
mov eax, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x14]
lea ebx, [eax + esi]
push ebx
call fcn.0040aba0
test al, al
je 0x475bc5
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea edi, [edx + ecx]
mov ecx, esi
mov eax, ecx
mov esi, str.DB15_PWM
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
jmp 0x475bb6
mov edi, str.DB15_CAN_PIN6_14
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [0x4a0148]
sub ecx, edx
cmp ecx, esi
ja 0x475a6a
call fcn.0048d50b
test esi, esi
jbe 0x475bc5
mov edx, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x14]
lea ebx, [edx + esi]
push ebx
call fcn.0040aba0
test al, al
je 0x475bc5
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edi, [ecx + eax]
mov ecx, esi
mov esi, str.DB15_CAN_PIN6_14
jmp 0x475bad
mov edi, str.DB15_CAN_PIN3_11
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x18]
repne scasb al, byte es:[edi]
mov eax, dword [0x4a0148]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x475ac9
call fcn.0048d50b
test esi, esi
jbe 0x475bc5
mov ecx, dword [esp + 0x18]
push 0
lea ebx, [ecx + esi]
lea ecx, [esp + 0x14]
push ebx
call fcn.0040aba0
test al, al
je 0x475bc5
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, esi
mov esi, str.DB15_CAN_PIN3_11
lea edi, [eax + edx]
jmp 0x475bad
mov edi, str.DB15_NO_SWITCH_CHANNEL
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x18]
repne scasb al, byte es:[edi]
mov eax, dword [0x4a0148]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x475b28
call fcn.0048d50b
test esi, esi
jbe 0x475bc5
mov ecx, dword [esp + 0x18]
push 0
lea ebx, [ecx + esi]
lea ecx, [esp + 0x14]
push ebx
call fcn.0040aba0
test al, al
je 0x475bc5
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, esi
mov esi, str.DB15_NO_SWITCH_CHANNEL
lea edi, [eax + edx]
jmp 0x475bad
mov edi, str.DB15_UNDEFINE
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x18]
repne scasb al, byte es:[edi]
mov eax, dword [0x4a0148]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x475b80
call fcn.0048d50b
test esi, esi
jbe 0x475bc5
mov ecx, dword [esp + 0x18]
push 0
lea ebx, [ecx + esi]
lea ecx, [esp + 0x14]
push ebx
call fcn.0040aba0
test al, al
je 0x475bc5
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, esi
mov esi, str.DB15_UNDEFINE
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.0040ab80
mov edi, 0x4af47c
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x18]
repne scasb al, byte es:[edi]
mov eax, dword [0x4a0148]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x475bea
call fcn.0048d50b
test esi, esi
jbe 0x475c2f
mov eax, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x14]
lea ebx, [eax + esi]
push ebx
call fcn.0040aba0
test al, al
je 0x475c2f
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ebx
lea edi, [edx + ecx]
mov ecx, esi
mov eax, ecx
mov esi, 0x4af47c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.0040ab80
movsx ecx, byte [esp + 0x100]
push ecx
lea edx, [esp + 0x90]
push str._n__W_INT8_iOutputVoltage___d_
push edx
call fcn.0048dfde
lea edi, [esp + 0x98]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov eax, dword [0x4a0148]
mov edx, dword [esp + 0x18]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x475c74
call fcn.0048d50b
test esi, esi
jbe 0x475cbb
mov ecx, dword [esp + 0x18]
push 0
lea ebx, [ecx + esi]
lea ecx, [esp + 0x14]
push ebx
call fcn.0040aba0
test al, al
je 0x475cbb
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, esi
lea esi, [esp + 0x8c]
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.0040ab80
mov edi, str._n__W_UINT16_ui16IoSelectItem_
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x18]
repne scasb al, byte es:[edi]
mov eax, dword [0x4a0148]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x475ce0
call fcn.0048d50b
test esi, esi
jbe 0x475d25
mov ecx, dword [esp + 0x18]
push 0
lea ebx, [ecx + esi]
lea ecx, [esp + 0x14]
push ebx
call fcn.0040aba0
test al, al
je 0x475d25
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, esi
mov esi, str._n__W_UINT16_ui16IoSelectItem_
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.0040ab80
mov bl, byte [esp + 0x104]
test bl, 1
je 0x475d89
mov edi, str.IOS_INPUT_POSITIVE_LOGIC
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x18]
repne scasb al, byte es:[edi]
mov eax, dword [0x4a0148]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x475d56
call fcn.0048d50b
test esi, esi
jbe 0x475df3
mov ecx, dword [esp + 0x18]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x14]
push ebp
call fcn.0040aba0
test al, al
je 0x475df3
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, esi
mov esi, str.IOS_INPUT_POSITIVE_LOGIC
lea edi, [eax + edx]
jmp 0x475ddb
mov edi, str.IOS_INPUT_NEGATIVE_LOGIC
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x18]
repne scasb al, byte es:[edi]
mov eax, dword [0x4a0148]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x475dae
call fcn.0048d50b
test esi, esi
jbe 0x475df3
mov ecx, dword [esp + 0x18]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x14]
push ebp
call fcn.0040aba0
test al, al
je 0x475df3
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, esi
mov esi, str.IOS_INPUT_NEGATIVE_LOGIC
lea edi, [eax + edx]
mov edx, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.0040ab80
mov edi, 0x4aef58
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x18]
repne scasb al, byte es:[edi]
mov eax, dword [0x4a0148]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x475e18
call fcn.0048d50b
test esi, esi
jbe 0x475e5d
mov ecx, dword [esp + 0x18]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x14]
push ebp
call fcn.0040aba0
test al, al
je 0x475e5d
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, esi
mov esi, 0x4aef58
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.0040ab80
test bl, 2
je 0x475eba
mov edi, str.IOS_OUTPUT_POSITIVE_LOGIC
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x18]
repne scasb al, byte es:[edi]
mov eax, dword [0x4a0148]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x475e87
call fcn.0048d50b
test esi, esi
jbe 0x475f24
mov ecx, dword [esp + 0x18]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x14]
push ebp
call fcn.0040aba0
test al, al
je 0x475f24
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, esi
mov esi, str.IOS_OUTPUT_POSITIVE_LOGIC
lea edi, [eax + edx]
jmp 0x475f0c
mov edi, str.IOS_OUTPUT_NEGATIVE_LOGIC
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x18]
repne scasb al, byte es:[edi]
mov eax, dword [0x4a0148]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x475edf
call fcn.0048d50b
test esi, esi
jbe 0x475f24
mov ecx, dword [esp + 0x18]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x14]
push ebp
call fcn.0040aba0
test al, al
je 0x475f24
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, esi
mov esi, str.IOS_OUTPUT_NEGATIVE_LOGIC
lea edi, [eax + edx]
mov edx, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.0040ab80
test bl, 0x80
je 0x475f93
mov edi, str.IOS_OUTPUT_REVERSE
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x18]
repne scasb al, byte es:[edi]
mov eax, dword [0x4a0148]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x475f4e
call fcn.0048d50b
test esi, esi
jbe 0x475f93
mov ecx, dword [esp + 0x18]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x14]
push ebp
call fcn.0040aba0
test al, al
je 0x475f93
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, esi
mov esi, str.IOS_OUTPUT_REVERSE
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.0040ab80
test bl, 0x40
je 0x476002
mov edi, str.IOS_INPUT_PULL_UP
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x18]
repne scasb al, byte es:[edi]
mov eax, dword [0x4a0148]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x475fbd
call fcn.0048d50b
test esi, esi
jbe 0x476002
mov eax, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x14]
lea ebx, [eax + esi]
push ebx
call fcn.0040aba0
test al, al
je 0x476002
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ebx
lea edi, [edx + ecx]
mov ecx, esi
mov eax, ecx
mov esi, str.IOS_INPUT_PULL_UP
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.0040ab80
cmp byte [esp + 0xf8], 4
jne 0x476027
push 1
lea ecx, [esp + 0x14]
mov dword [esp + 0xf4], 0xffffffff
call fcn.00401bb0
jmp 0x4754fe
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x47612c
mov cl, byte [esp + 0x23]
sub esp, 0x10
mov ebx, esp
mov dword [esp + 0x48], esp
push 0
mov byte [ebx], cl
mov ecx, ebx
call fcn.00401bb0
mov edi, str.CCommWithEcu::SetIoPort__
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
mov ecx, ebx
push ebp
call fcn.0040aba0
test al, al
je 0x47608e
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
mov esi, str.CCommWithEcu::SetIoPort__
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov dword [ebx + 8], ebp
add ebp, eax
mov byte [ebp], 0
sub esp, 0x10
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
mov byte [esp + 0x114], 2
call fcn.0040a690
push 0xfffffffffffffff6
lea ecx, [esp + 0x88]
mov byte [esp + 0x114], 1
call fcn.00481f40
mov esi, eax
mov cx, word [esi + 4]
lea edi, [esi + 8]
mov word [esp + 0x40], cx
push 0
mov dl, byte [edi]
lea ecx, [esp + 0x48]
mov byte [esp + 0xf4], 3
mov byte [esp + 0x48], dl
call fcn.00401bb0
mov eax, dword [0x4a0148]
lea ecx, [esp + 0x44]
push eax
push 0
push edi
call fcn.0040a8e0
add esi, 0x18
lea ecx, [esp + 0x54]
push esi
mov byte [esp + 0xf4], 4
call fcn.0040a690
lea ecx, [esp + 0x3c]
push 0x4abb48
push ecx
mov dword [esp + 0x44], 0x4a0270
mov byte [esp + 0xf8], 3
call fcn.0048e553
mov dl, byte [esp + 0x23]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x44], esp
push 0
mov ecx, ebp
mov byte [ebp], dl
call fcn.00401bb0
mov edi, str.CCommWithEcu::SetIoPort__
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.0040aba0
test al, al
je 0x476188
mov edi, dword [ebp + 4]
mov ecx, ebx
mov eax, ecx
mov esi, str.CCommWithEcu::SetIoPort__
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp + 8], ebx
mov ebp, dword [ebp + 4]
add ebp, ebx
mov byte [ebp], 0
sub esp, 0x10
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x114], 5
call fcn.0040a690
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0xe0]
push eax
mov byte [esp + 0x114], 1
call fcn.00481f40
mov esi, eax
mov cx, word [esi + 4]
lea edi, [esi + 8]
mov word [esp + 0x40], cx
push 0
mov dl, byte [edi]
lea ecx, [esp + 0x48]
mov byte [esp + 0xf4], 6
mov byte [esp + 0x48], dl
call fcn.00401bb0
mov eax, dword [0x4a0148]
lea ecx, [esp + 0x44]
push eax
push 0
push edi
call fcn.0040a8e0
mov cl, byte [esi + 0x18]
add esi, 0x18
mov byte [esp + 0x54], cl
push 0
lea ecx, [esp + 0x58]
mov byte [esp + 0xf4], 7
call fcn.00401bb0
mov edx, dword [0x4a0148]
lea ecx, [esp + 0x54]
push edx
push 0
push esi
call fcn.0040a8e0
lea eax, [esp + 0x3c]
push 0x4abb48
push eax
mov dword [esp + 0x44], 0x4a0270
mov byte [esp + 0xf8], 6
call fcn.0048e553
adc byte [esi + 0x47], dl
add dl, cl
push ebp
inc edi
add byte [edx], ch
push esi
inc edi
add byte [esi + edx*2 + 0x47], al
add dh, dh
push ebp
inc edi
add byte [esi + 0x56], bl
inc edi
add byte [eax + 0x57], al
inc edi
add byte [eax], al
add dword [edx], eax
add dword [ebx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx + eax], eax
add dword [ecx], eax
add dword [esi], eax
push es
add eax, 0x56afff8b
inc edi
add dh, al
push esi
inc edi
add ch, bl
push esi
inc edi
add byte [ebx], cl
push edi
inc edi
add ah, dh
push esi
inc edi
add byte [edx], ah
push edi
inc edi
add byte [eax + 0x57], al
inc edi
add byte [eax], al
push es
push es
push es
add dword [esi], eax
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
add al, byte [esi]
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
add eax, dword [esi]
push es
add al, 6
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
add eax, 0x582dff8b
inc edi
add ch, dl
push edi
inc edi
add byte [eax + 0x58], dl
inc edi
add byte [esi + 0xa004758], dl
pop eax
inc edi
add dh, dh
pop eax
inc edi
add byte [ebx + 0x58], dh
inc edi
add byte [ebx + 0x5b], bl
inc edi
add byte [eax], al
add dword [edx], eax
add dword [ebx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx + eax], eax
add dword [ecx], eax
add dword [0xff8b0607], eax
xchg ebp, eax
pop ecx
inc edi
add byte [eax - 0x24ffb8a7], bh
pop ecx
inc edi
add byte [edx + ebx*2 + 0x5a440047], ah
inc edi
add byte [ebx], al
pop ebx
inc edi
add byte [ebx + 0x5b], bl
inc edi
add byte [eax], al
push es
push es
push es
add dword [esi], eax
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
add al, byte [esi]
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
add eax, dword [esi]
push es
add al, 6
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
add eax, 0x90909090
nop
nop
nop
nop
nop
nop