Function at 0x1000c2b0
Capabilities:
Check if file exists
Get file attributes
Get local ipv4 addresses
Get socket information
Print debug messages
Read .ini file

Disassembly:
sub esp, 0x4fc
push ebx
push ebp
push esi
lea eax, [esp + 0x44]
push edi
push eax
mov byte [esp + 0x28], 0x66
mov byte [esp + 0x126], 0
mov dword [esp + 0x4c], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov edx, dword [esp + 0x510]
lea ecx, [esp + 0x40c]
push 0x100
push ecx
push edx
call fcn.1000c0b0
mov ebx, dword [esp + 0x520]
xor eax, eax
mov dword [esp + 0x20], eax
add esp, 0xc
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0xa8]
push ecx
push edx
push eax
mov dword [esp + 0x1c], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
mov ecx, dword [esp + 0x18]
lea esi, [esp + 0x40c]
mov dword [esp + 0xec], ecx
mov ecx, 0xc
lea edi, [esp + 0xf0]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call fcn.1000bf30
mov dword [esp + 0xe4], eax
call fcn.1000c020
mov edx, dword [esp + 0x518]
mov byte [esp + 0x122], al
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x308]
push 0x104
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x520]
lea eax, [esp + 0x30c]
push eax
push ecx
mov dword [esp + 0x130], edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x204]
rep stosd dword es:[edi], eax
cmp byte [0x1001a5db], 4
jne 0x1000c3f8
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x308]
lea edx, [esp + 0x308]
rep stosd dword es:[edi], eax
push edx
call fcn.1000c180
lea eax, [esp + 0x30c]
lea ecx, [esp + 0x208]
push eax
push str._s_lang.ini
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x1000c416
lea edx, [esp + 0x308]
lea eax, [esp + 0x204]
push edx
push str._s_lang.ini
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0x204]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, 0xffffffff
jne 0x1000c44e
xor edx, edx
mov dword [esp + 0x25], edx
mov dword [esp + 0x29], edx
mov dword [esp + 0x2d], edx
mov dword [esp + 0x31], edx
mov dword [esp + 0x35], edx
mov dword [esp + 0x3c], edx
jmp 0x1000c4fc
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x13c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x204]
lea ecx, [esp + 0x13c]
push eax
push 0x64
push ecx
push 0x1001bee4
push str.name
push str.user
call ebp
lea edx, [esp + 0x13c]
push edx
call fcn.1000b9f0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x25]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x13c]
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 ecx, 0x19
lea edi, [esp + 0x13c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x204]
push ecx
push 0x64
push edx
push 0x1001bee4
push str.icon
push str.user
call ebp
lea eax, [esp + 0x13c]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [esp + 0x3c], eax
call fcn.1000c000
mov dword [esp + 0xe8], eax
mov edi, str.2.0.0.0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x40]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1a0]
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 ecx, 0x19
lea edi, [esp + 0x1a0]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x204]
push ecx
push 0x14
push edx
push 0x1001bee4
push str.Remark
push str.user
call ebp
lea edi, [esp + 0x1a0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x128]
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 + 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edx, [esp + 0x24]
push 0x118
push edx
mov ecx, ebx
call fcn.10002d30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4fc
ret