Function at 0x406710
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42fce6
push eax
mov dword fs:[0], esp
sub esp, 0x424
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push 1
call fcn.004279f0
mov eax, dword [ebp + 0x4b0]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x147
push eax
call ebx
cmp eax, 2
jne 0x40677a
mov eax, dword [ebp + 0x4dc]
lea esi, [ebp + 0x4dc]
push str.178A
push eax
call fcn.004145c2
add esp, 8
test eax, eax
jne 0x4067d6
push str.1790
jmp 0x4067b3
mov ecx, dword [ebp + 0x4b0]
push 0
push 0
push 0x147
push ecx
call ebx
test eax, eax
jne 0x4067d6
mov eax, dword [ebp + 0x4dc]
lea esi, [ebp + 0x4dc]
push str.1790
push eax
call fcn.004145c2
add esp, 8
test eax, eax
jne 0x4067d6
push str.178A
mov ecx, esi
call fcn.00425519
push 0
push 0
push str.Please_fill_in_correct_PID.
call fcn.0042ad29
push 0
mov ecx, ebp
call fcn.004279f0
jmp 0x4076ef
mov ecx, ebp
call fcn.0040b250
mov al, byte [ebp + 0x769]
test al, al
jne 0x4076ef
push 0
push 0x3e9
mov ecx, ebp
call fcn.00428358
mov ecx, eax
call fcn.00428575
mov byte [ebp + 0x769], 1
mov edx, dword [ebp + 0x168]
push 0
push 0
push 0x172
push edx
call ebx
lea eax, [esp + 0x24]
mov ecx, ebp
push eax
call fcn.004029f0
test al, al
push 0
push 0
jne 0x406853
push str.Program_Data_error_
call fcn.0042ad29
mov ecx, dword [ebp + 0x778]
mov edx, dword [ebp + 0x168]
push ecx
push 0
push 0x172
push edx
call ebx
jmp 0x4076d3
mov eax, dword [ebp + 0x4b0]
push 0x147
push eax
call ebx
cmp eax, 3
je 0x40687d
mov ecx, dword [ebp + 0x4b0]
push 0
push 0
push 0x147
push ecx
call ebx
cmp eax, 1
jne 0x40689e
lea edx, [esp + 0x22c]
mov ecx, ebp
push edx
call fcn.00405210
xor eax, eax
cmp byte [esp + eax + 0x234], 0xff
jne 0x4068e1
inc eax
cmp eax, 0x40
jl 0x40688e
mov eax, dword [ebp + 0x4e4]
mov ecx, dword [ebp + 0x4e0]
push eax
push ecx
call fcn.004149cc
add esp, 8
test eax, eax
jne 0x40690b
mov edx, dword [ebp + 0x778]
push edx
push eax
mov eax, dword [ebp + 0x168]
push 0x172
push eax
call ebx
push 0
push 0
push str.MAC_Address_Reach_to_Maximum_MAC_Address_
call fcn.0042ad29
jmp 0x4076d3
mov eax, dword [ebp + 0x778]
mov ecx, dword [ebp + 0x168]
push eax
push 0
push 0x172
push ecx
call ebx
push 0
push 0
push str.EFuse_has_been_Programed_
call fcn.0042ad29
jmp 0x4076d3
mov eax, dword [ebp + 0x4ec]
mov ecx, dword [ebp + 0x4e8]
push eax
push ecx
call fcn.004149cc
add esp, 8
test eax, eax
jne 0x40694e
mov ecx, dword [ebp + 0x778]
mov edx, dword [ebp + 0x168]
push ecx
push eax
push 0x172
push edx
call ebx
push 0
push 0
push str.Serial_Number_Reach_to_Maximum_MAC_Address_
call fcn.0042ad29
jmp 0x4076d3
mov eax, dword [ebp + 0x520]
test eax, eax
je 0x406974
push 0x31
push str.Reload_EEPROM_Warning
push str.Reload_EEPROM_Warning___n_nIf_you_change_the_Vendor_ID_or_Product_ID_fields__the_test_driver_might_not_be_worked_any_more_after_reloading_EEPROM._nPlease_reload_the_test_driver_by_modifying_the_inf_file_of_the_test_driver_to_add_the_new_Vendor_and_Product_ID._n_nIf_you_need_continue_running_this_tool._nClick_OK_to_continue_programming_eeprom._nClick_CANCEL_to_abort_programming_eeprom._n
mov ecx, ebp
call fcn.00427294
cmp eax, 2
je 0x4076d3
lea eax, [esp + 0x24]
mov ecx, ebp
push eax
call fcn.00402f70
test al, al
push 0
push 0
jne 0x4069ae
push str.Program_fail
call fcn.0042ad29
mov ecx, dword [ebp + 0x778]
mov edx, dword [ebp + 0x168]
push ecx
push 0
push 0x172
push edx
call ebx
jmp 0x4076c2
mov eax, dword [ebp + 0x4b0]
push 0x147
push eax
call ebx
cmp eax, 2
je 0x406ed9
mov ecx, dword [ebp + 0x4b0]
push 0
push 0
push 0x147
push ecx
call ebx
test eax, eax
je 0x406ed9
mov edx, dword [ebp + 0x4b0]
push 0
push 0
push 0x147
push edx
call ebx
cmp eax, 3
je 0x406a11
mov eax, dword [ebp + 0x4b0]
push 0
push 0
push 0x147
push eax
call ebx
cmp eax, 1
jne 0x4076c2
mov ecx, dword [0x43ce7c]
mov dword [esp + 0x18], ecx
lea edx, [esp + 0x22c]
mov ecx, ebp
push edx
mov dword [esp + 0x440], 1
call fcn.00405210
mov ecx, dword [ebp + 0x764]
lea edi, [esp + 0x234]
lea esi, [esp + 0x2c]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x406aa4
push eax
push eax
push str.EFUSE_Program_un_Complete_
call fcn.0042ad29
mov eax, dword [ebp + 0x778]
mov ecx, dword [ebp + 0x168]
push eax
push 0
push 0x172
push ecx
call ebx
push 1
push 0x3e9
mov ecx, ebp
mov byte [ebp + 0x769], 0
call fcn.00428358
mov ecx, eax
call fcn.00428575
lea ecx, [esp + 0x18]
mov dword [esp + 0x43c], 0xffffffff
call fcn.004253d4
jmp 0x4076ef
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push str..AX88179
mov byte [esp + 0x87], 1
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0x1f4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
or edi, 0xffffffff
push 0
cmp esi, edi
jne 0x406b02
push 0
push str.Open_Device_fail
call fcn.0042ad29
mov eax, dword [ebp + 0x778]
mov edx, dword [ebp + 0x168]
push eax
push 0
push 0x172
push edx
jmp 0x406b54
mov ecx, dword [ebp + 0x764]
lea eax, [esp + 0x24]
push eax
push 0
add ecx, 8
push 0
lea edx, [esp + 0x34]
push ecx
push edx
push 0x22200c
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
push esi
jne 0x406b87
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push str.IOCTL_Write_EFUSE_fail
call fcn.0042ad29
mov eax, dword [ebp + 0x778]
push eax
mov eax, dword [ebp + 0x168]
push 0
push 0x172
push eax
call ebx
push 1
push 0x3e9
mov ecx, ebp
mov byte [ebp + 0x769], 0
call fcn.00428358
mov ecx, eax
call fcn.00428575
lea ecx, [esp + 0x18]
mov dword [esp + 0x43c], edi
call fcn.004253d4
jmp 0x4076ef
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebp
call fcn.00405ca0
xor esi, esi
mov ecx, dword [ebp + 0x4e4]
lea edi, [ebp + 0x4e4]
lea eax, [ecx + esi*2]
mov cl, byte [ecx + esi*2 + 1]
mov al, byte [eax]
movsx edx, cl
movsx eax, al
push edx
push eax
lea ecx, [esp + 0x20]
push str._c_c
push ecx
call fcn.00422dfe
add esp, 0xc
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00425149
mov ecx, ebp
call fcn.00402e90
cmp byte [esp + esi + 0x2c], al
jne 0x406be9
cmp esi, 5
jne 0x406c58
jmp 0x406bee
cmp esi, 5
jne 0x406c67
mov eax, dword [ebp + 0x474]
push 0
push 0
push 0x147
push eax
call ebx
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov dword [esp + 0x24], eax
call fcn.00425149
mov ecx, ebp
call fcn.00402e90
mov ecx, dword [esp + 0x31]
mov edx, dword [esp + 0x1c]
and ecx, 0xff
and eax, 0xff
add ecx, edx
cmp ecx, eax
jl 0x406c67
push edi
lea ecx, [ebp + 0x4e0]
call fcn.004254c9
push 0
push 0
push str.Reach_to_Maximum_MAC_Address_
call fcn.0042ad29
push 0
mov ecx, ebp
call fcn.004279f0
inc esi
cmp esi, 6
jl 0x406b96
jmp 0x406e3a
lea ecx, [ebp + 0x4e0]
mov edi, 6
mov byte [esp + 0x13], 0
call fcn.0042535f
push 0
mov ecx, ebp
call fcn.004279f0
dec edi
cmp edi, 5
jne 0x406d27
mov edx, dword [ebp + 0x474]
push 0
push 0
push 0x147
push edx
call ebx
mov ecx, dword [esp + 0x31]
push 0
and ecx, 0xff
push 0
add ecx, eax
push 0x147
cmp ecx, 0xff
jle 0x406cf5
mov edx, dword [ebp + 0x474]
push edx
call ebx
mov ecx, dword [esp + 0x31]
and ecx, 0xff
lea edx, [ecx + eax - 0x100]
lea eax, [esp + 0x18]
push edx
push str._.2X
push eax
call fcn.00422dfe
add esp, 0xc
mov byte [esp + 0x13], 1
jmp 0x406dfc
mov ecx, dword [ebp + 0x474]
push ecx
call ebx
mov edx, dword [esp + 0x31]
and edx, 0xff
add edx, eax
push edx
lea eax, [esp + 0x1c]
push str._.2X
push eax
call fcn.00422dfe
add esp, 0xc
mov byte [esp + 0x13], 0
jmp 0x406dfc
mov al, byte [esp + 0x13]
test al, al
je 0x406de3
mov al, byte [esp + edi + 0x2c]
cmp al, 0xff
jne 0x406d57
lea ecx, [esp + 0x18]
push 0x43c530
push ecx
call fcn.00422dfe
add esp, 8
mov byte [esp + 0x13], 1
jmp 0x406dfc
test edi, edi
jne 0x406dd7
mov dl, byte [esp + 0x2c]
dec edx
test dl, 1
je 0x406dd7
mov eax, dword [ebp + 0x4e4]
lea esi, [ebp + 0x4e4]
mov cl, byte [eax + 1]
mov al, byte [eax]
movsx ecx, cl
movsx edx, al
push ecx
push edx
lea eax, [esp + 0x20]
push str._c_c
push eax
call fcn.00422dfe
add esp, 0xc
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00425149
mov ecx, ebp
call fcn.00402e90
mov ecx, dword [esp + 0x2c]
and eax, 0xff
and ecx, 0xff
add ecx, 2
cmp ecx, eax
jg 0x406e20
push ecx
lea edx, [esp + 0x1c]
push str._.2X
push edx
call fcn.00422dfe
add esp, 0xc
mov byte [esp + 0x13], 0
jmp 0x406dfc
and eax, 0xff
inc eax
push eax
jmp 0x406d0b
xor ecx, ecx
lea edx, [esp + 0x18]
mov cl, byte [esp + edi + 0x2c]
push ecx
push str._.2X
push edx
call fcn.00422dfe
add esp, 0xc
mov eax, dword [esp + 0x18]
lea ecx, [ebp + 0x4e0]
push eax
push 0
call fcn.00422a41
push 0
mov ecx, ebp
call fcn.004279f0
test edi, edi
je 0x406e3a
jmp 0x406c85
push esi
lea ecx, [ebp + 0x4e0]
call fcn.004254c9
push 0
push 0
push str.Reach_to_Maximum_MAC_Address_
call fcn.0042ad29
xor esi, esi
mov ecx, dword [ebp + 0x4e0]
lea eax, [ecx + esi*2]
mov cl, byte [ecx + esi*2 + 1]
mov al, byte [eax]
movsx edx, cl
movsx eax, al
push edx
push eax
lea ecx, [esp + 0x20]
push str._c_c
push ecx
call fcn.00422dfe
add esp, 0xc
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00425149
mov ecx, ebp
call fcn.00402e90
mov byte [esp + esi + 0x2c], al
inc esi
cmp esi, 6
jl 0x406e3c
lea eax, [esp + 0x24]
mov ecx, ebp
push eax
mov byte [esp + 0x62], 0xff
call fcn.0040b210
lea ecx, [esp + 0x24]
mov byte [esp + 0x5e], al
push ecx
mov ecx, ebp
call fcn.004028b0
mov ecx, ebp
call fcn.00404a40
mov eax, dword [ebp + 0x774]
mov edx, dword [ebp + 0x168]
push eax
push 0
push 0x172
push edx
call ebx
mov dword [esp + 0x43c], 0xffffffff
lea ecx, [esp + 0x18]
jmp 0x4076bd
mov eax, dword [0x43ce7c]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x22c]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x444], 0
call fcn.00402610
lea ecx, [esp + 0x1c]
call fcn.004253d4
mov ecx, dword [ebp + 0x764]
lea edi, [esp + 0x234]
lea esi, [esp + 0x2c]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x406f79
push eax
push eax
push str.EEPROM_Program_un_Complete_
call fcn.0042ad29
mov eax, dword [ebp + 0x778]
mov ecx, dword [ebp + 0x168]
push eax
push 0
push 0x172
push ecx
call ebx
push 1
push 0x3e9
mov ecx, ebp
mov byte [ebp + 0x769], 0
call fcn.00428358
mov ecx, eax
call fcn.00428575
lea ecx, [esp + 0x14]
mov dword [esp + 0x43c], 0xffffffff
call fcn.004253d4
jmp 0x4076ef
mov ecx, ebp
call fcn.00405ca0
xor esi, esi
mov edx, dword [ebp + 0x4e4]
lea edi, [ebp + 0x4e4]
mov cl, byte [edx + esi*2 + 1]
lea eax, [edx + esi*2]
movsx ecx, cl
mov al, byte [eax]
push ecx
movsx edx, al
push edx
lea eax, [esp + 0x1c]
push str._c_c
push eax
call fcn.00422dfe
add esp, 0xc
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00425149
mov ecx, ebp
call fcn.00402e90
cmp byte [esp + esi + 0x2c], al
jne 0x406fd5
cmp esi, 5
jne 0x40703b
jmp 0x406fda
cmp esi, 5
jne 0x40704a
mov eax, dword [ebp + 0x474]
push 0
push 0
push 0x147
push eax
call ebx
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov dword [esp + 0x24], eax
call fcn.00425149
mov ecx, ebp
call fcn.00402e90
mov ecx, dword [esp + 0x31]
mov edx, dword [esp + 0x1c]
and ecx, 0xff
and eax, 0xff
add ecx, edx
cmp ecx, eax
jl 0x40704a
push edi
lea ecx, [ebp + 0x4e0]
call fcn.004254c9
push 0
push 0
push str.Reach_to_Maximum_MAC_Address_
call fcn.0042ad29
inc esi
cmp esi, 6
jl 0x406f82
jmp 0x40721d
lea ecx, [ebp + 0x4e0]
mov edi, 6
mov byte [esp + 0x13], 0
call fcn.0042535f
push 0
mov ecx, ebp
call fcn.004279f0
dec edi
cmp edi, 5
jne 0x40710a
mov edx, dword [ebp + 0x474]
push 0
push 0
push 0x147
push edx
call ebx
mov ecx, dword [esp + 0x31]
push 0
and ecx, 0xff
push 0
add ecx, eax
push 0x147
cmp ecx, 0xff
jle 0x4070d8
mov edx, dword [ebp + 0x474]
push edx
call ebx
mov ecx, dword [esp + 0x31]
and ecx, 0xff
lea edx, [ecx + eax - 0x100]
lea eax, [esp + 0x14]
push edx
push str._.2X
push eax
call fcn.00422dfe
add esp, 0xc
mov byte [esp + 0x13], 1
jmp 0x4071df
mov ecx, dword [ebp + 0x474]
push ecx
call ebx
mov edx, dword [esp + 0x31]
and edx, 0xff
add edx, eax
push edx
lea eax, [esp + 0x18]
push str._.2X
push eax
call fcn.00422dfe
add esp, 0xc
mov byte [esp + 0x13], 0
jmp 0x4071df
mov al, byte [esp + 0x13]
test al, al
je 0x4071c6
mov al, byte [esp + edi + 0x2c]
cmp al, 0xff
jne 0x40713a
lea ecx, [esp + 0x14]
push 0x43c530
push ecx
call fcn.00422dfe
add esp, 8
mov byte [esp + 0x13], 1
jmp 0x4071df
test edi, edi
jne 0x4071ba
mov dl, byte [esp + 0x2c]
dec edx
test dl, 1
je 0x4071ba
mov eax, dword [ebp + 0x4e4]
lea esi, [ebp + 0x4e4]
mov cl, byte [eax + 1]
mov al, byte [eax]
movsx ecx, cl
movsx edx, al
push ecx
push edx
lea eax, [esp + 0x1c]
push str._c_c
push eax
call fcn.00422dfe
add esp, 0xc
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00425149
mov ecx, ebp
call fcn.00402e90
mov ecx, dword [esp + 0x2c]
and eax, 0xff
and ecx, 0xff
add ecx, 2
cmp ecx, eax
jg 0x407203
push ecx
lea edx, [esp + 0x18]
push str._.2X
push edx
call fcn.00422dfe
add esp, 0xc
mov byte [esp + 0x13], 0
jmp 0x4071df
and eax, 0xff
inc eax
push eax
jmp 0x4070ee
xor ecx, ecx
lea edx, [esp + 0x14]
mov cl, byte [esp + edi + 0x2c]
push ecx
push str._.2X
push edx
call fcn.00422dfe
add esp, 0xc
mov eax, dword [esp + 0x14]
lea ecx, [ebp + 0x4e0]
push eax
push 0
call fcn.00422a41
push 0
mov ecx, ebp
call fcn.004279f0
test edi, edi
je 0x40721d
jmp 0x407068
push esi
lea ecx, [ebp + 0x4e0]
call fcn.004254c9
push 0
push 0
push str.Reach_to_Maximum_MAC_Address_
call fcn.0042ad29
xor edi, edi
mov ecx, dword [ebp + 0x4ec]
lea esi, [ebp + 0x4ec]
lea eax, [esp + 0x14]
movsx edx, byte [ecx + edi]
push edx
push 0x43c0a8
push eax
call fcn.00422dfe
mov cl, byte [esp + edi + 0x84]
add esp, 0xc
push 1
push ecx
lea ecx, [esp + 0x20]
call fcn.0042291c
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push edx
push eax
call fcn.004145c2
add esp, 8
test eax, eax
jne 0x40727a
cmp edi, 0xd
mov byte [esp + 0x13], 1
setne al
test al, al
jne 0x40727f
mov byte [esp + 0x13], 0
lea ecx, [esp + 0x18]
call fcn.004253d4
mov al, byte [esp + 0x13]
test al, al
jne 0x407410
cmp edi, 0xd
jne 0x40741f
cmp byte [esp + 0x85], 0x39
ja 0x40737c
mov ecx, dword [ebp + 0x438]
push 0
push 0
push 0x147
push ecx
call ebx
mov edx, dword [esp + 0x85]
and edx, 0xff
add edx, eax
cmp edx, 0x39
jle 0x40737c
mov eax, dword [ebp + 0x438]
push 0
push 0
push 0x147
push eax
call ebx
mov cl, byte [esp + 0x85]
push 1
add cl, al
add cl, 7
push ecx
lea ecx, [esp + 0x28]
call fcn.0042291c
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.004145c2
add esp, 8
lea ecx, [esp + 0x20]
test eax, eax
setge byte [esp + 0x13]
call fcn.004253d4
mov al, byte [esp + 0x13]
test al, al
je 0x407348
push esi
lea ecx, [ebp + 0x4e8]
call fcn.004254c9
push 0
push 0
push str.Reach_to_Maximum_Serial_Number_
call fcn.0042ad29
jmp 0x407407
lea esi, [ebp + 0x4e8]
push 1
push 0xd
mov ecx, esi
call fcn.00422965
mov ecx, dword [ebp + 0x438]
push 0
push 0
push 0x147
push ecx
call ebx
mov dl, byte [esp + 0x85]
add dl, al
add dl, 7
jmp 0x4073fd
mov eax, dword [ebp + 0x438]
push 0
push 0
push 0x147
push eax
call ebx
mov cl, byte [esp + 0x85]
push 1
add cl, al
push ecx
lea ecx, [esp + 0x24]
call fcn.0042291c
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
push edx
push eax
call fcn.004145c2
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
setge byte [esp + 0x13]
call fcn.004253d4
mov al, byte [esp + 0x13]
test al, al
jne 0x407329
lea esi, [ebp + 0x4e8]
push 1
push 0xd
mov ecx, esi
call fcn.00422965
mov ecx, dword [ebp + 0x438]
push 0
push 0
push 0x147
push ecx
call ebx
mov dl, byte [esp + 0x85]
add dl, al
push edx
push 0xd
mov ecx, esi
call fcn.004229bd
push 0
mov ecx, ebp
call fcn.004279f0
inc edi
cmp edi, 0xe
jl 0x40721f
jmp 0x407689
lea edi, [ebp + 0x4e8]
mov esi, 0xe
mov ecx, edi
mov byte [esp + 0x13], 0
call fcn.0042535f
push 0
mov ecx, ebp
call fcn.004279f0
dec esi
cmp esi, 0xd
mov dword [esp + 0x1c], esi
jne 0x40760d
mov eax, dword [ebp + 0x438]
push 0
push 0
push 0x147
push eax
call ebx
mov ecx, dword [esp + 0x85]
and ecx, 0xff
add ecx, eax
cmp ecx, 0x39
jle 0x4075ef
cmp byte [esp + 0x85], 0x39
jbe 0x40753b
mov edx, dword [ebp + 0x438]
push 0
push 0
push 0x147
push edx
call ebx
mov ecx, dword [esp + 0x85]
and ecx, 0xff
add ecx, eax
cmp ecx, 0x46
jle 0x4074dd
mov edx, dword [ebp + 0x438]
push 0
push 0
push 0x147
push edx
call ebx
mov cl, byte [esp + 0x85]
add cl, al
sub cl, 0x17
push ecx
lea ecx, [esp + 0x18]
call fcn.00422950
mov byte [esp + 0x13], 1
jmp 0x407653
cmp byte [esp + 0x85], 0x39
jbe 0x40753b
mov edx, dword [ebp + 0x438]
push 0
push 0
push 0x147
push edx
call ebx
mov ecx, dword [esp + 0x85]
and ecx, 0xff
add ecx, eax
cmp ecx, 0x46
jg 0x40752d
mov edx, dword [ebp + 0x438]
push 0
push 0
push 0x147
push edx
call ebx
mov cl, byte [esp + 0x85]
add cl, al
jmp 0x4075de
cmp byte [esp + 0x85], 0x39
ja 0x407653
mov edx, dword [ebp + 0x438]
push 0
push 0
push 0x147
push edx
call ebx
mov ecx, dword [esp + 0x85]
and ecx, 0xff
lea edx, [ecx + eax + 8]
cmp edx, 0x46
jle 0x407586
mov eax, dword [ebp + 0x438]
push 0
push 0
push 0x147
push eax
call ebx
mov cl, byte [esp + 0x85]
add cl, al
sub cl, 0xf
jmp 0x4074c9
cmp byte [esp + 0x85], 0x39
ja 0x407653
mov edx, dword [ebp + 0x438]
push 0
push 0
push 0x147
push edx
call ebx
mov ecx, dword [esp + 0x85]
and ecx, 0xff
lea edx, [ecx + eax + 8]
cmp edx, 0x46
jg 0x407653
mov eax, dword [ebp + 0x438]
push 0
push 0
push 0x147
push eax
call ebx
mov cl, byte [esp + 0x85]
add cl, al
add cl, 7
push ecx
lea ecx, [esp + 0x18]
call fcn.00422950
mov byte [esp + 0x13], 0
jmp 0x407653
mov edx, dword [ebp + 0x438]
push 0
push 0
push 0x147
push edx
call ebx
mov cl, byte [esp + 0x85]
add cl, al
push ecx
jmp 0x40764a
mov al, byte [esp + 0x13]
test al, al
mov al, byte [esp + esi + 0x78]
je 0x407649
cmp al, 0x46
jne 0x407628
test esi, esi
je 0x40762c
push 0x30
jmp 0x4074ca
test esi, esi
jne 0x407644
mov edx, dword [ebp + 0x4ec]
lea esi, [ebp + 0x4ec]
mov cl, byte [edx]
mov edx, dword [edi]
cmp cl, byte [edx]
je 0x407673
mov esi, dword [esp + 0x1c]
inc al
push eax
jmp 0x4075df
push eax
lea ecx, [esp + 0x18]
call fcn.00422950
mov ecx, dword [esp + 0x14]
push ecx
push 0
mov ecx, edi
call fcn.00422a41
push 0
mov ecx, ebp
call fcn.004279f0
test esi, esi
je 0x407689
jmp 0x40743f
push esi
mov ecx, edi
call fcn.004254c9
push 0
push 0
push str.Reach_to_Maximum_Serial_Number_
call fcn.0042ad29
mov ecx, ebp
call fcn.00403110
mov ecx, ebp
call fcn.00404340
mov eax, dword [ebp + 0x774]
mov edx, dword [ebp + 0x168]
push eax
push 0
push 0x172
push edx
call ebx
mov dword [esp + 0x43c], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.004253d4
mov eax, dword [ebp + 0x520]
test eax, eax
je 0x4076d3
mov ecx, ebp
call fcn.0040ab10
push 1
push 0x3e9
mov ecx, ebp
mov byte [ebp + 0x769], 0
call fcn.00428358
mov ecx, eax
call fcn.00428575
mov ecx, dword [esp + 0x434]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x430
ret