Function at 0x417650
Capabilities:
Check for time delay via gettickcount
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5885ec
mov eax, dword fs:[0]
push eax
sub esp, 0x784
mov eax, dword [0x5e8e00]
xor eax, ebp
mov dword [ebp - 0x34], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6f0], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x1c], 0
movzx eax, byte [0x5ea31a]
test eax, eax
je 0x4189a3
mov byte [ebp - 0xd], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x6f0]
call fcn.004230b0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x418221
push 0x5b5c29
lea ecx, [ebp - 0x2c]
call fcn.00403900
mov dword [ebp - 4], 0
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp + 8]
add eax, 0x10
imul eax, eax, 0x98
mov ecx, dword [ebp - 0x6f0]
lea ecx, [ecx + eax + 0xbd8]
call fcn.0045d616
call fcn.00401fc0
mov dword [ebp - 0x28], eax
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x28]
call fcn.00402bc0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x6f0]
mov ecx, dword [eax + 0x5410]
cmp dword [ecx], 3
jne 0x417750
mov edx, dword [ebp + 8]
push edx
push str.test_Wireless
call fcn.00428a40
add esp, 8
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
call fcn.00402710
mov byte [ebp - 0xd], al
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 4], 3
je 0x417761
mov edx, dword [ebp - 0x24]
cmp dword [edx], 3
jne 0x41779b
mov eax, dword [ebp + 8]
push eax
push str.test_SDCard
call fcn.00428a40
add esp, 8
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x6f0]
mov ecx, dword [eax + edx*4 + 0x3c0]
call fcn.0040d860
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x28]
call fcn.00402be0
cmp dword [ebp - 0x24], 0
je 0x4181f9
mov eax, dword [ebp - 0x24]
cmp dword [eax + 4], 0
je 0x417884
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 4], 2
jne 0x417853
push 0
push 0x5b9688
lea ecx, [ebp - 0x2c]
call fcn.00412ae0
test eax, eax
jge 0x417829
push str.__SD
lea ecx, [ebp - 0x2c]
call fcn.004346b0
lea ecx, [ebp - 0x2c]
call fcn.00403740
push eax
mov edx, dword [ebp + 8]
add edx, 0x10
imul edx, edx, 0x98
mov eax, dword [ebp - 0x6f0]
lea ecx, [eax + edx + 0xbd8]
call fcn.0045f82a
push 0xfa
mov ecx, dword [ebp + 8]
add ecx, 0x10
imul ecx, ecx, 0x98
mov edx, dword [ebp - 0x6f0]
lea ecx, [edx + ecx + 0xbd8]
call fcn.00406080
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x6f0]
mov dword [ecx + eax*4 + 0x5a74], 6
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401720
jmp 0x4182e3
mov edx, dword [ebp - 0x24]
cmp dword [edx + 4], 3
jne 0x417884
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x6f0]
mov dword [ecx + eax*4 + 0x5a74], 6
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401720
jmp 0x4182e3
mov edx, dword [ebp - 0x24]
cmp dword [edx], 0
jne 0x417898
movzx eax, byte [ebp - 0xd]
test eax, eax
jne 0x417970
mov ecx, dword [ebp - 0x24]
cmp dword [ecx], 2
je 0x4178ac
movzx edx, byte [ebp - 0xd]
test edx, edx
jne 0x417940
push 0
push str.WIFI
lea ecx, [ebp - 0x2c]
call fcn.00412ae0
test eax, eax
jge 0x417916
push str._WIFI
lea ecx, [ebp - 0x2c]
call fcn.004346b0
lea ecx, [ebp - 0x2c]
call fcn.00403740
push eax
mov eax, dword [ebp + 8]
add eax, 0x10
imul eax, eax, 0x98
mov ecx, dword [ebp - 0x6f0]
lea ecx, [ecx + eax + 0xbd8]
call fcn.0045f82a
push 0xfa
mov edx, dword [ebp + 8]
add edx, 0x10
imul edx, edx, 0x98
mov eax, dword [ebp - 0x6f0]
lea ecx, [eax + edx + 0xbd8]
call fcn.00406080
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x6f0]
mov dword [edx + ecx*4 + 0x5a74], 3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401720
jmp 0x4182e3
mov eax, dword [ebp - 0x24]
cmp dword [eax], 3
jne 0x417970
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x6f0]
mov dword [edx + ecx*4 + 0x5a74], 3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401720
jmp 0x4182e3
mov byte [ebp - 0x244], 0
push 0x103
push 0
lea eax, [ebp - 0x243]
push eax
call fcn.0055ca00
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x244]
push ecx
push 0x5b96d0
push 0x5b96d8
call fcn.0043cee0
add esp, 0x10
mov dword [ebp - 0x6f4], 0x5b96e0
lea edx, [ebp - 0x244]
mov dword [ebp - 0x6f8], edx
mov eax, dword [ebp - 0x6f8]
mov cl, byte [eax]
mov byte [ebp - 0x6f9], cl
mov edx, dword [ebp - 0x6f4]
cmp cl, byte [edx]
jne 0x417a1f
cmp byte [ebp - 0x6f9], 0
je 0x417a13
mov eax, dword [ebp - 0x6f8]
mov cl, byte [eax + 1]
mov byte [ebp - 0x6fa], cl
mov edx, dword [ebp - 0x6f4]
cmp cl, byte [edx + 1]
jne 0x417a1f
add dword [ebp - 0x6f8], 2
add dword [ebp - 0x6f4], 2
cmp byte [ebp - 0x6fa], 0
jne 0x4179c1
mov dword [ebp - 0x700], 0
jmp 0x417a2a
sbb eax, eax
sbb eax, 0xffffffff
mov dword [ebp - 0x700], eax
mov ecx, dword [ebp - 0x700]
mov dword [ebp - 0x704], ecx
cmp dword [ebp - 0x704], 0
jne 0x417ec4
call fcn.00401fc0
mov dword [ebp - 0x24c], eax
push 0x5b5c2a
lea ecx, [ebp - 0x248]
call fcn.00403900
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x6bc]
push eax
mov ecx, dword [ebp - 0x24c]
call fcn.00402550
mov dword [ebp - 0x708], eax
mov ecx, dword [ebp - 0x708]
mov dword [ebp - 0x70c], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x70c]
push edx
lea ecx, [ebp - 0x248]
call fcn.004033d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6bc]
call fcn.00401720
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x6f0]
cmp dword [ecx + eax*4 + 0x4ed8], 1
jne 0x417b2b
push 0x5b96e8
mov edx, dword [ebp + 8]
add edx, 0x10
imul edx, edx, 0x98
mov eax, dword [ebp - 0x6f0]
lea ecx, [eax + edx + 0xbd8]
call fcn.0045f82a
push 0xff
mov ecx, dword [ebp + 8]
add ecx, 0x10
imul ecx, ecx, 0x98
mov edx, dword [ebp - 0x6f0]
lea ecx, [edx + ecx + 0xbd8]
call fcn.00406080
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00401720
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401720
jmp 0x4182e3
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x6f0]
cmp dword [ecx + eax*4 + 0x4ed8], 2
jne 0x417eb5
push ecx
mov ecx, esp
mov dword [ebp - 0x6c0], esp
lea edx, [ebp - 0x248]
push edx
call fcn.00403130
mov dword [ebp - 0x710], eax
mov ecx, dword [ebp - 0x6f0]
call fcn.00425000
mov dword [ebp - 0x714], eax
mov eax, dword [ebp - 0x714]
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0
je 0x417c00
push 0x5b96f8
mov ecx, dword [ebp + 8]
add ecx, 0x10
imul ecx, ecx, 0x98
mov edx, dword [ebp - 0x6f0]
lea ecx, [edx + ecx + 0xbd8]
call fcn.0045f82a
push 0xff
mov eax, dword [ebp + 8]
add eax, 0x10
imul eax, eax, 0x98
mov ecx, dword [ebp - 0x6f0]
lea ecx, [ecx + eax + 0xbd8]
call fcn.00406080
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x6f0]
mov dword [eax + edx*4 + 0x4ed8], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00401720
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401720
jmp 0x4182e3
lea ecx, [ebp - 0x250]
call fcn.00401890
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x250]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x6c4], esp
lea edx, [ebp - 0x248]
push edx
call fcn.00403130
mov dword [ebp - 0x718], eax
mov ecx, dword [ebp - 0x6f0]
call fcn.00424d60
mov dword [ebp - 0x71c], eax
mov eax, dword [ebp - 0x71c]
mov dword [ebp - 0x258], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x6c8], esp
lea edx, [ebp - 0x248]
push edx
call fcn.00403130
mov dword [ebp - 0x720], eax
mov ecx, dword [ebp - 0x6f0]
call fcn.00425000
mov dword [ebp - 0x724], eax
mov eax, dword [ebp - 0x724]
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x258], 0
je 0x417c9c
cmp dword [ebp - 0x254], 0
jne 0x417d28
push 0x5b9710
mov ecx, dword [ebp + 8]
add ecx, 0x10
imul ecx, ecx, 0x98
mov edx, dword [ebp - 0x6f0]
lea ecx, [edx + ecx + 0xbd8]
call fcn.0045f82a
push 0xff
mov eax, dword [ebp + 8]
add eax, 0x10
imul eax, eax, 0x98
mov ecx, dword [ebp - 0x6f0]
lea ecx, [ecx + eax + 0xbd8]
call fcn.00406080
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x6f0]
mov dword [eax + edx*4 + 0x4ed8], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x250]
call fcn.00401720
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00401720
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401720
jmp 0x4182e3
lea ecx, [ebp - 0x260]
call fcn.00401890
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x260]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x6cc], esp
lea edx, [ebp - 0x248]
push edx
call fcn.00403130
mov dword [ebp - 0x728], eax
mov ecx, dword [ebp - 0x6f0]
call fcn.00423e50
mov byte [ebp - 0x729], al
mov al, byte [ebp - 0x729]
mov byte [ebp - 0x259], al
lea ecx, [ebp - 0x250]
call fcn.00412b80
movzx ecx, al
test ecx, ecx
jne 0x417e83
movzx edx, byte [ebp - 0x259]
test edx, edx
je 0x417e83
lea ecx, [ebp - 0x260]
call fcn.00412b80
movzx eax, al
test eax, eax
jne 0x417e83
push 0
lea ecx, [ebp - 0x260]
call fcn.00401660
push eax
push 0
lea ecx, [ebp - 0x250]
call fcn.00401660
push eax
call fcn.00453680
add esp, 8
mov dword [ebp - 0x264], eax
cmp dword [ebp - 0x264], 0
je 0x417e83
push 0x5b9724
mov ecx, dword [ebp + 8]
add ecx, 0x10
imul ecx, ecx, 0x98
mov edx, dword [ebp - 0x6f0]
lea ecx, [edx + ecx + 0xbd8]
call fcn.0045f82a
push 0xff
mov eax, dword [ebp + 8]
add eax, 0x10
imul eax, eax, 0x98
mov ecx, dword [ebp - 0x6f0]
lea ecx, [ecx + eax + 0xbd8]
call fcn.00406080
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x6f0]
mov dword [eax + edx*4 + 0x4ed8], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x260]
call fcn.00401720
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x250]
call fcn.00401720
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00401720
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401720
jmp 0x4182e3
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x6f0]
mov dword [edx + ecx*4 + 0x4ed8], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x260]
call fcn.00401720
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x250]
call fcn.00401720
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00401720
mov byte [ebp - 0x13c], 0
push 0x103
push 0
lea eax, [ebp - 0x13b]
push eax
call fcn.0055ca00
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x13c]
push ecx
call fcn.0055ca00
add esp, 0xc
push 0x104
lea edx, [ebp - 0x13c]
push edx
push 0x5b9734
push 0x5b9748
call fcn.0043cee0
add esp, 0x10
mov dword [ebp - 0x730], 0x5b9750
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x734], eax
mov ecx, dword [ebp - 0x734]
mov dl, byte [ecx]
mov byte [ebp - 0x735], dl
mov eax, dword [ebp - 0x730]
cmp dl, byte [eax]
jne 0x417f89
cmp byte [ebp - 0x735], 0
je 0x417f7d
mov ecx, dword [ebp - 0x734]
mov dl, byte [ecx + 1]
mov byte [ebp - 0x736], dl
mov eax, dword [ebp - 0x730]
cmp dl, byte [eax + 1]
jne 0x417f89
add dword [ebp - 0x734], 2
add dword [ebp - 0x730], 2
cmp byte [ebp - 0x736], 0
jne 0x417f2b
mov dword [ebp - 0x73c], 0
jmp 0x417f94
sbb ecx, ecx
sbb ecx, 0xffffffff
mov dword [ebp - 0x73c], ecx
mov edx, dword [ebp - 0x73c]
mov dword [ebp - 0x740], edx
cmp dword [ebp - 0x740], 0
sete al
mov byte [ebp - 0x2d], al
movzx ecx, byte [ebp - 0x2d]
test ecx, ecx
je 0x4181d6
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x6f0]
cmp dword [eax + edx*4 + 0x5878], 0
je 0x4181d6
mov ecx, dword [ebp + 8]
push ecx
push str.CheckWMac
call fcn.00428a40
add esp, 8
call fcn.00401fc0
mov dword [ebp - 0x270], eax
push 0x5b5c2b
lea ecx, [ebp - 0x268]
call fcn.00403900
mov byte [ebp - 4], 5
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x6d0]
push eax
mov ecx, dword [ebp - 0x270]
call fcn.00402550
mov dword [ebp - 0x744], eax
mov ecx, dword [ebp - 0x744]
mov dword [ebp - 0x748], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x748]
push edx
lea ecx, [ebp - 0x268]
call fcn.004033d0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x6d0]
call fcn.00401720
push 0x5b5c62
lea ecx, [ebp - 0x26c]
call fcn.00403900
mov byte [ebp - 4], 7
lea eax, [ebp - 0x26c]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x6d4], esp
lea edx, [ebp - 0x268]
push edx
call fcn.00403130
mov dword [ebp - 0x74c], eax
mov ecx, dword [ebp - 0x6f0]
call fcn.00426380
mov byte [ebp - 0x74d], al
mov al, byte [ebp - 0x74d]
mov byte [ebp - 0x271], al
lea ecx, [ebp - 0x26c]
call fcn.00412b80
movzx ecx, al
test ecx, ecx
jne 0x4180bd
lea ecx, [ebp - 0x26c]
call fcn.00411d00
movzx edx, byte [ebp - 0x271]
test edx, edx
je 0x418104
mov ecx, dword [ebp - 0x6f0]
add ecx, 0xe0
call fcn.00403720
test eax, eax
jle 0x418104
push 0
mov ecx, dword [ebp - 0x6f0]
add ecx, 0xe0
call fcn.00403740
push eax
lea ecx, [ebp - 0x26c]
call fcn.00412ae0
test eax, eax
je 0x4181a4
push 0x5b9764
mov eax, dword [ebp + 8]
add eax, 0x10
imul eax, eax, 0x98
mov ecx, dword [ebp - 0x6f0]
lea ecx, [ecx + eax + 0xbd8]
call fcn.0045f82a
push 0xff
mov edx, dword [ebp + 8]
add edx, 0x10
imul edx, edx, 0x98
mov eax, dword [ebp - 0x6f0]
lea ecx, [eax + edx + 0xbd8]
call fcn.00406080
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x6f0]
mov dword [edx + ecx*4 + 0x5a74], 7
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x6f0]
mov dword [ecx + eax*4 + 0x5878], 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x26c]
call fcn.00401720
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.00401720
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401720
jmp 0x4182e3
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x6f0]
mov dword [eax + edx*4 + 0x5878], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x26c]
call fcn.00401720
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.00401720
push 0xfa00
mov ecx, dword [ebp + 8]
add ecx, 0x10
imul ecx, ecx, 0x98
mov edx, dword [ebp - 0x6f0]
lea ecx, [edx + ecx + 0xbd8]
call fcn.00406080
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x6f0]
mov dword [ecx + eax*4 + 0x5a74], 9
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401720
jmp 0x4182e3
cmp dword [ebp - 0x20], 8
jne 0x4182e3
mov edx, dword [ebp + 8]
push edx
push str.8__l_nRtn
call fcn.00428a40
add esp, 8
push 0x5b9788
mov eax, dword [ebp + 8]
add eax, 0x10
imul eax, eax, 0x98
mov ecx, dword [ebp - 0x6f0]
lea ecx, [ecx + eax + 0xbd8]
call fcn.0045f82a
push 0xf0f0f0
mov edx, dword [ebp + 8]
add edx, 0x10
imul edx, edx, 0x98
mov eax, dword [ebp - 0x6f0]
lea ecx, [eax + edx + 0xbd8]
call fcn.00406080
push 0x5b5c63
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x98
mov edx, dword [ebp - 0x6f0]
lea ecx, [edx + ecx + 0xbd8]
call fcn.0045f82a
push 0xf0f0f0
mov eax, dword [ebp + 8]
imul eax, eax, 0x98
mov ecx, dword [ebp - 0x6f0]
lea ecx, [ecx + eax + 0xbd8]
call fcn.00406080
push 0
mov edx, dword [ebp + 8]
imul edx, edx, 0x74
mov eax, dword [ebp - 0x6f0]
lea ecx, [eax + edx + 0x31d8]
call fcn.0045f937
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x20], 8
je 0x418950
cmp dword [ebp - 0x1c], 0
je 0x41830c
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x6f0]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [edx + ecx*4 + 0x5a74]
je 0x418950
push 0x5b5c76
lea ecx, [ebp - 0x684]
call fcn.00403900
mov dword [ebp - 4], 8
call fcn.00401fc0
mov dword [ebp - 0x680], eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x6d8]
push edx
mov ecx, dword [ebp - 0x680]
call fcn.00402550
mov dword [ebp - 0x754], eax
mov eax, dword [ebp - 0x754]
mov dword [ebp - 0x758], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x758]
push ecx
lea ecx, [ebp - 0x684]
call fcn.004033d0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x6d8]
call fcn.00401720
mov dl, byte [0x5b5c77]
mov byte [ebp - 0x67c], dl
push 0x3ff
push 0
lea eax, [ebp - 0x67b]
push eax
call fcn.0055ca00
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0x400
lea edx, [ebp - 0x67c]
push edx
mov ecx, dword [ebp - 0x6f0]
call fcn.004279c0
mov dword [ebp - 0x278], eax
lea eax, [ebp - 0x67c]
mov dword [ebp - 0x75c], eax
mov ecx, dword [ebp - 0x75c]
add ecx, 1
mov dword [ebp - 0x760], ecx
mov edx, dword [ebp - 0x75c]
mov al, byte [edx]
mov byte [ebp - 0x761], al
add dword [ebp - 0x75c], 1
cmp byte [ebp - 0x761], 0
jne 0x4183d9
mov ecx, dword [ebp - 0x75c]
sub ecx, dword [ebp - 0x760]
mov dword [ebp - 0x768], ecx
jne 0x418424
mov dx, word [0x5b978c]
mov word [ebp - 0x67c], dx
mov al, byte [0x5b978e]
mov byte [ebp - 0x67a], al
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x680]
call fcn.004025b0
movzx edx, al
test edx, edx
je 0x4188cb
mov eax, dword [ebp + 8]
push eax
push str.write_test_log_to_flash
call fcn.00428a40
add esp, 8
mov byte [ebp - 0x689], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x6dc], esp
push 0x5b97a8
call fcn.00403900
mov dword [ebp - 0x76c], eax
mov ecx, dword [ebp - 0x76c]
mov dword [ebp - 0x770], ecx
mov byte [ebp - 4], 0xa
push ecx
mov ecx, esp
mov dword [ebp - 0x6e0], esp
lea edx, [ebp - 0x684]
push edx
call fcn.00403130
mov dword [ebp - 0x774], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x6f0]
call fcn.00426710
mov dword [ebp - 0x778], eax
mov eax, dword [ebp - 0x778]
mov dword [ebp - 0x688], eax
cmp dword [ebp - 0x688], 0
jne 0x41852c
cmp dword [ebp - 0x278], 0
jne 0x41852c
push 0x5b97b0
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x98
mov edx, dword [ebp - 0x6f0]
lea ecx, [edx + ecx + 0xbd8]
call fcn.0045f82a
push 0xff00
mov eax, dword [ebp + 8]
imul eax, eax, 0x98
mov ecx, dword [ebp - 0x6f0]
lea ecx, [ecx + eax + 0xbd8]
call fcn.00406080
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x6f0]
mov ecx, dword [eax + edx*4 + 0x5a74]
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0x689], 0
jmp 0x4186bb
cmp dword [ebp - 0x688], 0
jne 0x418687
cmp dword [ebp - 0x278], 0
je 0x418687
push 0x7d0
mov ecx, 0x5f3550
call fcn.00462d9a
test eax, eax
setne dl
mov byte [ebp - 0x68a], dl
mov ecx, dword [ebp - 0x6f0]
add ecx, 0x58bc
call fcn.00403740
push eax
push 0
push 0x5b97bc
mov ecx, dword [ebp - 0x6f0]
add ecx, 0x58b8
call fcn.00403740
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x6b0], eax
mov eax, dword [ebp - 0x6b0]
add eax, 1
mov dword [ebp - 0x6b0], eax
mov byte [ebp - 0x6ac], 0
xor ecx, ecx
mov dword [ebp - 0x6ab], ecx
mov dword [ebp - 0x6a7], ecx
mov dword [ebp - 0x6a3], ecx
mov dword [ebp - 0x69f], ecx
mov dword [ebp - 0x69b], ecx
mov dword [ebp - 0x697], ecx
mov dword [ebp - 0x693], ecx
mov word [ebp - 0x68f], cx
mov byte [ebp - 0x68d], cl
xor edx, edx
mov dword [ebp - 0x6ac], edx
mov dword [ebp - 0x6a8], edx
mov dword [ebp - 0x6a4], edx
mov dword [ebp - 0x6a0], edx
mov dword [ebp - 0x69c], edx
mov dword [ebp - 0x698], edx
mov dword [ebp - 0x694], edx
mov dword [ebp - 0x690], edx
mov eax, dword [ebp - 0x6b0]
push eax
push 0x5b97cc
lea ecx, [ebp - 0x6ac]
push ecx
call fcn.00556a42
add esp, 0xc
mov ecx, dword [ebp - 0x6f0]
add ecx, 0x58bc
call fcn.00403740
push eax
lea edx, [ebp - 0x6ac]
push edx
push str.RETEST_FAILED
mov ecx, dword [ebp - 0x6f0]
add ecx, 0x58b8
call fcn.00403740
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
movzx eax, byte [ebp - 0x68a]
test eax, eax
je 0x41867e
mov ecx, 0x5f3550
call fcn.00462db4
mov byte [ebp - 0x689], 1
jmp 0x4186bb
cmp dword [ebp - 0x688], 0
je 0x4186a2
cmp dword [ebp - 0x278], 0
je 0x4186a2
mov byte [ebp - 0x689], 1
jmp 0x4186bb
cmp dword [ebp - 0x688], 0
je 0x4186bb
cmp dword [ebp - 0x278], 0
jne 0x4186bb
mov byte [ebp - 0x689], 1
movzx ecx, byte [ebp - 0x689]
test ecx, ecx
je 0x4188b8
push ecx
mov ecx, esp
mov dword [ebp - 0x6e4], esp
lea edx, [ebp - 0x67c]
push edx
call fcn.00403900
mov dword [ebp - 0x77c], eax
mov eax, dword [ebp - 0x77c]
mov dword [ebp - 0x780], eax
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x278], 0
sete cl
movzx edx, cl
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x6e8], esp
push 0x5b97e0
call fcn.00403900
mov dword [ebp - 0x784], eax
mov eax, dword [ebp - 0x784]
mov dword [ebp - 0x788], eax
mov byte [ebp - 4], 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x6ec], esp
lea edx, [ebp - 0x684]
push edx
call fcn.00403130
mov dword [ebp - 0x78c], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x6f0]
call fcn.00426da0
mov dword [ebp - 0x790], eax
mov eax, dword [ebp - 0x790]
mov dword [ebp - 0x6b4], eax
cmp dword [ebp - 0x6b4], 0
jne 0x41881f
cmp dword [ebp - 0x278], 0
jne 0x4187d3
push 0x5b97e8
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x98
mov edx, dword [ebp - 0x6f0]
lea ecx, [edx + ecx + 0xbd8]
call fcn.0045f82a
push 0xff00
mov eax, dword [ebp + 8]
imul eax, eax, 0x98
mov ecx, dword [ebp - 0x6f0]
lea ecx, [ecx + eax + 0xbd8]
call fcn.00406080
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x6f0]
mov ecx, dword [eax + edx*4 + 0x5a74]
mov dword [ebp - 0x1c], ecx
jmp 0x41881a
push 0x5b97f4
mov edx, dword [ebp + 8]
imul edx, edx, 0x98
mov eax, dword [ebp - 0x6f0]
lea ecx, [eax + edx + 0xbd8]
call fcn.0045f82a
push 0xff
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x98
mov edx, dword [ebp - 0x6f0]
lea ecx, [edx + ecx + 0xbd8]
call fcn.00406080
mov dword [ebp - 0x1c], 0xa
jmp 0x4188b8
cmp dword [ebp - 0x6b4], 0xfffffffe
jne 0x418871
push 0x5b9800
mov eax, dword [ebp + 8]
imul eax, eax, 0x98
mov ecx, dword [ebp - 0x6f0]
lea ecx, [ecx + eax + 0xbd8]
call fcn.0045f82a
push 0xff
mov edx, dword [ebp + 8]
imul edx, edx, 0x98
mov eax, dword [ebp - 0x6f0]
lea ecx, [eax + edx + 0xbd8]
call fcn.00406080
mov dword [ebp - 0x1c], 0xa
jmp 0x4188b8
push 0x5b980c
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x98
mov edx, dword [ebp - 0x6f0]
lea ecx, [edx + ecx + 0xbd8]
call fcn.0045f82a
push 0xff
mov eax, dword [ebp + 8]
imul eax, eax, 0x98
mov ecx, dword [ebp - 0x6f0]
lea ecx, [ecx + eax + 0xbd8]
call fcn.00406080
mov dword [ebp - 0x1c], 0xa
mov edx, dword [ebp + 8]
push edx
push str.write_test_log_to_flash_end
call fcn.00428a40
add esp, 8
jmp 0x418923
mov eax, dword [ebp + 8]
push eax
push str.write_test_log_to_flash_failed__off_line
call fcn.00428a40
add esp, 8
push 0x5b986c
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x98
mov edx, dword [ebp - 0x6f0]
lea ecx, [edx + ecx + 0xbd8]
call fcn.0045f82a
push 0xff
mov eax, dword [ebp + 8]
imul eax, eax, 0x98
mov ecx, dword [ebp - 0x6f0]
lea ecx, [ecx + eax + 0xbd8]
call fcn.00406080
mov dword [ebp - 0x1c], 0xa
mov edx, dword [ebp + 8]
imul edx, edx, 0x98
mov eax, dword [ebp - 0x6f0]
lea ecx, [eax + edx + 0xbd8]
call fcn.00434370
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x684]
call fcn.00401720
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x14]
cmp ecx, 0x1388
jae 0x41899e
mov edx, 0x1388
sub edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x6b8], edx
mov eax, dword [ebp - 0x6b8]
push eax
push 0x5b988c
call fcn.00428a40
add esp, 8
mov ecx, 0x1388
sub ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41769a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.005562bb
mov esp, ebp
pop ebp
ret 4