Function at 0x5765cae0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5766252b
push eax
mov eax, 0x18c8
mov dword fs:[0], esp
call fcn.576616a0
push ebp
push esi
mov esi, dword [esp + 0x18e4]
mov ebp, ecx
push edi
mov ecx, 0x953
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov dx, word [0x576876e8]
mov ecx, 0x81
lea edi, [esp + 0xeae]
mov word [esp + 0xeac], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x6ee]
mov word [esp + 0x6ec], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x8f6]
mov word [esp + 0x8f4], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xafe]
mov word [esp + 0xafc], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x216]
mov word [esp + 0x214], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x18e4]
add eax, 0x418
push eax
call sub.MSVCRT.dll_localtime
mov ecx, dword [eax]
mov edx, dword [eax + 4]
add esp, 4
push ecx
mov ecx, dword [eax + 8]
push edx
mov edx, dword [eax + 0xc]
push ecx
mov ecx, dword [eax + 0x10]
push edx
mov edx, dword [eax + 0x14]
inc ecx
add edx, 0x76c
push ecx
push edx
lea eax, [esp + 0xec4]
push str.__04d_02d_02d_02d_02d_02d
push eax
call sub.MSVCRT.dll_swprintf
add esp, 0x20
cmp word [0x57688d60], 0
je 0x5765cc03
push 0x57688d60
lea ecx, [esp + 0x8f8]
push 0x5768316c
push ecx
jmp 0x5765cc15
push 0x576879b4
lea edx, [esp + 0x8f8]
push 0x5768316c
push edx
call sub.MSVCRT.dll_swprintf
add esp, 0xc
cmp word [esp + 0x8f4], 0
je 0x5765cc3f
lea eax, [esp + 0x8f4]
lea ecx, [esi + 0x800]
push eax
push ecx
call sub.MSVCRT.dll_wcscat
add esp, 8
push 0x576879dc
lea edx, [esp + 0xb00]
push 0x5768316c
push edx
call sub.MSVCRT.dll_swprintf
add esp, 0xc
cmp word [esp + 0xafc], 0
je 0x5765cc7b
lea eax, [esp + 0xafc]
lea ecx, [esi + 0x1c50]
push eax
push ecx
call sub.MSVCRT.dll_wcscat
add esp, 8
cmp word [0x57688950], 0
je 0x5765cc99
push 0x57688950
lea edx, [esp + 0x6f0]
push 0x5768316c
push edx
jmp 0x5765ccab
push 0x57687aa4
lea eax, [esp + 0x6f0]
push 0x5768316c
push eax
call sub.MSVCRT.dll_swprintf
add esp, 0xc
cmp word [esp + 0x6ec], 0
push ebx
je 0x5765cd54
lea ecx, [esp + 0x6f0]
lea ebx, [esi + 0xc10]
push ecx
push 0x5768316c
push ebx
call sub.MSVCRT.dll_swprintf
add esp, 0xc
lea edx, [esp + 0x6f0]
lea eax, [esi + 0xe18]
mov ecx, ebp
push 0x7c
push edx
push eax
call fcn.5765c890
mov ax, word [0x576876e8]
mov ecx, 0x81
mov word [esp + 0x10], ax
xor eax, eax
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
test byte [0x57688130], 8
je 0x5765cd2d
lea eax, [esi + 0xe18]
lea ecx, [esp + 0x10]
push eax
push 0x5768316c
push ecx
jmp 0x5765cd38
push ebx
lea edx, [esp + 0x14]
push 0x5768316c
push edx
call sub.MSVCRT.dll_swprintf
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esi + 0xa08]
push eax
push ecx
call sub.MSVCRT.dll_wcscat
add esp, 8
lea ecx, [esp + 0xd08]
call fcn.57660bc0
lea ecx, [esp + 0xd08]
mov dword [esp + 0x18e0], 0
call fcn.57660c00
mov ecx, ebp
call fcn.5765c5d0
mov dx, word [0x576876e8]
mov ebx, eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x2e2]
mov word [esp + 0x2e0], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x4ea]
mov word [esp + 0x4e8], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], dx
rep stosd dword es:[edi], eax
push 0x576895a8
lea edx, [esp + 0x14]
push 0x104
push edx
push 0x576876e8
push str.MYIP
push str.INFO
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x10], 0
jne 0x5765ce0d
lea eax, [esp + 0x10]
push str.OFFLINE
push eax
call sub.MSVCRT.dll_swprintf
add esp, 8
test ebx, ebx
je 0x5765ce21
push ebx
lea ecx, [esp + 0x2e4]
push 0x57686844
push ecx
jmp 0x5765ce33
lea edx, [esp + 0x10]
lea eax, [esp + 0x2e0]
push edx
push 0x5768316c
push eax
call sub.MSVCRT.dll_swprintf
add esp, 0xc
lea ecx, [esp + 0x2e0]
push str.OFFLINE
push ecx
call sub.MSVCRT.dll_wcscmp
add esp, 8
test eax, eax
je 0x5765cf9c
lea edx, [esp + 0x2e0]
push 0x576895a8
push edx
push str.MYIP
push str.INFO
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea edi, [esi + 0x1430]
lea eax, [esp + 0x2e0]
push edi
push eax
mov ecx, ebp
call fcn.5765ca40
test byte [0x57688130], 2
je 0x5765ce9a
push edi
jmp 0x5765cf53
lea edx, [esp + 0x16d0]
lea eax, [esp + 0x12c0]
push edx
lea ecx, [esp + 0x14cc]
push eax
lea edx, [esp + 0x2e8]
push ecx
push edx
mov ecx, ebp
call fcn.5765c730
lea eax, [esp + 0x2e0]
lea ecx, [esp + 0x10b8]
push eax
push ecx
call sub.MSVCRT.dll_swprintf
add esp, 8
lea eax, [esi + 0x1228]
lea edx, [esp + 0x10b8]
mov ecx, ebp
push eax
push edx
call fcn.5765c6f0
lea edi, [esi + 0x1638]
lea eax, [esp + 0x14c8]
push edi
push eax
mov ecx, ebp
call fcn.5765c6f0
lea ebx, [esi + 0x1840]
lea ecx, [esp + 0x12c0]
push ebx
push ecx
mov ecx, ebp
call fcn.5765c6f0
lea eax, [esi + 0x1a48]
lea edx, [esp + 0x16d0]
push eax
push edx
mov ecx, ebp
call fcn.5765c6f0
mov eax, dword [0x57688130]
test al, 0x80
je 0x5765cf4d
lea eax, [esp + 0x4e8]
push edi
push eax
call sub.MSVCRT.dll_swprintf
add esp, 8
jmp 0x5765cfb9
test ah, 1
je 0x5765cf65
push ebx
lea ecx, [esp + 0x4ec]
push ecx
call sub.MSVCRT.dll_swprintf
add esp, 8
jmp 0x5765cfb9
test ah, 2
je 0x5765cf83
lea eax, [esi + 0x1a48]
lea edx, [esp + 0x4e8]
push eax
push edx
call sub.MSVCRT.dll_swprintf
add esp, 8
jmp 0x5765cfb9
lea eax, [esi + 0x1228]
push eax
lea eax, [esp + 0x4ec]
push eax
call sub.MSVCRT.dll_swprintf
add esp, 8
jmp 0x5765cfb9
lea ecx, [esp + 0x2e0]
lea edx, [esp + 0x4e8]
push ecx
push 0x5768316c
push edx
call sub.MSVCRT.dll_swprintf
add esp, 0xc
lea ecx, [esp + 0x4e8]
lea eax, [esi + 0x1020]
push ecx
push eax
call sub.MSVCRT.dll_wcscat
add esp, 8
lea ecx, [esp + 0xd08]
call fcn.57660c80
lea ecx, [esp + 0xd08]
mov dword [esp + 0x18e0], 0xffffffff
call fcn.57660bf0
lea edx, [esp + 0xeb0]
lea edi, [esi + 0x2268]
push edx
push edi
call sub.MSVCRT.dll_wcscat
mov eax, dword [esp + 0x18f0]
add esp, 8
lea ebx, [esi + 0x2060]
mov ecx, ebp
push ebx
push eax
call fcn.5765c7f0
mov al, byte [0x576887b6]
lea ebp, [esi + 0x1e58]
test al, 4
je 0x5765d032
push ebx
jmp 0x5765d033
push edi
push ebp
call sub.MSVCRT.dll_wcscat
add esp, 8
xor edi, edi
cmp word [0x576887b2], di
pop ebx
je 0x5765d058
lea ecx, [esi + 0x800]
push ecx
push esi
call sub.MSVCRT.dll_wcscat
add esp, 8
cmp word [0x576887b8], di
je 0x5765d071
lea edx, [esi + 0x1c50]
push edx
push esi
call sub.MSVCRT.dll_wcscat
add esp, 8
cmp word [0x576887b4], di
je 0x5765d08a
lea eax, [esi + 0xa08]
push eax
push esi
call sub.MSVCRT.dll_wcscat
add esp, 8
cmp word [0x576887b0], di
je 0x5765d0a3
lea eax, [esi + 0x1020]
push eax
push esi
call sub.MSVCRT.dll_wcscat
add esp, 8
cmp word [0x576887b6], di
je 0x5765d0c9
cmp word [esi], di
je 0x5765d0bf
push 0x5768664c
push esi
call sub.MSVCRT.dll_wcscat
add esp, 8
push ebp
push esi
call sub.MSVCRT.dll_wcscat
add esp, 8
lea ecx, [esp + 0x214]
push ecx
call sub.MSVCRT.dll_wcslen
add esp, 4
test eax, eax
jbe 0x5765d0ee
lea edx, [esp + 0x214]
lea eax, [esi + 0x247e]
push edx
push eax
jmp 0x5765d0fa
lea ecx, [esi + 0x247e]
push 0x57686850
push ecx
call sub.MSVCRT.dll_wcscat
mov eax, dword [0x5768812c]
add esp, 8
cmp eax, 6
jl 0x5765d119
cmp eax, 9
jg 0x5765d119
mov dword [esi + 0x2548], eax
jmp 0x5765d123
mov dword [esi + 0x2548], 9
mov al, byte [0x57688130]
test al, 0x10
je 0x5765d138
mov dword [esi + 0x2478], 0x10
jmp 0x5765d152
test al, 0x20
je 0x5765d148
mov dword [esi + 0x2478], 0x20
jmp 0x5765d152
mov dword [esi + 0x2478], 0x40
mov al, byte [0x576887be]
mov ecx, 1
cmp al, 0x4c
jne 0x5765d168
mov dword [esi + 0x2470], edi
jmp 0x5765d17e
cmp al, 0x52
jne 0x5765d178
mov dword [esi + 0x2470], 2
jmp 0x5765d17e
mov dword [esi + 0x2470], ecx
cmp byte [0x576887bf], 0x54
jne 0x5765d19d
mov dword [esi + 0x2474], ecx
mov dx, word [0x576887ba]
mov word [esi + 0x247c], dx
jmp 0x5765d1b0
mov dword [esi + 0x2474], edi
mov ax, word [0x576887ba]
mov word [esi + 0x247c], ax
mov ecx, dword [esp + 0x18d4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x18d4
ret 8