Function at 0x4e588f
Capabilities:
Parse pe header

Disassembly:
push ebp
lea ebp, [esp - 0x1024]
mov eax, 0x1024
call fcn.0050b9b0
push 0xffffffffffffffff
push 0x51a950
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x7c6ee4]
xor eax, ebp
mov dword [ebp + 0x1020], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0046f7f0
test al, al
je case.default.0x46ebb8
push 0x1000
lea eax, [ebp + 0x20]
mov dword [ebp - 0x24], 0
push 0
push eax
call fcn.0050c5b0
mov edx, dword [0x7c8aec]
add esp, 0xc
mov eax, dword [edx + 8]
cmp eax, 3
ja case.default.0x46ebb8
jmp dword [eax*4 + 0x46f0c4]
cmp byte [edx + 0x19], 0
jne 0x46ebf7
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x14]
push str.Please_save_the_data_after_the_key_is_successfully_written.
push eax
call fcn.004738d0
push 0
push 0x400
push eax
push ebx
mov dword [ebp - 4], 0
call fcn.00433bd0
add esp, 0x20
lea ecx, [ebp - 0x14]
jmp 0x46f09b
push dword [edx + 0x78]
movzx eax, byte [edx + 0x64]
lea esi, [edx + 0xe4]
push eax
sub esp, 0xb4
movzx eax, byte [edx + 0x14]
mov edi, esp
mov ecx, 0x2c
rep movsd dword es:[edi], dword [esi]
sub esp, 0x68
mov ecx, 0x1a
movsw word es:[edi], word [esi]
mov edi, esp
lea esi, [edx + 0x7c]
push eax
push 0
lea eax, [ebp - 0x24]
push eax
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp + 0x20]
mov ecx, edx
push eax
call fcn.004b49f0
jmp 0x46ee1b
cmp byte [edx + 0x19], 0
jne 0x46ec78
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x14]
push str.Please_save_the_data_after_the_key_is_successfully_written.
push eax
call fcn.004738d0
push 0
push 0x400
push eax
push ebx
mov dword [ebp - 4], 1
call fcn.00433bd0
add esp, 0x20
lea ecx, [ebp - 0x14]
jmp 0x46f09b
lea eax, [ebp - 0x24]
mov ecx, edx
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.004af5d0
jmp 0x46ee1b
cmp byte [ebx + 0xbc], 0
jne 0x46ecc7
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x14]
push str.Please_load_the_EEPROM_file_first.
push eax
call fcn.004738d0
push 0
push 0x400
push eax
push ebx
mov dword [ebp - 4], 2
call fcn.00433bd0
add esp, 0x20
lea ecx, [ebp - 0x14]
jmp 0x46f09b
push ebx
lea ecx, [ebp]
call fcn.004752b0
lea ecx, [ebp]
mov dword [ebp - 4], 3
call fcn.00476780
lea ecx, [ebp]
call dword [0x5316b0]
cmp eax, 0x9000
jne 0x46ed9a
mov eax, dword [0x7c8aec]
lea ecx, [ebp - 0x10]
push 0x10
add eax, 0x39
push eax
call dword [0x530648]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
push ecx
mov ecx, eax
call dword [0x53044c]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
push ecx
mov ecx, eax
call dword [0x530460]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call dword [0x530418]
mov ecx, dword [ebx + 0x18]
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 7
mov ecx, dword [ecx + 0x7c]
call dword [0x531200]
lea ecx, [ebp - 0x1c]
call dword [0x5307a0]
lea ecx, [ebp - 0x14]
call dword [0x5307ac]
lea ecx, [ebp - 0x18]
call dword [0x5307ac]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call dword [0x5307ac]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x10]
push str.The_operation_is_complete.
push eax
call fcn.004738d0
push 0
push 0x400
push eax
push ebx
mov byte [ebp - 4], 8
call fcn.00433bd0
add esp, 0x20
jmp 0x46edbe
mov ecx, dword [0x7c81c4]
lea eax, [ebp - 0x10]
push eax
call fcn.0043b9f0
push 0
push 0x400
push eax
push ebx
mov byte [ebp - 4], 9
call fcn.00433bd0
add esp, 0x10
lea ecx, [ebp - 0x10]
call dword [0x5307a0]
lea ecx, [ebp]
call fcn.004759d0
jmp case.default.0x46ebb8
cmp byte [edx + 0x19], 0
jne 0x46ee0c
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x10]
push str.Please_save_the_data_after_the_key_is_successfully_written.
push eax
call fcn.004738d0
push 0
push 0x400
push eax
push ebx
mov dword [ebp - 4], 0xa
call fcn.00433bd0
add esp, 0x20
lea ecx, [ebp - 0x10]
jmp 0x46f09b
lea eax, [ebp - 0x24]
mov ecx, edx
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.004b3ea0
mov edi, dword [0x53076c]
push 0xf
push str.yyyyMMdd_hhmmss
call edi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0xb
push eax
call dword [0x5306b0]
add esp, 0xc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
push ecx
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
call dword [0x5306b4]
lea ecx, [ebp - 0x10]
call dword [0x5306b8]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xf
call dword [0x5307a0]
lea eax, [ebp - 0x18]
push eax
call dword [0x53074c]
mov esi, eax
push 0x16
push str._1_CG100X__2__3._4.bin
mov byte [ebp - 4], 0x10
call edi
add esp, 0xc
mov dword [ebp - 0x14], eax
lea eax, [ebx + 0xc0]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x2c]
push eax
push esi
push 0x7c8254
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
call dword [0x530224]
lea ecx, [ebp - 0x14]
call dword [0x5307a0]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x14
call dword [0x5307a0]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1c]
push str.Bin_Files__.bin_
push eax
call fcn.004738d0
mov esi, eax
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0x15
push str.Save
push eax
call fcn.004738d0
push 0
push 0
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x16
push ecx
push eax
lea eax, [ebp - 0x20]
push ebx
push eax
call dword [0x5312a0]
add esp, 0x3c
lea ecx, [ebp - 0x10]
call dword [0x5307a0]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x19
call dword [0x5307a0]
mov eax, dword [ebp - 0x20]
cmp dword [eax + 4], 0
je 0x46f086
push ecx
lea eax, [ebp - 0x20]
mov ecx, esp
push eax
call dword [0x5307a4]
call fcn.00433de0
add esp, 4
lea ecx, [ebp - 0x34]
call dword [0x5306f0]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x1a
push eax
lea ecx, [ebp - 0x34]
call dword [0x5306e4]
push ecx
mov eax, esp
lea ecx, [ebp - 0x34]
mov dword [eax], 2
call dword [0x5306dc]
test al, al
je 0x46f04d
push 0
push dword [ebp - 0x24]
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp - 0x34]
call dword [0x530218]
lea ecx, [ebp - 0x34]
call dword [0x5306f8]
mov edi, dword [0x5308f0]
lea ecx, [ebp + 0x10]
push 0xff
push 0
push pe_nt_image_headers32
push 0
call edi
mov ecx, dword [ebx + 0x18]
lea eax, [ebp + 0x10]
mov esi, dword [0x530ee4]
push eax
mov ecx, dword [ecx + 0x64]
call esi
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x18]
push str.Saved_as:
push eax
call fcn.004738d0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x1b
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00424ad0
add esp, 0x1c
mov ecx, dword [ebx + 0x18]
push eax
mov byte [ebp - 4], 0x1c
mov ecx, dword [ecx + 0x64]
call dword [0x5311d8]
lea ecx, [ebp - 0x10]
call dword [0x5307a0]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x1a
call dword [0x5307a0]
push 0xff
push 0
push 0
push 0
lea ecx, [ebp + 0x10]
call edi
mov ecx, dword [ebx + 0x18]
lea eax, [ebp + 0x10]
push eax
mov ecx, dword [ecx + 0x64]
call esi
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x10]
push str.The_file_was_saved_successfully.
push eax
call fcn.004738d0
push 0
push 0x400
push eax
push ebx
mov byte [ebp - 4], 0x1d
call fcn.00433bd0
lea ecx, [ebp - 0x10]
jmp 0x46f074
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x18]
push str.File_save_failed.
push eax
call fcn.004738d0
push 0
push 0x400
push eax
push ebx
mov byte [ebp - 4], 0x1e
call fcn.00433bd0
lea ecx, [ebp - 0x18]
add esp, 0x20
call dword [0x5307a0]
lea ecx, [ebp - 0x34]
call dword [0x5306e8]
lea ecx, [ebp - 0x20]
call dword [0x5307a0]
lea ecx, [ebp - 0x28]
call dword [0x5307a0]
lea ecx, [ebp - 0x2c]
call dword [0x5307a0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1020]
xor ecx, ebp
call fcn.0050b38b
lea esp, [ebp + 0x1024]
pop ebp
ret
push ebp
lea ebp, [esp - 0x50]
sub esp, 0x50
push 0xffffffffffffffff
push 0x51aa9b
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
mov eax, dword [0x7c6ee4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0046f7f0
test al, al
je 0x46f700
mov eax, dword [0x7c8aec]
cmp dword [eax + 8], 2
jne 0x46f5ab
push esi
lea ecx, [ebp - 0x44]
call fcn.0047a290
push 2
push 0x539d00
mov dword [ebp - 4], 0
call dword [0x53076c]
mov dword [ebp + 0x48], eax
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x4c]
mov byte [ebp - 4], 1
push str.Mileage
push eax
call fcn.004738d0
add esp, 0x18
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 2
push ecx
push eax
push 2
lea ecx, [ebp - 0x44]
call fcn.0047a760
lea ecx, [ebp + 0x4c]
call dword [0x5307a0]
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 0
call dword [0x5307a0]
lea ecx, [ebp - 0x44]
call dword [0x5316b0]
cmp eax, 1
jne 0x46f592
mov ecx, dword [0x7c8aec]
mov eax, dword [ebp - 0x28]
push esi
mov dword [ecx + 0x34], eax
lea ecx, [ebp + 0x20]
mov eax, dword [0x7c8aec]
mov byte [eax + 0x38], 0xa5
call fcn.004752b0
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 3
call fcn.00476a60
lea ecx, [ebp + 0x20]
call dword [0x5316b0]
cmp eax, 0x9000
lea eax, [ebp + 0x4c]
jne 0x46f560
push 0xffffffffffffffff
push 0
push str.The_operation_is_complete.
push eax
call fcn.004738d0
push 0
push 0x400
push eax
push esi
mov byte [ebp - 4], 4
call fcn.00433bd0
add esp, 0x20
jmp 0x46f581
mov ecx, dword [0x7c81c4]
push eax
call fcn.0043b9f0
push 0
push 0x400
push eax
push esi
mov byte [ebp - 4], 5
call fcn.00433bd0
add esp, 0x10
lea ecx, [ebp + 0x4c]
call dword [0x5307a0]
lea ecx, [ebp + 0x20]
call fcn.004759d0
lea ecx, [ebp - 0x44]
call fcn.0047a3b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
lea esp, [ebp + 0x50]
pop ebp
ret
cmp byte [esi + 0xbc], 0
jne 0x46f5f8
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x4c]
push str.Please_load_the_EEPROM_file_first.
push eax
call fcn.004738d0
push 0
push 0x400
push eax
push esi
mov dword [ebp - 4], 6
call fcn.00433bd0
add esp, 0x20
lea ecx, [ebp + 0x4c]
call dword [0x5307a0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
lea esp, [ebp + 0x50]
pop ebp
ret
push esi
lea ecx, [ebp]
call fcn.004752b0
lea ecx, [ebp]
mov dword [ebp - 4], 7
call fcn.00476780
lea ecx, [ebp]
call dword [0x5316b0]
cmp eax, 0x9000
jne 0x46f6cb
mov eax, dword [0x7c8aec]
lea ecx, [ebp + 0x44]
push 0x10
add eax, 0x39
push eax
call dword [0x530648]
lea ecx, [ebp + 0x40]
mov byte [ebp - 4], 8
push ecx
mov ecx, eax
call dword [0x53044c]
lea ecx, [ebp + 0x4c]
mov byte [ebp - 4], 9
push ecx
mov ecx, eax
call dword [0x530460]
push eax
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 0xa
call dword [0x530418]
mov ecx, dword [esi + 0x18]
lea eax, [ebp + 0x48]
push eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ecx + 0x7c]
call dword [0x531200]
lea ecx, [ebp + 0x48]
call dword [0x5307a0]
lea ecx, [ebp + 0x4c]
call dword [0x5307ac]
lea ecx, [ebp + 0x40]
call dword [0x5307ac]
lea ecx, [ebp + 0x44]
mov byte [ebp - 4], 7
call dword [0x5307ac]
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x44]
push str.The_operation_is_complete.
push eax
call fcn.004738d0
push 0
push 0x400
push eax
push esi
mov byte [ebp - 4], 0xc
call fcn.00433bd0
add esp, 0x20
jmp 0x46f6ef
mov ecx, dword [0x7c81c4]
lea eax, [ebp + 0x44]
push eax
call fcn.0043b9f0
push 0
push 0x400
push eax
push esi
mov byte [ebp - 4], 0xd
call fcn.00433bd0
add esp, 0x10
lea ecx, [ebp + 0x44]
call dword [0x5307a0]
lea ecx, [ebp]
call fcn.004759d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
lea esp, [ebp + 0x50]
pop ebp
ret
cmp dword [esp + 8], 0
jne case.default.0x4e5864
mov eax, dword [esp + 0xc]
cmp eax, 0xf
ja case.default.0x4e5864
jmp dword [eax*4 + 0x4e5914]
mov ecx, dword [esp + 4]
jmp fcn.0046ad90
mov ecx, dword [esp + 4]
jmp fcn.0046ae60
mov ecx, dword [esp + 4]
jmp fcn.004888a0
mov ecx, dword [esp + 4]
jmp fcn.0046b080
mov ecx, dword [esp + 4]
jmp fcn.0046c740
mov ecx, dword [esp + 4]
jmp fcn.0046e310
mov ecx, dword [esp + 4]
jmp fcn.0046e780
mov ecx, dword [esp + 4]
jmp 0x46eb40
mov ecx, dword [esp + 4]
jmp fcn.0046f0e0
mov ecx, dword [esp + 4]
jmp 0x46f440
mov ecx, dword [esp + 4]
jmp fcn.0046f720
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
push dword [eax + 4]
call fcn.0046b000
ret
mov ecx, dword [esp + 4]
jmp fcn.0046c6b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
push dword [eax + 4]
call fcn.0046ac40
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
push dword [eax + 4]
call fcn.0046ac40
ret
mov ecx, dword [esp + 4]
jmp fcn.0046af30