Function at 0x40a580
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x425391
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
push ebx
push ebp
push esi
push edi
push str._ClientNotifyServerInfo...
call fcn.00402960
mov eax, dword [0x42d740]
mov dword [esp + 0x28], eax
push 0x4321d4
lea ecx, [esp + 0x2c]
push str._s.jjmClient.ini
push ecx
mov dword [esp + 0x248], 0
call fcn.0041e13f
mov eax, dword [0x42d740]
add esp, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x238], 2
call fcn.0041e9d8
push str.RULENAME
lea ecx, [esp + 0x14]
call fcn.0041eb8a
lea ecx, [esp + 0x14]
call fcn.0041e9d8
push str.RuleNameValue
lea ecx, [esp + 0x18]
call fcn.0041eb8a
mov ebp, dword [esp + 0x240]
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
lea ecx, [esp + 0x13c]
lea edx, [ebp + 0xa6]
push ecx
push edx
call fcn.00405290
add esp, 0x18
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 0x40a6f7
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 0x40a71f
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 + 0x10]
call fcn.0041e9d8
push str.ClientVersion
lea ecx, [esp + 0x14]
call fcn.0041eb8a
lea ecx, [esp + 0x14]
call fcn.0041e9d8
push str.Value
lea ecx, [esp + 0x18]
call fcn.0041eb8a
xor ecx, ecx
lea edx, [esp + 0x18]
mov dword [esp + 0x19], ecx
push edx
mov dword [esp + 0x21], ecx
mov byte [esp + 0x1c], 0
mov byte [esp + 0x25], cl
call fcn.00404560
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebx, [ebp + 0x16e]
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x42c8ac
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.0041e9d8
push str.VERSION
lea ecx, [esp + 0x14]
call fcn.0041eb8a
lea ecx, [esp + 0x14]
call fcn.0041e9d8
push str.SetupVersion
lea ecx, [esp + 0x18]
call fcn.0041eb8a
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 0x432384
lea eax, [esp + 0x1c]
push 0xa
push eax
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x42c8ac
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.0041e9d8
push str.VERSION
lea ecx, [esp + 0x14]
call fcn.0041eb8a
lea ecx, [esp + 0x14]
call fcn.0041e9d8
push str.DllVersion
lea ecx, [esp + 0x18]
call fcn.0041eb8a
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 0x432384
lea eax, [esp + 0x1c]
push 0xa
push eax
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp + 0x650]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00403ff0
lea ecx, [ebp + 0x64c]
push 0
push ecx
call fcn.004040d0
call fcn.00404260
mov dword [ebp + 0x654], eax
call fcn.00404340
lea edx, [ebp + 0x65c]
mov dword [ebp + 0x658], eax
push edx
call fcn.00404500
mov eax, dword [0x432788]
mov dword [ebp + 0x610], eax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x3d]
mov byte [esp + 0x3c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x4321d4
lea ecx, [esp + 0x40]
push str._sClientUpdate.dll
push ecx
stosb byte es:[edi], al
call fcn.0041269a
add esp, 0x20
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x40a977
push str.GetUpdateVersion
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40a970
add ebp, 0x67a
push 0x14
push ebp
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x14]
mov byte [esp + 0x238], 1
call fcn.0041ea4d
lea ecx, [esp + 0x10]
mov byte [esp + 0x238], 0
call fcn.0041ea4d
lea ecx, [esp + 0x24]
mov dword [esp + 0x238], 0xffffffff
call fcn.0041ea4d
mov ecx, dword [esp + 0x230]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x22c
ret