Function at 0x424524
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5721e9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x2c8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c0], ecx
mov dword [ebp - 0x29c], 0
lea ecx, [ebp - 0x28c]
call fcn.00540d77
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x22c]
call fcn.00401420
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00401420
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x290]
call fcn.00401420
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x298]
call fcn.00401420
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1a4]
call fcn.00401420
mov byte [ebp - 4], 5
push 0x5cfe98
lea ecx, [ebp - 0x9c]
call fcn.005620da
mov byte [ebp - 4], 6
push 0x5cfe9c
lea ecx, [ebp - 0x98]
call fcn.005620da
mov byte [ebp - 4], 7
push 0x5cfea0
lea ecx, [ebp - 0x294]
call fcn.005620da
mov byte [ebp - 4], 8
mov al, byte [0x5cfea4]
mov byte [ebp - 0x224], al
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x223]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea ecx, [ebp - 0x1a0]
push ecx
call fcn.00529440
add esp, 4
lea edx, [ebp - 0x1a0]
push edx
lea ecx, [ebp - 0x1a4]
call fcn.00562448
push 0x59ef2c
lea ecx, [ebp - 0x1a4]
call fcn.00562448
lea eax, [ebp - 0x2ac]
push eax
mov ecx, dword [ebp - 0x2c0]
call fcn.00425bf9
mov dword [ebp - 0x2c4], eax
mov ecx, dword [ebp - 0x2c4]
mov dword [ebp - 0x2c8], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x2c8]
push edx
lea ecx, [ebp - 0x290]
call fcn.005621a5
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2ac]
call fcn.0056206c
lea ecx, [ebp - 0x290]
call fcn.00410cd0
test eax, eax
je 0x424743
push 0
push 0
push 0x59ef40
call fcn.0056a029
mov dword [ebp - 0x2b0], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x294]
call fcn.0056206c
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x98]
call fcn.0056206c
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x9c]
call fcn.0056206c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1a4]
call fcn.0056206c
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x298]
call fcn.0056206c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x290]
call fcn.0056206c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0056206c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x22c]
call fcn.0056206c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28c]
call fcn.00540df4
mov eax, dword [ebp - 0x2b0]
jmp 0x424b47
lea ecx, [ebp - 0x2a4]
call fcn.00566f26
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x1a4]
push eax
mov ecx, dword [ebp - 0x1a4]
push ecx
mov edx, dword [ebp - 0x290]
push edx
push 0x59ef5c
lea eax, [ebp - 0x22c]
push eax
call fcn.0055f827
add esp, 0x14
lea ecx, [ebp - 0x22c]
call fcn.005287a0
mov dword [ebp - 0x2cc], eax
push 8
mov ecx, dword [ebp - 0x2cc]
push ecx
lea ecx, [ebp - 0x28c]
call fcn.00540f2d
mov dword [ebp - 0x2d0], eax
cmp dword [ebp - 0x2d0], 0
je 0x4249d1
push 0x59efa8
lea edx, [ebp - 0x2b4]
push edx
call fcn.0053922f
add esp, 8
mov dword [ebp - 0x2d4], eax
mov eax, dword [ebp - 0x2d4]
mov ecx, dword [eax]
push ecx
push 0x59efb0
lea edx, [ebp - 0x1a0]
push edx
call fcn.0054c6e3
add esp, 0xc
lea ecx, [ebp - 0x2b4]
call fcn.0056206c
lea eax, [ebp - 0x1a0]
push eax
call fcn.0054ce70
add esp, 4
test eax, eax
jbe 0x4249d1
mov dword [ebp - 0x228], 1
jmp 0x42482b
mov ecx, dword [ebp - 0x228]
add ecx, 1
mov dword [ebp - 0x228], ecx
cmp dword [ebp - 0x228], 0x400
jg 0x4248f2
mov edx, dword [ebp - 0x228]
push edx
push 0x59efb4
lea eax, [ebp - 0x94]
push eax
call fcn.0054c6e3
add esp, 0xc
lea ecx, [ebp - 0x1a0]
push ecx
push 0x80
lea edx, [ebp - 0x224]
push edx
push 0x5cfea8
lea eax, [ebp - 0x94]
push eax
push 0x59efb8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x224]
push ecx
call fcn.0054ce70
add esp, 4
test eax, eax
jbe 0x4248ed
cmp dword [ebp - 0x29c], 0
jle 0x4248ac
push 0x59efcc
lea ecx, [ebp - 0x294]
call fcn.00562448
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x294]
call fcn.00562448
push 0x59efd0
lea ecx, [ebp - 0x294]
call fcn.00562448
push 0x59efd4
lea ecx, [ebp - 0x294]
call fcn.00562448
mov eax, dword [ebp - 0x29c]
add eax, 1
mov dword [ebp - 0x29c], eax
jmp 0x42481c
mov dword [ebp - 0x228], 0
jmp 0x42490d
mov ecx, dword [ebp - 0x228]
add ecx, 1
mov dword [ebp - 0x228], ecx
mov edx, dword [ebp - 0x2c0]
mov eax, dword [ebp - 0x228]
cmp eax, dword [edx + 0x860]
jge 0x4249d1
push str.UPDATE_SM2683
lea ecx, [ebp - 0x22c]
call fcn.005621f5
push 0x59efec
lea ecx, [ebp - 0x22c]
call fcn.00562448
push str.FlashTypeNULL_
lea ecx, [ebp - 0x22c]
call fcn.00562448
lea ecx, [ebp - 0x294]
push ecx
lea ecx, [ebp - 0x22c]
call fcn.00562484
push 0x59f004
lea ecx, [ebp - 0x22c]
call fcn.00562448
mov edx, dword [ebp - 0x228]
shl edx, 7
mov eax, dword [ebp - 0x2c0]
lea ecx, [eax + edx + 0x1064]
push ecx
lea ecx, [ebp - 0x22c]
call fcn.00562448
push 0x59f01c
lea ecx, [ebp - 0x22c]
call fcn.00562448
lea ecx, [ebp - 0x22c]
call fcn.005287a0
mov dword [ebp - 0x2d8], eax
mov edx, dword [ebp - 0x2d8]
push edx
lea ecx, [ebp - 0x28c]
call fcn.00540fae
jmp 0x4248fe
lea ecx, [ebp - 0x28c]
call fcn.005410c6
jmp 0x424a9e
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x2a4]
call fcn.00423770
mov dword [ebp - 0x2bc], 1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x294]
call fcn.0056206c
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x98]
call fcn.0056206c
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x9c]
call fcn.0056206c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1a4]
call fcn.0056206c
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x298]
call fcn.0056206c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x290]
call fcn.0056206c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0056206c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x22c]
call fcn.0056206c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28c]
call fcn.00540df4
mov eax, dword [ebp - 0x2bc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret