Function at 0x436770
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x748
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 8], eax
xor eax, eax
mov word [ebp - 0x710], ax
push 0x256
push 0
lea ecx, [ebp - 0x70e]
push ecx
call fcn.005533a0
add esp, 0xc
lea edx, [ebp - 0x710]
push edx
call fcn.004011a0
add esp, 4
lea eax, [ebp - 0x710]
mov dword [ebp - 0x724], eax
mov ecx, dword [ebp - 0x724]
add ecx, 2
mov dword [ebp - 0x728], ecx
mov edx, dword [ebp - 0x724]
mov ax, word [edx]
mov word [ebp - 0x72a], ax
add dword [ebp - 0x724], 2
cmp word [ebp - 0x72a], 0
jne 0x4367cc
mov ecx, dword [ebp - 0x724]
sub ecx, dword [ebp - 0x728]
sar ecx, 1
mov dword [ebp - 0x730], ecx
mov edx, dword [ebp + 8]
push edx
push str.Data_Skins__s_RectSkin.ini
mov eax, dword [ebp - 0x730]
lea ecx, [ebp + eax*2 - 0x710]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
xor edx, edx
mov word [ebp - 0x4b8], dx
push 0x256
push 0
lea eax, [ebp - 0x4b6]
push eax
call fcn.005533a0
add esp, 0xc
lea ecx, [ebp - 0x4b8]
push ecx
call fcn.004011a0
add esp, 4
lea edx, [ebp - 0x4b8]
mov dword [ebp - 0x734], edx
mov eax, dword [ebp - 0x734]
add eax, 2
mov dword [ebp - 0x738], eax
mov ecx, dword [ebp - 0x734]
mov dx, word [ecx]
mov word [ebp - 0x73a], dx
add dword [ebp - 0x734], 2
cmp word [ebp - 0x73a], 0
jne 0x43686a
mov eax, dword [ebp - 0x734]
sub eax, dword [ebp - 0x738]
sar eax, 1
mov dword [ebp - 0x740], eax
mov ecx, dword [ebp + 8]
push ecx
push str.DataSkins_s_
mov edx, dword [ebp - 0x740]
lea eax, [ebp + edx*2 - 0x4b8]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x260], cx
push 0x256
push 0
lea edx, [ebp - 0x25e]
push edx
call fcn.005533a0
add esp, 0xc
lea eax, [ebp - 0x710]
push eax
push 0x104
lea ecx, [ebp - 0x260]
push ecx
push 0x5b5340
push str.GroupFlag
push str.GroupBk
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0
lea edx, [ebp - 0x260]
push edx
call fcn.00434810
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x436a0c
mov ecx, dword [ebp - 4]
call fcn.004275f0
test eax, eax
jne 0x436a0c
cmp dword [0x5e91e0], 0
je 0x436983
mov eax, dword [0x5e91e0]
mov dword [ebp - 0x718], eax
mov ecx, dword [ebp - 0x718]
mov dword [ebp - 0x714], ecx
cmp dword [ebp - 0x714], 0
je 0x436979
push 1
mov edx, dword [ebp - 0x714]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x714]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x744], eax
jmp 0x436983
mov dword [ebp - 0x744], 0
cmp dword [0x5e91e4], 0
je 0x4369d2
mov eax, dword [0x5e91e4]
mov dword [ebp - 0x720], eax
mov ecx, dword [ebp - 0x720]
mov dword [ebp - 0x71c], ecx
cmp dword [ebp - 0x71c], 0
je 0x4369c8
push 1
mov edx, dword [ebp - 0x71c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x71c]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x748], eax
jmp 0x4369d2
mov dword [ebp - 0x748], 0
mov eax, dword [ebp - 4]
mov dword [0x5e91e0], eax
push 7
mov ecx, dword [0x5e91e0]
call fcn.00431220
mov ecx, dword [0x5e91e0]
mov edx, dword [ecx]
mov ecx, dword [0x5e91e0]
mov eax, dword [edx + 4]
call eax
mov dword [0x5e91e4], eax
push 7
mov ecx, dword [0x5e91e0]
call fcn.00431220
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret