Function at 0x40551c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a1831
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x61e810]
xor eax, esp
mov dword [esp + 0x2b0], eax
push ebx
push esi
push edi
mov eax, dword [0x61e810]
xor eax, esp
push eax
lea eax, [esp + 0x2c8]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.00401478
cmp dword [eax + 8], 0
je 0x40557b
call fcn.00401478
mov eax, dword [eax + 8]
mov dword [esi + 0x794], eax
mov ebx, esi
call fcn.004061df
mov byte [esi + 0x915], al
call fcn.00401478
xor ebx, ebx
cmp byte [eax + 0xc], bl
je 0x405720
mov ecx, dword [esi + 0x73c]
cmp ecx, ebx
je 0x4055ab
mov eax, dword [ecx]
push ebx
call dword [eax + 0x138]
call fcn.00401478
push 0x2c
pop edi
cmp dword [eax + edi + 0x10], ebx
jne 0x40560d
push 0x5fd9d4
lea eax, [esp + 0x40]
call fcn.004017bc
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x2d4], ebx
call fcn.00407096
add esi, 0x740
mov ebx, eax
mov byte [esp + 0x2d0], 1
mov eax, esi
mov dword [esp + 0x14], esi
call fcn.00401560
push 1
xor edi, edi
lea esi, [esp + 0x5c]
call fcn.004019e2
lea esi, [esp + 0x3c]
jmp 0x4056a0
call fcn.00401478
add eax, edi
push eax
call fcn.0044d1a0
pop ecx
test al, al
je 0x40564b
call fcn.00401478
add eax, edi
push eax
call fcn.00406c0b
test al, al
je 0x40564b
call fcn.00401478
push 0xffffffffffffffff
lea ecx, [esi + 0x740]
add eax, edi
push ebx
mov dword [esp + 0x1c], ecx
call fcn.00401a8e
jmp 0x4056b7
call fcn.00401478
add eax, edi
push eax
lea ecx, [esp + 0x5c]
call fcn.0044c5f0
pop ecx
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x2d4], 2
call fcn.00407096
lea ecx, [esi + 0x740]
mov ebx, eax
mov byte [esp + 0x2d0], 3
mov eax, ecx
mov dword [esp + 0x14], ecx
call fcn.00401560
push 1
xor edi, edi
lea esi, [esp + 0x40]
call fcn.004019e2
lea esi, [esp + 0x58]
or dword [esp + 0x2d0], 0xffffffff
push 1
xor edi, edi
call fcn.004019e2
mov esi, dword [esp + 0x10]
xor ebx, ebx
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x778]
call fcn.00401a8e
cmp dword [esi + 0x750], ebx
jne 0x405714
push ebx
mov ecx, esi
call fcn.00408f8d
call fcn.00402d76
mov ecx, dword [eax]
mov edi, 0x5fdb38
push edi
push str.MainDlg.cpp
push 0x350
push ebx
push eax
call dword [ecx + 8]
add esp, 0x14
call fcn.00402d3b
mov ecx, dword [eax]
push edi
push ebx
push eax
call dword [ecx + 4]
add esp, 0xc
push 1
call fcn.0041255d
jmp 0x405d28
mov edi, esi
call fcn.00408858
jmp 0x405d28
cmp byte [esi + 0x915], bl
je 0x405c82
call fcn.00401478
cmp byte [eax + 0xd], bl
je 0x405912
mov ecx, dword [esi + 0x734]
mov eax, dword [ecx]
push 1
call dword [eax + 0x138]
mov ecx, dword [esi + 0x738]
mov eax, dword [ecx]
push 1
call dword [eax + 0x138]
cmp dword [esi + 0x750], ebx
je 0x4058de
add esi, 0x740
push esi
lea ecx, [esp + 0x5c]
call fcn.0044c4f0
pop ecx
push esi
lea ecx, [esp + 0x40]
mov dword [esp + 0x2d4], 4
call fcn.0044c5f0
pop ecx
mov byte [esp + 0x2d0], 5
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x5fd9d4
lea eax, [esp + 0x24]
push str._s_u
push eax
call fcn.004466c0
add esp, 0x10
mov byte [esp + 0x2d0], 6
cmp dword [esp + 0x30], 8
mov eax, dword [esp + 0x1c]
jae 0x4057ca
lea eax, [esp + 0x1c]
mov edi, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x40]
call fcn.00402380
test eax, eax
jne 0x4057f8
mov edi, str._new
push edi
call fcn.0048aa3a
pop ecx
push edi
mov edi, eax
lea eax, [esp + 0x20]
call fcn.00401664
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x68], ebx
jne 0x405847
cmp dword [esp + 0x30], 8
jae 0x40580d
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x94]
push 0x5fdb64
push eax
call fcn.004466c0
add esp, 0xc
push ebx
push eax
or eax, 0xffffffff
mov byte [esp + 0x2d8], 7
call fcn.004015c7
push 1
xor edi, edi
lea esi, [esp + 0x94]
call fcn.004019e2
jmp 0x4058af
cmp dword [esp + 0x30], 8
jae 0x405852
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x78]
push 0x5fdb64
push eax
call fcn.004466c0
add esp, 0xc
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x94]
push ecx
mov byte [esp + 0x2d8], 8
call fcn.0040b73a
pop ecx
pop ecx
mov ebx, eax
mov eax, esi
mov byte [esp + 0x2d0], 9
call fcn.00401560
push 1
xor edi, edi
lea esi, [esp + 0x94]
call fcn.004019e2
push 1
lea esi, [esp + 0x78]
call fcn.004019e2
xor ebx, ebx
push 1
xor edi, edi
lea esi, [esp + 0x20]
call fcn.004019e2
push 1
lea esi, [esp + 0x40]
call fcn.004019e2
or dword [esp + 0x2d0], 0xffffffff
push 1
lea esi, [esp + 0x5c]
call fcn.004019e2
mov esi, dword [esp + 0x10]
push ebx
push ebx
push dword [esi + 0x710]
mov edi, str.click
lea edx, [esi + 0x198]
mov ecx, edi
call fcn.004151df
push ebx
push ebx
push dword [esi + 0x70c]
mov ecx, edi
lea edx, [esi + 0x198]
call fcn.004151df
jmp 0x405c82
add esi, 0x740
lea eax, [esp + 0x1c]
push 0x5fd8e0
push eax
mov edi, esi
mov dword [esp + 0x1c], esi
call fcn.004014b3
push str.preference.ini
push eax
lea eax, [esp + 0x84]
mov dword [esp + 0x2e0], 0xa
call fcn.0040b69d
add esp, 0x10
push 1
xor edi, edi
lea esi, [esp + 0x20]
mov byte [esp + 0x2d4], 0xc
call fcn.004019e2
xor eax, eax
push 0x208
mov word [esp + 0xb0], ax
lea eax, [esp + 0xb2]
push ebx
push eax
call fcn.0048b3f0
mov eax, dword [esp + 0x80]
add esp, 0xc
cmp dword [esp + 0x88], 8
jae 0x405997
lea eax, [esp + 0x74]
push eax
push 0x104
lea eax, [esp + 0xb4]
push eax
push 0x5fc63c
push str.ZmStartFail
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0xac]
push eax
call fcn.0048af51
pop ecx
test eax, eax
je 0x4059eb
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
push 1
push 1
call dword [eax + 4]
push 1
xor edi, edi
lea esi, [esp + 0x78]
call fcn.004019e2
jmp 0x405d28
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x90]
push 0x5fd8e0
push eax
call fcn.004014b3
push 0x5fdbb4
push eax
lea eax, [esp + 0x4c]
mov byte [esp + 0x2e0], 0xd
call fcn.0040b69d
add esp, 0x10
push 1
xor edi, edi
lea esi, [esp + 0x94]
mov byte [esp + 0x2d4], 0xf
call fcn.004019e2
cmp dword [esp + 0x50], 8
mov eax, dword [esp + 0x3c]
jae 0x405a42
lea eax, [esp + 0x3c]
push eax
push 0x104
lea eax, [esp + 0xb4]
push eax
push 0x5fc63c
push str.Version
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov ebx, str.2.1.784
lea esi, [esp + 0x14]
call fcn.0040f4e0
and dword [esp + 0x1c], edi
and dword [esp + 0x20], edi
lea ebx, [esp + 0xac]
lea esi, [esp + 0x1c]
call fcn.0040f4e0
lea eax, [esp + 0x14]
mov ecx, esi
call fcn.00403395
test al, al
je 0x405ac2
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
xor ebx, ebx
inc ebx
push ebx
push ebx
call dword [eax + 4]
push ebx
xor edi, edi
lea esi, [esp + 0x40]
call fcn.004019e2
push ebx
jmp 0x4059db
mov ebx, dword [esp + 0x10]
cmp dword [ebx + 0x974], edi
jne 0x405b99
mov eax, dword [ebx + 4]
push 0
push 0xbb8
push 0x13
push eax
call dword [sym.imp.USER32.dll_SetTimer]
push 0x198
call fcn.0048a378
pop ecx
mov dword [esp + 0x14], eax
mov byte [esp + 0x2d0], 0x10
test eax, eax
je 0x405b08
push eax
call fcn.0045a800
jmp 0x405b0a
xor eax, eax
mov byte [esp + 0x2d0], 0xf
cmp byte [ebx + 0x7b8], 0
mov dword [ebx + 0x974], eax
je 0x405b48
cmp byte [ebx + 0x7b9], 0
mov eax, str.https:__zmconfig.duoyi.com_test_dyinstall_public_test.txt
jne 0x405b34
mov eax, str.https:__zmconfig.duoyi.com_test_dyinstall_public.txt
push eax
lea eax, [esp + 0x20]
call fcn.004017bc
mov byte [esp + 0x2d0], 0x11
jmp 0x405b5e
push str.https:__zmconfig.duoyi.com_dyminiinstall.txt
lea eax, [esp + 0x20]
call fcn.004017bc
mov byte [esp + 0x2d0], 0x12
mov ecx, 0x629288
push ecx
push 1
push ebx
push 0x403594
lea eax, [esp + 0x2c]
push eax
push dword [ebx + 0x974]
call fcn.0045acc0
lea esi, [esp + 0x1c]
xor edi, edi
push 1
call fcn.004019e2
push 1
lea esi, [esp + 0x40]
call fcn.004019e2
jmp 0x4059d9
lea eax, [ebx + 0x75c]
cmp dword [eax + 0x14], 8
jb 0x405ba7
mov eax, dword [eax]
push dword [ebx + 0x794]
push eax
lea eax, [esp + 0x60]
push str._s__i___d___d
push eax
call fcn.004466c0
add esp, 0x10
lea esi, [ebx + 0x7bc]
mov byte [esp + 0x2d0], 0x13
cmp dword [esi + 0x14], 8
jb 0x405bd8
mov eax, dword [esi]
jmp 0x405bda
mov eax, esi
push eax
call fcn.0040357a
pop ecx
test al, al
je 0x405c0c
mov edi, str.___tgid
push edi
call fcn.0048aa3a
pop ecx
push edi
mov edi, eax
lea eax, [esp + 0x5c]
call fcn.00401664
push 0
push esi
or eax, 0xffffffff
lea esi, [esp + 0x60]
call fcn.004015c7
cmp dword [esp + 0x6c], 8
mov ecx, dword [esp + 0x58]
jae 0x405c1b
lea ecx, [esp + 0x58]
lea eax, [ebx + 0x75c]
cmp dword [eax + 0x14], 8
jb 0x405c29
mov eax, dword [eax]
push ecx
push eax
lea eax, [esp + 0x24]
call fcn.00449440
pop ecx
pop ecx
test eax, eax
jne 0x405c51
call fcn.004076d1
push 1
mov esi, ebx
call fcn.0041255d
lea esi, [esp + 0x58]
jmp 0x405b80
push 1
xor edi, edi
lea esi, [esp + 0x5c]
call fcn.004019e2
push 1
lea esi, [esp + 0x40]
call fcn.004019e2
or dword [esp + 0x2d0], 0xffffffff
push 1
lea esi, [esp + 0x78]
call fcn.004019e2
mov esi, dword [esp + 0x10]
xor ebx, ebx
cmp dword [esi + 0x978], ebx
jne 0x405d1d
push 0x198
call fcn.0048a378
pop ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x2d0], 0x14
cmp eax, ebx
je 0x405cb4
push eax
call fcn.0045a800
jmp 0x405cb6
xor eax, eax
or dword [esp + 0x2d0], 0xffffffff
mov dword [esi + 0x978], eax
push str.https:__zmweb.duoyi.com_zm_protocol_list
lea eax, [esp + 0x94]
call fcn.004017bc
mov ecx, 0x629288
push ecx
push 1
push esi
push 0x4035d4
lea eax, [esp + 0xa0]
push eax
mov dword [esp + 0x2e4], 0x15
push dword [esi + 0x978]
call fcn.0045acc0
or dword [esp + 0x2d0], 0xffffffff
push 1
xor edi, edi
lea esi, [esp + 0x94]
call fcn.004019e2
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
push 1
push 1
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esp + 0x2c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2b0]
xor ecx, esp
call fcn.00489dc1
mov esp, ebp
pop ebp
ret