Function at 0x100053c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x10091014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x14c], edx
mov esi, ecx
mov ebx, 0x10
xor edi, edi
movzx eax, word [ebx + edx]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esi], ax
mov eax, dword [ebp - 0x14c]
push dword [ebx + eax + 2]
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esi + 2], eax
mov eax, dword [ebp - 0x14c]
push dword [ebx + eax + 6]
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esi + 6], eax
mov eax, dword [ebp - 0x14c]
push dword [ebx + eax + 0xa]
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esi + 0xa], eax
mov eax, dword [ebp - 0x14c]
push dword [ebx + eax + 0xe]
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esi + 0xe], eax
mov eax, dword [ebp - 0x14c]
push dword [ebx + eax + 0x12]
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esi + 0x12], eax
mov eax, dword [ebp - 0x14c]
push dword [ebx + eax + 0x16]
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esi + 0x16], eax
mov eax, dword [ebp - 0x14c]
push dword [ebx + eax + 0x1a]
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esi + 0x1a], eax
mov eax, dword [ebp - 0x14c]
push dword [ebx + eax + 0x1e]
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esi + 0x1e], eax
mov eax, dword [ebp - 0x14c]
push dword [ebx + eax + 0x22]
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esi + 0x22], eax
mov eax, dword [ebp - 0x14c]
push dword [ebx + eax + 0x26]
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esi + 0x26], eax
mov eax, dword [esi + 2]
cmp eax, dword [0x10091ee0]
je 0x10005500
mov eax, dword [ebp - 0x14c]
movzx eax, word [ebx + eax]
push eax
call dword [sym.imp.WS2_32.dll_htons]
push 0x2a
movzx eax, ax
push 0
push esi
add ebx, eax
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 0x14c]
inc edi
add esp, 0xc
cmp edi, 6
jb 0x100053e5
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a41e
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x1a]
mov dword [0x10091ee8], eax
mov ecx, dword [esi + 0x12]
call fcn.10004b80
mov dword [0x10091ee4], eax
mov eax, dword [esi + 0x22]
mov dword [0x10091ef0], eax
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [ebp - 0x140]
mov dx, 7
push dword [0x10091f54]
lea eax, [ecx - 0xe]
cmp dx, ax
mov eax, dword [esi + 0x16]
sbb edi, edi
and edi, 0xffffff38
add edi, 0x12c
sub eax, edi
push eax
push dword [esi + 0x1a]
movzx eax, word [ebp - 0x13c]
push eax
movzx eax, word [ebp - 0x13e]
push eax
movzx eax, cx
push eax
movzx eax, word [ebp - 0x142]
push eax
movzx eax, word [ebp - 0x146]
push eax
movzx eax, word [ebp - 0x148]
push eax
lea eax, [ebp - 0x138]
push str._4d__d__d__d:_d:_02d____d___d___d_n
push eax
call fcn.1000f890
push 0x32
lea eax, [ebp - 0x38]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [esi + 0x16]
add esp, 0x38
sub esi, edi
push 0x10093258
push 0
push 0x1008aaf8
push 0x10092d78
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esi, eax
lea eax, [ebp - 0x38]
push esi
push 0x1008a8a4
push eax
call fcn.1000f8d0
add esp, 0xc
lea eax, [ebp - 0x38]
push 0x10093258
push eax
push 0x1008aaf8
push 0x10092d78
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x1008a8f4
push 0x10093258
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x10005622
lea eax, [ebp - 0x138]
push eax
push 0x1008a8f8
push esi
call fcn.10001300
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001a41e
mov esp, ebp
pop ebp
ret