Function at 0x4082c0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4484a1
mov eax, dword fs:[0]
push eax
sub esp, 0xd10
mov eax, dword [0x457a00]
xor eax, esp
mov dword [esp + 0xd08], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x457a00]
xor eax, esp
push eax
lea eax, [esp + 0xd24]
mov dword fs:[0], eax
mov eax, dword [esp + 0xd34]
xor ebx, ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
push 0x17f
lea ecx, [esp + 0xba1]
push ebx
mov dword [esp + 0xd34], ebx
push ecx
mov dword [esp + 0x58], ebx
mov byte [esp + 0xba8], bl
call fcn.00433570
add esp, 0xc
push 0x7f
lea edx, [esp + 0x61]
push ebx
push edx
mov byte [esp + 0x68], bl
call fcn.00433570
add esp, 0xc
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
xor ecx, ecx
push ecx
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xd38], 1
push ecx
lea eax, [esp + 0x24]
mov dword [esp + 0x34], str.MODEM_VER
call fcn.004141c0
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x24], str.EFS_VER
je 0x4083c0
mov edx, dword [esp + 0x20]
mov ecx, esi
sub ecx, eax
sub edx, eax
sar ecx, 2
sar edx, 2
cmp ecx, edx
jae 0x4083c0
mov eax, esi
lea edx, [eax + 4]
mov dword [esi], str.EFS_VER
mov dword [esp + 0x1c], edx
jmp 0x4083e6
cmp eax, esi
jbe 0x4083c9
call fcn.00430872
push esi
lea eax, [esp + 0x18]
push eax
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x24]
call fcn.004141c0
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, ebx
mov dword [esp + 0x24], str.AP_VER
je 0x40841b
mov ecx, dword [esp + 0x20]
mov eax, edx
sub eax, esi
sub ecx, esi
sar eax, 2
sar ecx, 2
cmp eax, ecx
jae 0x40841b
mov eax, edx
add eax, 4
mov dword [edx], str.AP_VER
mov dword [esp + 0x1c], eax
jmp 0x40843b
cmp esi, edx
mov edi, edx
jbe 0x408426
call fcn.00430872
push edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x5c]
push edx
call fcn.004141c0
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov esi, 0x45bb50
mov byte [esp + 0xd2c], 2
call fcn.00401520
mov eax, esi
add eax, 0xffffffff
mov edi, edi
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x408460
mov ecx, dword [str._back.ini]
mov edx, dword [0x44c704]
mov dword [eax], ecx
mov cx, word [0x44c708]
mov dword [eax + 4], edx
mov word [eax + 8], cx
xor ebp, ebp
lea ebx, [esp + 0xb9c]
nop
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4085a4
mov ecx, dword [esp + 0x1c]
sub ecx, eax
sar ecx, 2
cmp ebp, ecx
jae 0x4085a4
mov edx, dword [eax + ebp*4]
push 0x45bb50
push 0x80
push ebx
push 0x45029b
push edx
push str.INFO
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
mov edi, dword [esp + 0x30]
mov dword [esp + 0x24], eax
je 0x4084fb
mov esi, dword [esp + 0x34]
mov edx, edi
sub edx, ecx
sub esi, ecx
sar edx, 2
sar esi, 2
cmp edx, esi
jae 0x4084fb
mov dword [edi], eax
lea eax, [edi + 4]
mov dword [esp + 0x30], eax
jmp 0x408521
cmp ecx, edi
jbe 0x408504
call fcn.00430872
push edi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x5c]
push ecx
lea eax, [esp + 0x38]
call fcn.004141c0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x408532
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x40853b
call fcn.00430872
mov ecx, dword [esp + 0x2c]
cmp dword [ecx + ebp*4], 0
jbe 0x40854f
add ebp, 1
add ebx, 0x80
jmp 0x408490
push 0x10
push str.error
push str.please_check_the_MODEM_VER_and__EFS_VER_and_AP_VER_in_zhe_back.ini_file_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ebx, [esp + 0x38]
call fcn.00414280
mov eax, dword [esp + 0x18]
xor esi, esi
cmp eax, esi
je 0x40857f
push eax
call fcn.0042504a
add esp, 4
mov eax, dword [esp + 0x2c]
cmp eax, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
je 0x40859c
push eax
call fcn.0042504a
add esp, 4
or eax, 0xffffffff
jmp 0x408a7c
push 0x47f
lea edx, [esp + 0x721]
push 0
push edx
mov byte [esp + 0x728], 0
call fcn.00433570
add esp, 0xc
push 0xff
lea eax, [esp + 0xe1]
push 0
push eax
mov byte [esp + 0xe8], 0
call fcn.00433570
add esp, 0xc
push 0xbf
lea ecx, [esp + 0x361]
push 0
push ecx
mov byte [esp + 0x368], 0
call fcn.00433570
add esp, 0xc
push 0x17f
lea edx, [esp + 0x421]
push 0
push edx
mov byte [esp + 0x428], 0
call fcn.00433570
add esp, 0xc
push 0x17f
lea eax, [esp + 0x1e1]
push 0
push eax
mov byte [esp + 0x1e8], 0
call fcn.00433570
add esp, 0xc
push 0x17f
lea ecx, [esp + 0x5a1]
push 0
push ecx
mov byte [esp + 0x5a8], 0
call fcn.00433570
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebp, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
add esp, 0xc
lea esp, [esp]
lea edx, [esp + 0x5c]
push 0x80
push edx
mov edx, str.ATBMSWVER
mov ecx, edi
call fcn.0041d2f0
add esp, 8
test eax, eax
push 0xa
setne bl
call esi
test bl, bl
jne 0x4086cb
mov eax, ebp
add ebp, 1
cmp eax, 0x14
jl 0x408670
lea ecx, [esp + 0x5c]
push ecx
push 0x44c6f8
call fcn.00401000
add esp, 8
push 0x10
push str.error
push str.Read_BMSWVER_failed_while_checkver_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x408a41
xor esi, esi
lea ebp, [esp + 0xb9c]
lea edi, [esp + 0x71c]
jmp 0x4086e0
push 0x44dbac
push edi
mov eax, ebp
call fcn.004074e0
add esi, 1
add esp, 8
add edi, 0x180
add ebp, 0x80
cmp esi, 3
jl 0x4086e0
lea edx, [esp + 0xdc]
push 0x44d88c
push edx
lea eax, [esp + 0x64]
call fcn.004074e0
lea esi, [esp + 0xe4]
mov eax, esi
push 0x44ce50
push eax
call fcn.00430890
add esp, 0x10
test eax, eax
je 0x408753
lea ecx, [esp + 0x35c]
push 0x44ce50
push ecx
mov eax, esi
call fcn.004074e0
add esp, 8
lea esi, [esp + 0x39c]
lea edx, [esp + 0x41c]
push 0x44dbac
push edx
mov eax, esi
call fcn.004074e0
lea eax, [esp + 0x1e4]
push 0x44dbac
push eax
lea eax, [esp + 0x12c]
call fcn.004074e0
lea ecx, [esp + 0x5ac]
push 0x44dbac
push ecx
lea eax, [esp + 0x1b4]
call fcn.004074e0
lea eax, [esp + 0x774]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4087a6
lea ecx, [esp + 0x45c]
sub eax, edx
lea esi, [ecx + 1]
jmp 0x4087c0
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x4087c0
sub ecx, esi
cmp eax, ecx
jbe 0x4087eb
lea eax, [esp + 0x75c]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4087e0
jmp 0x4087fe
lea eax, [esp + 0x45c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4087f5
sub eax, edx
push eax
lea edx, [esp + 0x460]
push edx
lea eax, [esp + 0x764]
push eax
call fcn.00444485
add esp, 0xc
test eax, eax
jl 0x408563
lea ecx, [esp + 0x1dc]
lea eax, [esp + 0x89c]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x408850
test dl, dl
je 0x40884c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x408850
add eax, 2
add ecx, 2
test dl, dl
jne 0x408830
xor eax, eax
jmp 0x408855
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x408563
lea ecx, [esp + 0x21c]
lea eax, [esp + 0x8dc]
jmp 0x408870
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x408890
test dl, dl
je 0x40888c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x408890
add eax, 2
add ecx, 2
test dl, dl
jne 0x408870
xor eax, eax
jmp 0x408895
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x408563
lea ecx, [esp + 0x25c]
lea eax, [esp + 0x91c]
jmp 0x4088b0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4088d0
test dl, dl
je 0x4088cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4088d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4088b0
xor eax, eax
jmp 0x4088d5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x408563
lea ecx, [esp + 0x29c]
lea eax, [esp + 0x95c]
jmp 0x4088f0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x408910
test dl, dl
je 0x40890c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x408910
add eax, 2
add ecx, 2
test dl, dl
jne 0x4088f0
xor eax, eax
jmp 0x408915
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x408563
lea eax, [esp + 0x99c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x408927
sub eax, edx
mov edx, eax
lea eax, [esp + 0x2dc]
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x408940
sub eax, esi
cmp edx, eax
jbe 0x40896b
lea eax, [esp + 0x99c]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x408960
jmp 0x40897e
lea eax, [esp + 0x2dc]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x408975
sub eax, edx
push eax
lea ecx, [esp + 0x2e0]
push ecx
lea edx, [esp + 0x9a4]
push edx
call fcn.00444485
add esp, 0xc
test eax, eax
jge 0x4089c0
lea ebx, [esp + 0x38]
call fcn.00414280
lea esi, [esp + 0x14]
call fcn.004140d0
lea esi, [esp + 0x28]
call fcn.004140d0
or eax, 0xffffffff
jmp 0x408a7c
lea eax, [esp + 0xa5c]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4089d0
sub eax, edx
mov edx, eax
lea eax, [esp + 0x5dc]
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4089e7
sub eax, esi
cmp edx, eax
jbe 0x408a0b
lea eax, [esp + 0xa5c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x408a00
jmp 0x408a1e
lea eax, [esp + 0x5dc]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x408a15
sub eax, edx
push eax
lea eax, [esp + 0x5e0]
push eax
lea ecx, [esp + 0xa64]
push ecx
call fcn.00444485
add esp, 0xc
test eax, eax
jl 0x408563
lea ebx, [esp + 0x38]
call fcn.00414280
mov eax, dword [esp + 0x18]
xor esi, esi
cmp eax, esi
je 0x408a5d
push eax
call fcn.0042504a
add esp, 4
mov eax, dword [esp + 0x2c]
cmp eax, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
je 0x408a7a
push eax
call fcn.0042504a
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xd24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd08]
xor ecx, esp
call fcn.0042fb8f
add esp, 0xd1c
ret