Function at 0x407ba0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x42512c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
push ebp
push esi
push edi
push str._ClientToServerBaseInfo
call fcn.00402960
mov eax, dword [0x42d740]
mov dword [esp + 0x1c], eax
push 0x4321d4
lea ecx, [esp + 0x20]
push str._s.jjmClient.ini
push ecx
mov dword [esp + 0x13c], 0
call fcn.0041e13f
mov eax, dword [0x42d740]
add esp, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x12c], 2
call fcn.0041e9d8
push str.RULENAME
lea ecx, [esp + 0x18]
call fcn.0041eb8a
lea ecx, [esp + 0x10]
call fcn.0041e9d8
push str.RuleNameValue
lea ecx, [esp + 0x14]
call fcn.0041eb8a
push 0x724
call fcn.0041ef11
mov ebp, eax
mov ecx, 0x1c9
xor eax, eax
mov edi, ebp
lea edx, [ebp + 0x41]
rep stosd dword es:[edi], eax
push edx
call fcn.004024f0
lea eax, [ebp + 0x82]
push ebp
push eax
call fcn.004028d0
lea ebx, [ebp + 0x92]
push ebx
call fcn.004027b0
add esp, 0x14
push 0x432384
push 0x14
push 0x4322d8
push 0
push str.CheckMacAddr
push str.MACADDR
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x432384
push 0x4322d8
push str.g_cPreMacAddr___s_g_MacPath___s_n
call fcn.00402960
mov edi, 0x4322d8
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x407d08
push 0x432384
push str.g_MacPath____s_n
call fcn.00402960
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x5f1]
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x432384
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
push str.CheckMacAddr
rep movsb byte es:[edi], byte [esi]
push str.MACADDR
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x407d30
mov edi, 0x4322d8
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x5f1]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
lea edx, [ebp + 0xa6]
push ecx
push edx
call fcn.00405290
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea esi, [ebp + 0xe7]
push 0x431c28
push 0x41
push esi
push 0
push eax
push ecx
call fcn.00406450
push esi
call fcn.00402960
mov eax, dword [0x432488]
add esp, 0x24
test eax, eax
je 0x407d88
mov eax, dword [0x431c68]
test eax, eax
jne 0x407d88
lea edx, [ebp + 0x150]
mov edi, 0x42c208
jmp 0x407d93
lea edx, [ebp + 0x150]
mov edi, 0x42c200
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x432488]
test eax, eax
je 0x407dcf
mov eax, dword [0x431c6c]
test eax, eax
jne 0x407dcf
lea edx, [ebp + 0x146]
mov edi, 0x42c208
jmp 0x407dda
lea edx, [ebp + 0x146]
mov edi, 0x42c200
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x432488]
test eax, eax
je 0x407e16
mov eax, dword [0x431c70]
test eax, eax
jne 0x407e16
lea edx, [ebp + 0x13c]
mov edi, 0x42c208
jmp 0x407e21
lea edx, [ebp + 0x13c]
mov edi, 0x42c200
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x432488]
test eax, eax
je 0x407e5d
mov eax, dword [0x431c74]
test eax, eax
jne 0x407e5d
lea edx, [ebp + 0x132]
mov edi, 0x42c208
jmp 0x407e68
lea edx, [ebp + 0x132]
mov edi, 0x42c200
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x432488]
test eax, eax
je 0x407eb1
mov eax, dword [0x431c78]
cmp eax, 2
je 0x407eb1
cmp eax, 1
lea edx, [ebp + 0x128]
jne 0x407eaa
mov edi, 0x42c1f8
jmp 0x407ebc
mov edi, 0x42c208
jmp 0x407ebc
lea edx, [ebp + 0x128]
mov edi, 0x42c200
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x431c60]
test eax, eax
je 0x407ef1
push eax
lea ecx, [ebp + 0x15a]
push 0x42b834
push ecx
jmp 0x407eff
push 0
lea edx, [ebp + 0x15a]
push 0x42c1f0
push edx
call fcn.0041269a
mov eax, dword [0x431c64]
add esp, 0xc
test eax, eax
lea edx, [ebp + 0x164]
mov edi, 0x42c1ec
jne 0x407f20
mov edi, 0x42c1e8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x432488]
test eax, eax
je 0x407f5c
mov eax, dword [0x431c5c]
test eax, eax
jne 0x407f5c
lea edx, [ebp + 0x605]
mov edi, 0x42c208
jmp 0x407f67
lea edx, [ebp + 0x605]
mov edi, 0x42c200
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x431c58]
mov edx, ecx
mov dword [ebp + 0x648], ecx
push edx
push str.pHostInfo__nCanOpenOther_is__d...
call fcn.00402960
mov edi, str.grouptest
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x182]
mov eax, ecx
mov esi, edi
mov edi, edx
push str.change
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x20]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.0041ec30
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x130], 3
call fcn.0041eb3a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x12c], 2
call fcn.0041ea4d
lea ecx, [esp + 0x14]
call fcn.0041e9d8
push str.ClientVersion
lea ecx, [esp + 0x18]
call fcn.0041eb8a
lea ecx, [esp + 0x10]
call fcn.0041e9d8
push str.Value
lea ecx, [esp + 0x14]
call fcn.0041eb8a
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [ebp + 0x16e]
push 6
push ecx
push 0
push edx
push eax
call esi
mov bl, 0x2e
lea ecx, [esp + 0x14]
mov byte [ebp + 0x173], bl
call fcn.0041e9d8
push str.VERSION
lea ecx, [esp + 0x18]
call fcn.0041eb8a
lea ecx, [esp + 0x10]
call fcn.0041e9d8
push str.SetupVersion
lea ecx, [esp + 0x14]
call fcn.0041eb8a
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [ebp + 0x174]
push 6
push edx
push str.NULL
push eax
push ecx
call esi
mov al, byte [ebp + 0x178]
test al, al
jne 0x4080b4
mov byte [ebp + 0x178], bl
lea ecx, [esp + 0x14]
mov byte [ebp + 0x179], bl
call fcn.0041e9d8
push str.VERSION
lea ecx, [esp + 0x18]
call fcn.0041eb8a
lea ecx, [esp + 0x10]
call fcn.0041e9d8
push str.DllVersion
lea ecx, [esp + 0x14]
call fcn.0041eb8a
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x18]
lea eax, [ebp + 0x17a]
push 6
push eax
push str.NULL
push ecx
push edx
call esi
lea ecx, [esp + 0x14]
call fcn.0041e9d8
push str.RULETIME
lea ecx, [esp + 0x18]
call fcn.0041eb8a
lea ecx, [esp + 0x10]
call fcn.0041e9d8
push str.Value
lea ecx, [esp + 0x14]
call fcn.0041eb8a
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [ebp + 0x5d3]
push 0x1d
push ecx
push 0
push edx
push eax
call esi
lea ecx, [esp + 0x18]
call fcn.0041e9d8
push 0x4321d4
lea ecx, [esp + 0x1c]
push str._s.jjmClientfile.ini
push ecx
call fcn.0041e13f
add esp, 0xc
lea ecx, [esp + 0x14]
call fcn.0041e9d8
push str.PLJIAJIEMI
lea ecx, [esp + 0x18]
call fcn.0041eb8a
lea ecx, [esp + 0x10]
call fcn.0041e9d8
push str.Value
lea ecx, [esp + 0x14]
call fcn.0041eb8a
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push edx
push 0
push eax
push ecx
call esi
push eax
push str.pHostInfo__iHasDecrypt11_is__d
mov dword [ebp + 0x610], eax
call fcn.00402960
add esp, 8
lea ecx, [esp + 0x10]
call fcn.0041e9d8
push str.TValue
lea ecx, [esp + 0x14]
call fcn.0041eb8a
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push edx
push 0
push eax
push ecx
call esi
push eax
push str.pHostInfo__TiHasEncrypt_is__d
mov dword [ebp + 0x61c], eax
call fcn.00402960
add esp, 8
lea ecx, [esp + 0x10]
call fcn.0041e9d8
push str.TotalNum
lea ecx, [esp + 0x14]
call fcn.0041eb8a
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push edx
push 0
push eax
push ecx
call esi
lea ecx, [esp + 0x10]
mov dword [ebp + 0x614], eax
call fcn.0041e9d8
push str.Number
lea ecx, [esp + 0x14]
call fcn.0041eb8a
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push edx
push 0
push eax
push ecx
call esi
lea ecx, [esp + 0x18]
mov dword [ebp + 0x618], eax
call fcn.0041e9d8
push 0x4321d4
lea edx, [esp + 0x1c]
push str._s.jjmClient.ini
push edx
call fcn.0041e13f
add esp, 0xc
lea ecx, [esp + 0x14]
call fcn.0041e9d8
lea ecx, [esp + 0x10]
call fcn.0041e9d8
push str.Priority
lea ecx, [esp + 0x18]
call fcn.0041eb8a
push str.PowerValue
lea ecx, [esp + 0x14]
call fcn.0041eb8a
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push 0x431c28
lea eax, [ebp + 0x624]
push 0x21
push eax
push 0
push ecx
push edx
call fcn.00406450
add esp, 0x18
test ebp, ebp
je 0x4082e7
push ebp
call fcn.0041ef3a
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x12c], 1
call fcn.0041ea4d
lea ecx, [esp + 0x14]
mov byte [esp + 0x12c], 0
call fcn.0041ea4d
lea ecx, [esp + 0x18]
mov dword [esp + 0x12c], 0xffffffff
call fcn.0041ea4d
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x120
ret