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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5873dc
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 [0x5ea332]
test eax, eax
je 0x417483
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.00420f90
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x416d01
push 0x5b4c29
lea ecx, [ebp - 0x2c]
call fcn.00403840
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.0045c3f1
call fcn.004022a0
mov dword [ebp - 0x28], eax
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x28]
call fcn.00402c00
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x6f0]
mov ecx, dword [eax + 0x5410]
cmp dword [ecx], 3
jne 0x416230
mov edx, dword [ebp + 8]
push edx
push str.test_Wireless
call fcn.004273b0
add esp, 8
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
call fcn.00402860
mov byte [ebp - 0xd], al
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 4], 3
je 0x416241
mov edx, dword [ebp - 0x24]
cmp dword [edx], 3
jne 0x41627b
mov eax, dword [ebp + 8]
push eax
push str.test_SDCard
call fcn.004273b0
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.0040d7d0
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x28]
call fcn.00402c20
cmp dword [ebp - 0x24], 0
je 0x416cd9
mov eax, dword [ebp - 0x24]
cmp dword [eax + 4], 0
je 0x416364
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 4], 2
jne 0x416333
push 0
push 0x5b867c
lea ecx, [ebp - 0x2c]
call fcn.00411640
test eax, eax
jge 0x416309
push str.__SD
lea ecx, [ebp - 0x2c]
call fcn.00433020
lea ecx, [ebp - 0x2c]
call fcn.00401500
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.0045e605
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.00405fc0
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.00401a00
jmp 0x416dc3
mov edx, dword [ebp - 0x24]
cmp dword [edx + 4], 3
jne 0x416364
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.00401a00
jmp 0x416dc3
mov edx, dword [ebp - 0x24]
cmp dword [edx], 0
jne 0x416378
movzx eax, byte [ebp - 0xd]
test eax, eax
jne 0x416450
mov ecx, dword [ebp - 0x24]
cmp dword [ecx], 2
je 0x41638c
movzx edx, byte [ebp - 0xd]
test edx, edx
jne 0x416420
push 0
push str.WIFI
lea ecx, [ebp - 0x2c]
call fcn.00411640
test eax, eax
jge 0x4163f6
push str._WIFI
lea ecx, [ebp - 0x2c]
call fcn.00433020
lea ecx, [ebp - 0x2c]
call fcn.00401500
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.0045e605
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.00405fc0
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.00401a00
jmp 0x416dc3
mov eax, dword [ebp - 0x24]
cmp dword [eax], 3
jne 0x416450
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.00401a00
jmp 0x416dc3
mov byte [ebp - 0x244], 0
push 0x103
push 0
lea eax, [ebp - 0x243]
push eax
call fcn.0055b7e0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x244]
push ecx
push 0x5b86c4
push 0x5b86cc
call fcn.0043b840
add esp, 0x10
mov dword [ebp - 0x6f4], 0x5b86d4
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 0x4164ff
cmp byte [ebp - 0x6f9], 0
je 0x4164f3
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 0x4164ff
add dword [ebp - 0x6f8], 2
add dword [ebp - 0x6f4], 2
cmp byte [ebp - 0x6fa], 0
jne 0x4164a1
mov dword [ebp - 0x700], 0
jmp 0x41650a
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 0x4169a4
call fcn.004022a0
mov dword [ebp - 0x24c], eax
push 0x5b4c2a
lea ecx, [ebp - 0x248]
call fcn.00403840
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.004026a0
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.00403320
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6bc]
call fcn.00401a00
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x6f0]
cmp dword [ecx + eax*4 + 0x4ed8], 1
jne 0x41660b
push 0x5b86dc
mov edx, dword [ebp + 8]
add edx, 0x10
imul edx, edx, 0x98
mov eax, dword [ebp - 0x6f0]
lea ecx, [eax + edx + 0xbd8]
call fcn.0045e605
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.00405fc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00401a00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401a00
jmp 0x416dc3
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x6f0]
cmp dword [ecx + eax*4 + 0x4ed8], 2
jne 0x416995
push ecx
mov ecx, esp
mov dword [ebp - 0x6c0], esp
lea edx, [ebp - 0x248]
push edx
call fcn.00403080
mov dword [ebp - 0x710], eax
mov ecx, dword [ebp - 0x6f0]
call fcn.004236f0
mov dword [ebp - 0x714], eax
mov eax, dword [ebp - 0x714]
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0
je 0x4166e0
push 0x5b86ec
mov ecx, dword [ebp + 8]
add ecx, 0x10
imul ecx, ecx, 0x98
mov edx, dword [ebp - 0x6f0]
lea ecx, [edx + ecx + 0xbd8]
call fcn.0045e605
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.00405fc0
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.00401a00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401a00
jmp 0x416dc3
lea ecx, [ebp - 0x250]
call fcn.00401b70
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.00403080
mov dword [ebp - 0x718], eax
mov ecx, dword [ebp - 0x6f0]
call fcn.00423450
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.00403080
mov dword [ebp - 0x720], eax
mov ecx, dword [ebp - 0x6f0]
call fcn.004236f0
mov dword [ebp - 0x724], eax
mov eax, dword [ebp - 0x724]
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x258], 0
je 0x41677c
cmp dword [ebp - 0x254], 0
jne 0x416808
push 0x5b8704
mov ecx, dword [ebp + 8]
add ecx, 0x10
imul ecx, ecx, 0x98
mov edx, dword [ebp - 0x6f0]
lea ecx, [edx + ecx + 0xbd8]
call fcn.0045e605
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.00405fc0
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.00401a00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00401a00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401a00
jmp 0x416dc3
lea ecx, [ebp - 0x260]
call fcn.00401b70
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.00403080
mov dword [ebp - 0x728], eax
mov ecx, dword [ebp - 0x6f0]
call fcn.00422540
mov byte [ebp - 0x729], al
mov al, byte [ebp - 0x729]
mov byte [ebp - 0x259], al
lea ecx, [ebp - 0x250]
call fcn.004116e0
movzx ecx, al
test ecx, ecx
jne 0x416963
movzx edx, byte [ebp - 0x259]
test edx, edx
je 0x416963
lea ecx, [ebp - 0x260]
call fcn.004116e0
movzx eax, al
test eax, eax
jne 0x416963
push 0
lea ecx, [ebp - 0x260]
call fcn.00401940
push eax
push 0
lea ecx, [ebp - 0x250]
call fcn.00401940
push eax
call fcn.00451a80
add esp, 8
mov dword [ebp - 0x264], eax
cmp dword [ebp - 0x264], 0
je 0x416963
push 0x5b8718
mov ecx, dword [ebp + 8]
add ecx, 0x10
imul ecx, ecx, 0x98
mov edx, dword [ebp - 0x6f0]
lea ecx, [edx + ecx + 0xbd8]
call fcn.0045e605
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.00405fc0
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.00401a00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x250]
call fcn.00401a00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00401a00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401a00
jmp 0x416dc3
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.00401a00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x250]
call fcn.00401a00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00401a00
mov byte [ebp - 0x13c], 0
push 0x103
push 0
lea eax, [ebp - 0x13b]
push eax
call fcn.0055b7e0
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x13c]
push ecx
call fcn.0055b7e0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x13c]
push edx
push 0x5b8728
push 0x5b873c
call fcn.0043b840
add esp, 0x10
mov dword [ebp - 0x730], 0x5b8744
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 0x416a69
cmp byte [ebp - 0x735], 0
je 0x416a5d
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 0x416a69
add dword [ebp - 0x734], 2
add dword [ebp - 0x730], 2
cmp byte [ebp - 0x736], 0
jne 0x416a0b
mov dword [ebp - 0x73c], 0
jmp 0x416a74
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 0x416cb6
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x6f0]
cmp dword [eax + edx*4 + 0x5878], 0
je 0x416cb6
mov ecx, dword [ebp + 8]
push ecx
push str.CheckWMac
call fcn.004273b0
add esp, 8
call fcn.004022a0
mov dword [ebp - 0x270], eax
push 0x5b4c2b
lea ecx, [ebp - 0x268]
call fcn.00403840
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.004026a0
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.00403320
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x6d0]
call fcn.00401a00
push 0x5b4c62
lea ecx, [ebp - 0x26c]
call fcn.00403840
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.00403080
mov dword [ebp - 0x74c], eax
mov ecx, dword [ebp - 0x6f0]
call fcn.00424a60
mov byte [ebp - 0x74d], al
mov al, byte [ebp - 0x74d]
mov byte [ebp - 0x271], al
lea ecx, [ebp - 0x26c]
call fcn.004116e0
movzx ecx, al
test ecx, ecx
jne 0x416b9d
lea ecx, [ebp - 0x26c]
call fcn.00410870
movzx edx, byte [ebp - 0x271]
test edx, edx
je 0x416be4
mov ecx, dword [ebp - 0x6f0]
add ecx, 0xe0
call fcn.00403670
test eax, eax
jle 0x416be4
push 0
mov ecx, dword [ebp - 0x6f0]
add ecx, 0xe0
call fcn.00401500
push eax
lea ecx, [ebp - 0x26c]
call fcn.00411640
test eax, eax
je 0x416c84
push 0x5b8758
mov eax, dword [ebp + 8]
add eax, 0x10
imul eax, eax, 0x98
mov ecx, dword [ebp - 0x6f0]
lea ecx, [ecx + eax + 0xbd8]
call fcn.0045e605
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.00405fc0
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.00401a00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.00401a00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401a00
jmp 0x416dc3
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.00401a00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.00401a00
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.00405fc0
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.00401a00
jmp 0x416dc3
cmp dword [ebp - 0x20], 8
jne 0x416dc3
mov edx, dword [ebp + 8]
push edx
push str.8__l_nRtn
call fcn.004273b0
add esp, 8
push 0x5b877c
mov eax, dword [ebp + 8]
add eax, 0x10
imul eax, eax, 0x98
mov ecx, dword [ebp - 0x6f0]
lea ecx, [ecx + eax + 0xbd8]
call fcn.0045e605
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.00405fc0
push 0x5b4c63
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x98
mov edx, dword [ebp - 0x6f0]
lea ecx, [edx + ecx + 0xbd8]
call fcn.0045e605
push 0xf0f0f0
mov eax, dword [ebp + 8]
imul eax, eax, 0x98
mov ecx, dword [ebp - 0x6f0]
lea ecx, [ecx + eax + 0xbd8]
call fcn.00405fc0
push 0
mov edx, dword [ebp + 8]
imul edx, edx, 0x74
mov eax, dword [ebp - 0x6f0]
lea ecx, [eax + edx + 0x31d8]
call fcn.0045e712
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x20], 8
je 0x417430
cmp dword [ebp - 0x1c], 0
je 0x416dec
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x6f0]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [edx + ecx*4 + 0x5a74]
je 0x417430
push 0x5b4c76
lea ecx, [ebp - 0x684]
call fcn.00403840
mov dword [ebp - 4], 8
call fcn.004022a0
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.004026a0
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.00403320
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x6d8]
call fcn.00401a00
mov dl, byte [0x5b4c77]
mov byte [ebp - 0x67c], dl
push 0x3ff
push 0
lea eax, [ebp - 0x67b]
push eax
call fcn.0055b7e0
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.004260b0
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 0x416eb9
mov ecx, dword [ebp - 0x75c]
sub ecx, dword [ebp - 0x760]
mov dword [ebp - 0x768], ecx
jne 0x416f04
mov dx, word [0x5b8780]
mov word [ebp - 0x67c], dx
mov al, byte [0x5b8782]
mov byte [ebp - 0x67a], al
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x680]
call fcn.00402700
movzx edx, al
test edx, edx
je 0x4173ab
mov eax, dword [ebp + 8]
push eax
push str.write_test_log_to_flash
call fcn.004273b0
add esp, 8
mov byte [ebp - 0x689], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x6dc], esp
push 0x5b879c
call fcn.00403840
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.00403080
mov dword [ebp - 0x774], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x6f0]
call fcn.00424df0
mov dword [ebp - 0x778], eax
mov eax, dword [ebp - 0x778]
mov dword [ebp - 0x688], eax
cmp dword [ebp - 0x688], 0
jne 0x41700c
cmp dword [ebp - 0x278], 0
jne 0x41700c
push 0x5b87a4
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x98
mov edx, dword [ebp - 0x6f0]
lea ecx, [edx + ecx + 0xbd8]
call fcn.0045e605
push 0xff00
mov eax, dword [ebp + 8]
imul eax, eax, 0x98
mov ecx, dword [ebp - 0x6f0]
lea ecx, [ecx + eax + 0xbd8]
call fcn.00405fc0
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 0x41719b
cmp dword [ebp - 0x688], 0
jne 0x417167
cmp dword [ebp - 0x278], 0
je 0x417167
push 0x7d0
mov ecx, 0x5f3590
call fcn.00461b71
test eax, eax
setne dl
mov byte [ebp - 0x68a], dl
mov ecx, dword [ebp - 0x6f0]
add ecx, 0x58bc
call fcn.00401500
push eax
push 0
push 0x5b87b0
mov ecx, dword [ebp - 0x6f0]
add ecx, 0x58b8
call fcn.00401500
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 0x5b87c0
lea ecx, [ebp - 0x6ac]
push ecx
call fcn.00555824
add esp, 0xc
mov ecx, dword [ebp - 0x6f0]
add ecx, 0x58bc
call fcn.00401500
push eax
lea edx, [ebp - 0x6ac]
push edx
push str.RETEST_FAILED
mov ecx, dword [ebp - 0x6f0]
add ecx, 0x58b8
call fcn.00401500
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
movzx eax, byte [ebp - 0x68a]
test eax, eax
je 0x41715e
mov ecx, 0x5f3590
call fcn.00461b8b
mov byte [ebp - 0x689], 1
jmp 0x41719b
cmp dword [ebp - 0x688], 0
je 0x417182
cmp dword [ebp - 0x278], 0
je 0x417182
mov byte [ebp - 0x689], 1
jmp 0x41719b
cmp dword [ebp - 0x688], 0
je 0x41719b
cmp dword [ebp - 0x278], 0
jne 0x41719b
mov byte [ebp - 0x689], 1
movzx ecx, byte [ebp - 0x689]
test ecx, ecx
je 0x417398
push ecx
mov ecx, esp
mov dword [ebp - 0x6e4], esp
lea edx, [ebp - 0x67c]
push edx
call fcn.00403840
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 0x5b87d4
call fcn.00403840
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.00403080
mov dword [ebp - 0x78c], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x6f0]
call fcn.00425490
mov dword [ebp - 0x790], eax
mov eax, dword [ebp - 0x790]
mov dword [ebp - 0x6b4], eax
cmp dword [ebp - 0x6b4], 0
jne 0x4172ff
cmp dword [ebp - 0x278], 0
jne 0x4172b3
push 0x5b87dc
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x98
mov edx, dword [ebp - 0x6f0]
lea ecx, [edx + ecx + 0xbd8]
call fcn.0045e605
push 0xff00
mov eax, dword [ebp + 8]
imul eax, eax, 0x98
mov ecx, dword [ebp - 0x6f0]
lea ecx, [ecx + eax + 0xbd8]
call fcn.00405fc0
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x6f0]
mov ecx, dword [eax + edx*4 + 0x5a74]
mov dword [ebp - 0x1c], ecx
jmp 0x4172fa
push 0x5b87e8
mov edx, dword [ebp + 8]
imul edx, edx, 0x98
mov eax, dword [ebp - 0x6f0]
lea ecx, [eax + edx + 0xbd8]
call fcn.0045e605
push 0xff
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x98
mov edx, dword [ebp - 0x6f0]
lea ecx, [edx + ecx + 0xbd8]
call fcn.00405fc0
mov dword [ebp - 0x1c], 0xa
jmp 0x417398
cmp dword [ebp - 0x6b4], 0xfffffffe
jne 0x417351
push 0x5b87f4
mov eax, dword [ebp + 8]
imul eax, eax, 0x98
mov ecx, dword [ebp - 0x6f0]
lea ecx, [ecx + eax + 0xbd8]
call fcn.0045e605
push 0xff
mov edx, dword [ebp + 8]
imul edx, edx, 0x98
mov eax, dword [ebp - 0x6f0]
lea ecx, [eax + edx + 0xbd8]
call fcn.00405fc0
mov dword [ebp - 0x1c], 0xa
jmp 0x417398
push 0x5b8800
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x98
mov edx, dword [ebp - 0x6f0]
lea ecx, [edx + ecx + 0xbd8]
call fcn.0045e605
push 0xff
mov eax, dword [ebp + 8]
imul eax, eax, 0x98
mov ecx, dword [ebp - 0x6f0]
lea ecx, [ecx + eax + 0xbd8]
call fcn.00405fc0
mov dword [ebp - 0x1c], 0xa
mov edx, dword [ebp + 8]
push edx
push str.write_test_log_to_flash_end
call fcn.004273b0
add esp, 8
jmp 0x417403
mov eax, dword [ebp + 8]
push eax
push str.write_test_log_to_flash_failed__off_line
call fcn.004273b0
add esp, 8
push 0x5b8860
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x98
mov edx, dword [ebp - 0x6f0]
lea ecx, [edx + ecx + 0xbd8]
call fcn.0045e605
push 0xff
mov eax, dword [ebp + 8]
imul eax, eax, 0x98
mov ecx, dword [ebp - 0x6f0]
lea ecx, [ecx + eax + 0xbd8]
call fcn.00405fc0
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.00432ce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x684]
call fcn.00401a00
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x14]
cmp ecx, 0xbb8
jae 0x41747e
mov edx, 0xbb8
sub edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x6b8], edx
mov eax, dword [ebp - 0x6b8]
push eax
push 0x5b8880
call fcn.004273b0
add esp, 8
mov ecx, 0xbb8
sub ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41617a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.0055509d
mov esp, ebp
pop ebp
ret 4