Function at 0x403fb0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43d1d1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x628
mov eax, dword [0x45c464]
push ebx
push ebp
push esi
push edi
mov ebx, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x640], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0x46778c
push 0
push str.FileCount
push str.FileUpdate
mov byte [esp + 0x650], 2
call edi
mov ecx, dword [esp + 0x64c]
inc eax
cmp ecx, eax
mov ebp, ecx
jge 0x4047df
lea eax, [esp + 0x32c]
push 0xa
push eax
push ebp
call fcn.0042037a
add esp, 0xc
lea ecx, [esp + 0x32c]
push 0x46778c
push ecx
push str.LastActionseq
push str.Common
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push ebp
lea edx, [esp + 0x128]
push str.File_dName
push edx
mov byte [esp + 0x338], 0
call fcn.0042018d
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x124]
push 0x46778c
push 0x104
push eax
push 0x45e508
push ecx
push str.FileUpdate
call esi
push ebp
lea edx, [esp + 0x128]
push str.File_dDest
push edx
mov byte [esp + 0x234], 0
call fcn.0042018d
add esp, 0xc
lea eax, [esp + 0x228]
lea ecx, [esp + 0x124]
push 0x46778c
push 0x104
push eax
push 0x45e508
push ecx
push str.FileUpdate
call esi
lea edx, [esp + 0x228]
push edx
call fcn.00405520
push ebp
lea eax, [esp + 0x12c]
push str.File_dReplaceType
push eax
call fcn.0042018d
add esp, 0x10
lea ecx, [esp + 0x124]
push 0x46778c
push 0
push ecx
push str.FileUpdate
call edi
cmp eax, 3
ja case.default.0x404120
jmp dword [eax*4 + 0x404870]
lea edx, [esp + 0x20]
lea eax, [esp + 0x228]
push edx
push eax
call fcn.00405910
add esp, 8
mov ebx, eax
test ebx, ebx
push 0x12c
je 0x4042ad
call fcn.0043178d
mov esi, eax
mov al, byte [0x467168]
add esp, 4
cmp al, 2
jne 0x40416a
lea ecx, [esp + 0x20]
push ecx
push str.
jmp 0x404174
lea edx, [esp + 0x20]
push edx
push str.________Replace__s_successfully
push esi
call fcn.0042018d
add esp, 0xc
call fcn.00435a9c
test eax, eax
je 0x40418f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x404191
xor eax, eax
mov eax, dword [eax + 0x1c]
push esi
push 1
push 0xbb8
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push ebp
lea ecx, [esp + 0x128]
push str.File_dReplaceSuccAction
push ecx
call fcn.0042018d
add esp, 0xc
lea edx, [esp + 0x124]
push 0x46778c
push 0
push edx
push str.FileUpdate
call edi
cmp eax, 1
jne case.default.0x404120
lea eax, [ebp + 1]
lea ecx, [esp + 0x32c]
push eax
push 0x44b2c0
push ecx
call fcn.0042018d
mov edx, dword [esp + 0x654]
add esp, 0xc
lea eax, [esp + 0x32c]
push edx
push eax
push str.LastActionseq
push str.Common
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp byte [0x467168], 2
jne 0x40422f
push 0x44bc54
lea ecx, [esp + 0x14]
call fcn.004357a3
push 0x44b430
jmp 0x404242
push str._Zxupdate_needto_Restart_computer_now__
lea ecx, [esp + 0x14]
call fcn.004357a3
push str.Closing_Computer_now_Please_waiting_...
lea ecx, [esp + 0x1c]
call fcn.004357a3
call fcn.00439be1
mov esi, dword [eax + 4]
push 0x1001
push str.zteupdate
push 0x104
lea ecx, [esp + 0x1c]
call fcn.00435970
mov ecx, dword [esi + 0x1c]
push eax
call fcn.00433af7
cmp eax, 1
jne case.default.0x404120
call fcn.00405450
call fcn.00439be1
mov esi, dword [eax + 4]
push 0
push 0x44b3d0
push 0x104
lea ecx, [esp + 0x24]
call fcn.00435970
mov ecx, dword [esi + 0x1c]
push eax
call fcn.00433af7
jmp case.default.0x404120
call fcn.0043178d
mov esi, eax
mov al, byte [0x467168]
add esp, 4
cmp al, 2
jne 0x4042cc
lea ecx, [esp + 0x20]
push ecx
push 0x44bc10
jmp 0x4042d6
lea edx, [esp + 0x20]
push edx
push str.________Fail_to_Replace__s
push esi
call fcn.0042018d
add esp, 0xc
call fcn.00435a9c
test eax, eax
je 0x4042f1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x4042f3
xor eax, eax
mov eax, dword [eax + 0x1c]
push esi
push 1
push 0xbb8
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push ebp
lea ecx, [esp + 0x128]
push str.File_dReplaceFailAction
push ecx
mov byte [esp + 0x130], 0
call fcn.0042018d
add esp, 0xc
lea edx, [esp + 0x124]
push 0x46778c
push 0
push edx
push str.FileUpdate
call edi
dec eax
je 0x404369
dec eax
jne case.default.0x404120
lea eax, [esp + 0x20]
push eax
call fcn.00405850
lea ecx, [esp + 0x24]
lea edx, [esp + 0x22c]
push ecx
push edx
call fcn.00405910
add esp, 0xc
mov ebx, eax
jmp case.default.0x404120
cmp byte [0x467168], 2
jne 0x404379
push 0x44bbd0
jmp 0x40437e
push str.Please_Close
lea ecx, [esp + 0x14]
call fcn.004357a3
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
call fcn.0043591c
push 0
push 1
push 0x104
lea ecx, [esp + 0x1c]
call fcn.00435970
push eax
call fcn.00438a14
cmp eax, 1
jne 0x4043c3
lea ecx, [esp + 0x20]
push ecx
call fcn.004057b0
add esp, 4
test eax, eax
jne 0x404395
lea edx, [esp + 0x20]
lea eax, [esp + 0x228]
push edx
push eax
call fcn.00405910
add esp, 8
mov ebx, eax
jmp case.default.0x404120
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x18]
call fcn.004357a3
lea ecx, [esp + 0x14]
call fcn.0043102c
lea ecx, [esp + 0x14]
call fcn.00435a54
lea edx, [esp + 0x1c]
push 4
push edx
lea ecx, [esp + 0x1c]
call fcn.00430bfb
mov eax, dword [eax]
push str..zip
push eax
call fcn.004203df
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
setne bl
call fcn.0043561a
test bl, bl
je 0x404464
push 0x12c
xor ebx, ebx
call fcn.0043178d
mov esi, eax
mov al, byte [0x467168]
add esp, 4
cmp al, 2
jne 0x40445a
lea eax, [esp + 0x20]
push eax
push 0x44bb9c
jmp 0x4044e9
lea ecx, [esp + 0x20]
push ecx
jmp 0x4044e4
lea ecx, [esp + 0x20]
push ecx
call fcn.00405be0
add esp, 4
mov ebx, eax
test ebx, ebx
push 0x12c
je 0x4044c0
call fcn.0043178d
mov esi, eax
mov al, byte [0x467168]
add esp, 4
cmp al, 2
jne 0x40449b
lea edx, [esp + 0x20]
push edx
push 0x44bb84
jmp 0x4044e9
lea eax, [esp + 0x20]
push eax
push str.________Extract__s_successfully
jmp 0x4044e9
xor eax, eax
mov eax, dword [eax + 0x1c]
push esi
push 1
push 0xbb8
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp case.default.0x404120
call fcn.0043178d
mov esi, eax
mov al, byte [0x467168]
add esp, 4
cmp al, 2
jne 0x4044df
lea ecx, [esp + 0x20]
push ecx
push 0x44bb9c
jmp 0x4044e9
lea edx, [esp + 0x20]
push edx
push str.________Fail_to_Extract__s
push esi
call fcn.0042018d
add esp, 0xc
call fcn.00435a9c
test eax, eax
je 0x4044a7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x4044a9
or ecx, 0xffffffff
mov edi, 0x467890
xor eax, eax
lea edx, [esp + 0x430]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x430], 0
mov ebx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x430]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Temp_
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x430]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x20]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x430]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00405d70
add esp, 4
mov ebx, eax
test ebx, ebx
push 0x12c
je 0x4045e6
call fcn.0043178d
mov esi, eax
mov al, byte [0x467168]
add esp, 4
cmp al, 2
jne 0x4045d7
lea ecx, [esp + 0x20]
push ecx
push str.________Import__s_successfully
jmp 0x40471c
lea edx, [esp + 0x20]
push edx
push 0x44bafc
jmp 0x40471c
call fcn.0043178d
mov esi, eax
mov al, byte [0x467168]
add esp, 4
cmp al, 2
jne 0x404608
lea ecx, [esp + 0x20]
push ecx
push str.________Fail_to_imprort__s
jmp 0x40471c
lea edx, [esp + 0x20]
push edx
push 0x44bac0
jmp 0x40471c
or ecx, 0xffffffff
mov edi, 0x467890
xor eax, eax
lea edx, [esp + 0x534]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x534], 0
mov ebx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x534]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Temp_
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x534]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x20]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x534]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00405e90
add esp, 4
mov ebx, eax
test ebx, ebx
push 0x12c
je 0x4046f3
call fcn.0043178d
mov esi, eax
mov al, byte [0x467168]
add esp, 4
cmp al, 2
jne 0x4046e7
lea ecx, [esp + 0x20]
push ecx
push str.________
jmp 0x40471c
lea edx, [esp + 0x20]
push edx
push str.________Regist__s_successfully
jmp 0x40471c
call fcn.0043178d
mov esi, eax
mov al, byte [0x467168]
add esp, 4
cmp al, 2
jne 0x404712
lea ecx, [esp + 0x20]
push ecx
push 0x44ba68
jmp 0x40471c
lea edx, [esp + 0x20]
push edx
push str.________Fail_to_Regist__s
push esi
call fcn.0042018d
add esp, 0xc
call fcn.00435a9c
test eax, eax
je 0x404737
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x404739
xor eax, eax
mov eax, dword [eax + 0x1c]
push esi
push 1
push 0xbb8
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ebp
lea ecx, [esp + 0x128]
push str.File_dAction
push ecx
mov byte [esp + 0x130], 0
call fcn.0042018d
add esp, 0xc
lea edx, [esp + 0x124]
push 0x46778c
push 0
push edx
push str.FileUpdate
call edi
cmp eax, 1
je 0x40478f
cmp eax, 3
jne 0x404797
test ebx, ebx
je 0x404833
cmp eax, 2
je 0x4047a1
cmp eax, 3
jne 0x4047c2
test ebx, ebx
je 0x4047c2
mov eax, dword [esp + 0x648]
push eax
push 0x44b2bc
push str.MustReset
push str.UpdateOption
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x46778c
push 0
push str.FileCount
push str.FileUpdate
call edi
inc ebp
inc eax
cmp ebp, eax
jl 0x404023
lea ecx, [esp + 0x14]
mov byte [esp + 0x640], 1
call fcn.0043561a
lea ecx, [esp + 0x18]
mov byte [esp + 0x640], 0
call fcn.0043561a
lea ecx, [esp + 0x10]
mov dword [esp + 0x640], 0xffffffff
call fcn.0043561a
mov eax, 1
mov ecx, dword [esp + 0x638]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x634
ret
lea ecx, [esp + 0x14]
mov byte [esp + 0x640], 1
call fcn.0043561a
lea ecx, [esp + 0x18]
mov byte [esp + 0x640], 0
call fcn.0043561a
lea ecx, [esp + 0x10]
mov dword [esp + 0x640], 0xffffffff
call fcn.0043561a
xor eax, eax
jmp 0x40481a