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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ee1e5
push eax
mov dword fs:[0], esp
sub esp, 0xd8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00469a70
mov ebx, dword [esp + 0xf8]
xor ebp, ebp
test al, al
je 0x456439
mov ecx, dword [esi + 0x10]
cmp ecx, ebp
je 0x456439
call fcn.004c7cf0
test eax, eax
je 0x456439
mov al, byte [esp + 0x23]
push ebp
lea ecx, [esp + 0x28]
mov byte [esp + 0x28], al
call fcn.004019e0
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.00404080
mov edx, ebx
lea ecx, [esp + 0x64]
push 0xa
and edx, 0xff
push ecx
push edx
mov dword [esp + 0xfc], ebp
call fcn.004dc0b8
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.00460480
mov edi, 0x508b68
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x508b68
lea ecx, [esp + 0x2c]
call fcn.00460480
mov ecx, dword [esp + 0xfc]
lea eax, [esp + 0x64]
push 0xa
and ecx, 0xff
push eax
push ecx
call fcn.004dc0b8
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.00460480
mov edi, 0x508b68
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x508b68
lea ecx, [esp + 0x2c]
call fcn.00460480
movsx eax, byte [esp + 0x100]
lea edx, [esp + 0x64]
push 0xa
push edx
push eax
call fcn.004dc0b8
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.00460480
mov edi, 0x508b68
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x508b68
lea ecx, [esp + 0x2c]
call fcn.00460480
mov edx, dword [esp + 0x104]
lea ecx, [esp + 0x64]
push 0xa
and edx, 0xffff
push ecx
push edx
call fcn.004dc0b8
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.00460480
mov edi, 0x5088b0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x5088b0
lea ecx, [esp + 0x2c]
call fcn.00460480
mov eax, dword [esp + 0x28]
cmp eax, ebp
jne 0x456419
mov eax, 0x4f4178
mov ecx, dword [esi + 0x10]
push ebp
push eax
call fcn.0046b670
push 1
lea ecx, [esp + 0x28]
mov dword [esp + 0xf4], 0xffffffff
call fcn.004019e0
mov al, byte [esi + 4]
mov dword [esi + 0xc], ebp
test al, al
jne 0x456455
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 0x4564dc
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.004a91c0
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.00479ad0
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.00479d00
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 0x456520
cmp cx, bp
je 0x4564be
mov dl, byte [esp + 0x23]
push ebp
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], dl
call fcn.004019e0
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.00404080
mov ebp, ebx
and ebp, 0xff
cmp ebp, 0x15
jg 0x456652
je 0x456638
cmp ebp, 0x11
ja case.0x456668.36
xor eax, eax
mov al, byte [ebp + 0x457220]
jmp dword [eax*4 + 0x457204]
push ebp
lea ecx, [esp + 0x68]
push str.DB15_PIN_d
push ecx
call fcn.004dbc12
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 0x4566f7
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 0x4566f7
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 0x4566f7
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 0x4566f7
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 0x4566f7
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 0x4566f7
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 0x4566f7
lea eax, [ebp - 0x1e]
cmp eax, 0xe1
ja case.0x456668.36
xor ecx, ecx
mov cl, byte [eax + 0x457250]
jmp dword [ecx*4 + 0x457234]
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 0x4566f7
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 0x4566f7
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 0x4566f7
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 0x4566f7
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 0x4566f7
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.00460480
mov edi, 0x508a3c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x508a3c
lea ecx, [esp + 0x18]
call fcn.00460480
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.00401d50
test al, al
je 0x456762
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.00401d30
mov eax, dword [esp + 0xfc]
and eax, 0xff
cmp eax, 0x15
jg 0x456938
je 0x456915
cmp eax, 0x11
ja case.0x45694e.36
xor ecx, ecx
mov cl, byte [eax + 0x457354]
jmp dword [ecx*4 + 0x457334]
push ebp
lea edx, [esp + 0x68]
push str.DB15_PIN_d
push edx
call fcn.004dbc12
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.00460480
jmp 0x456b85
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.00460480
jmp 0x456b85
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.00460480
jmp 0x456b85
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.00460480
jmp 0x456b85
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.00460480
jmp 0x456b85
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 [0x4f4164]
sub ecx, edx
cmp ecx, esi
ja 0x45687c
call fcn.004db42b
test esi, esi
jbe 0x456b85
mov edx, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x14]
lea ebx, [edx + esi]
push ebx
call fcn.00401d50
test al, al
je 0x456b85
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 0x456b6d
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 [0x4f4164]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x4568db
call fcn.004db42b
test esi, esi
jbe 0x456b85
mov ecx, dword [esp + 0x18]
push 0
lea ebx, [ecx + esi]
lea ecx, [esp + 0x14]
push ebx
call fcn.00401d50
test al, al
je 0x456b85
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 0x456b6d
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.00460480
jmp 0x456b85
add eax, 0xffffffe2
cmp eax, 0xe1
ja case.0x45694e.36
xor ecx, ecx
mov cl, byte [eax + 0x457384]
jmp dword [ecx*4 + 0x457368]
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.00460480
jmp 0x456b85
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.00460480
jmp 0x456b85
mov edi, str.DB15_PWM
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x4f4164]
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 0x4569c1
call fcn.004db42b
test esi, esi
jbe 0x456b85
mov eax, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x14]
lea ebx, [eax + esi]
push ebx
call fcn.00401d50
test al, al
je 0x456b85
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 0x456b76
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 [0x4f4164]
sub ecx, edx
cmp ecx, esi
ja 0x456a2a
call fcn.004db42b
test esi, esi
jbe 0x456b85
mov edx, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x14]
lea ebx, [edx + esi]
push ebx
call fcn.00401d50
test al, al
je 0x456b85
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 0x456b6d
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 [0x4f4164]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x456a89
call fcn.004db42b
test esi, esi
jbe 0x456b85
mov ecx, dword [esp + 0x18]
push 0
lea ebx, [ecx + esi]
lea ecx, [esp + 0x14]
push ebx
call fcn.00401d50
test al, al
je 0x456b85
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 0x456b6d
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 [0x4f4164]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x456ae8
call fcn.004db42b
test esi, esi
jbe 0x456b85
mov ecx, dword [esp + 0x18]
push 0
lea ebx, [ecx + esi]
lea ecx, [esp + 0x14]
push ebx
call fcn.00401d50
test al, al
je 0x456b85
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 0x456b6d
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 [0x4f4164]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x456b40
call fcn.004db42b
test esi, esi
jbe 0x456b85
mov ecx, dword [esp + 0x18]
push 0
lea ebx, [ecx + esi]
lea ecx, [esp + 0x14]
push ebx
call fcn.00401d50
test al, al
je 0x456b85
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.00401d30
mov edi, 0x508a3c
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x18]
repne scasb al, byte es:[edi]
mov eax, dword [0x4f4164]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x456baa
call fcn.004db42b
test esi, esi
jbe 0x456bef
mov eax, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x14]
lea ebx, [eax + esi]
push ebx
call fcn.00401d50
test al, al
je 0x456bef
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ebx
lea edi, [edx + ecx]
mov ecx, esi
mov eax, ecx
mov esi, 0x508a3c
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.00401d30
movsx ecx, byte [esp + 0x100]
push ecx
lea edx, [esp + 0x90]
push str._n__W_INT8_iOutputVoltage___d_
push edx
call fcn.004dbc12
lea edi, [esp + 0x98]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov eax, dword [0x4f4164]
mov edx, dword [esp + 0x18]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x456c34
call fcn.004db42b
test esi, esi
jbe 0x456c7b
mov ecx, dword [esp + 0x18]
push 0
lea ebx, [ecx + esi]
lea ecx, [esp + 0x14]
push ebx
call fcn.00401d50
test al, al
je 0x456c7b
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.00401d30
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 [0x4f4164]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x456ca0
call fcn.004db42b
test esi, esi
jbe 0x456ce5
mov ecx, dword [esp + 0x18]
push 0
lea ebx, [ecx + esi]
lea ecx, [esp + 0x14]
push ebx
call fcn.00401d50
test al, al
je 0x456ce5
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.00401d30
mov bl, byte [esp + 0x104]
test bl, 1
je 0x456d49
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 [0x4f4164]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x456d16
call fcn.004db42b
test esi, esi
jbe 0x456db3
mov ecx, dword [esp + 0x18]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x14]
push ebp
call fcn.00401d50
test al, al
je 0x456db3
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 0x456d9b
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 [0x4f4164]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x456d6e
call fcn.004db42b
test esi, esi
jbe 0x456db3
mov ecx, dword [esp + 0x18]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x14]
push ebp
call fcn.00401d50
test al, al
je 0x456db3
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.00401d30
mov edi, 0x508958
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x18]
repne scasb al, byte es:[edi]
mov eax, dword [0x4f4164]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x456dd8
call fcn.004db42b
test esi, esi
jbe 0x456e1d
mov ecx, dword [esp + 0x18]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x14]
push ebp
call fcn.00401d50
test al, al
je 0x456e1d
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, esi
mov esi, 0x508958
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.00401d30
test bl, 2
je 0x456e7a
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 [0x4f4164]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x456e47
call fcn.004db42b
test esi, esi
jbe 0x456ee4
mov ecx, dword [esp + 0x18]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x14]
push ebp
call fcn.00401d50
test al, al
je 0x456ee4
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 0x456ecc
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 [0x4f4164]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x456e9f
call fcn.004db42b
test esi, esi
jbe 0x456ee4
mov ecx, dword [esp + 0x18]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x14]
push ebp
call fcn.00401d50
test al, al
je 0x456ee4
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.00401d30
test bl, 0x80
je 0x456f53
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 [0x4f4164]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x456f0e
call fcn.004db42b
test esi, esi
jbe 0x456f53
mov ecx, dword [esp + 0x18]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x14]
push ebp
call fcn.00401d50
test al, al
je 0x456f53
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.00401d30
test bl, 0x40
je 0x456fc2
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 [0x4f4164]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x456f7d
call fcn.004db42b
test esi, esi
jbe 0x456fc2
mov eax, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x14]
lea ebx, [eax + esi]
push ebx
call fcn.00401d50
test al, al
je 0x456fc2
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.00401d30
cmp byte [esp + 0xf8], 4
jne 0x456fe7
push 1
lea ecx, [esp + 0x14]
mov dword [esp + 0xf4], 0xffffffff
call fcn.004019e0
jmp 0x4564be
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4570ec
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.004019e0
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.00401d50
test al, al
je 0x45704e
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.004159f0
push 0xfffffffffffffff6
lea ecx, [esp + 0x88]
mov byte [esp + 0x114], 1
call fcn.00454d50
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.004019e0
mov eax, dword [0x4f4164]
lea ecx, [esp + 0x44]
push eax
push 0
push edi
call fcn.004017e0
add esi, 0x18
lea ecx, [esp + 0x54]
push esi
mov byte [esp + 0xf4], 4
call fcn.004159f0
lea ecx, [esp + 0x3c]
push 0x5009e8
push ecx
mov dword [esp + 0x44], 0x4f4e70
mov byte [esp + 0xf8], 3
call fcn.004dc610
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.004019e0
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.00401d50
test al, al
je 0x457148
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.004159f0
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0xe0]
push eax
mov byte [esp + 0x114], 1
call fcn.00454d50
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.004019e0
mov eax, dword [0x4f4164]
lea ecx, [esp + 0x44]
push eax
push 0
push edi
call fcn.004017e0
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.004019e0
mov edx, dword [0x4f4164]
lea ecx, [esp + 0x54]
push edx
push 0
push esi
call fcn.004017e0
lea eax, [esp + 0x3c]
push 0x5009e8
push eax
mov dword [esp + 0x44], 0x4f4e70
mov byte [esp + 0xf8], 6
call fcn.004dc610
shl byte [ebp + 0x45], 1
add byte [edx - 369080987], cl
inc ebp
add byte [esi], al
inc ebp
add byte [esi + 0x1e004565], dh
inc bp
add byte [eax], al
inc ebp
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, 0x666fff8b
inc ebp
add byte [esi - 0x62ffba9a], al
inc bp
add bl, cl
inc bp
add byte [esi + 0x66e20045], dh
inc ebp
add byte [eax], al
inc ebp
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, 0x67edff8b
inc ebp
add byte [ebp + 0x10004567], dl
push 0x68560045
inc ebp
add dl, cl
inc ebp
add byte [esi + 0x33004568], dh
push 0x6b1b0045
inc ebp
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
push ebp
imul eax, dword [ebp], case.0x45694e.31
wait
imul eax, dword [ebp], case.0x45694e.33
add al, 0x6a
inc ebp
add bl, al
push 0x45
add byte [ebx], bl
imul eax, dword [ebp], 0
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