Function at 0x435d70
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44e8cb
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0xa30
push ebx
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
push esi
cmp eax, ebx
mov esi, ecx
je 0x436178
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x435db4
add ebx, 0x18
cmp eax, ebx
jne 0x435da1
jmp 0x436178
mov ecx, dword [esi + 0x99c]
mov eax, dword [ebx]
push ebp
push edi
lea edi, [esi + 0x99c]
cmp ecx, eax
je 0x435e06
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x435ddc
mov edx, dword [0x463294]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x435de3
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x435df1
push eax
mov eax, dword [eax - 8]
push eax
mov ecx, edi
call fcn.00404f60
jmp 0x435e06
mov ecx, edi
call fcn.00402f00
mov eax, dword [ebx]
mov dword [edi], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [esi + 0x9a0]
mov eax, dword [ebx + 4]
lea edi, [ebx + 4]
lea ebp, [esi + 0x9a0]
cmp ecx, eax
je 0x435e5b
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x435e30
mov edx, dword [0x463294]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x435e37
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x435e45
mov ecx, dword [eax - 8]
push eax
push ecx
mov ecx, ebp
call fcn.00404f60
jmp 0x435e5b
mov ecx, ebp
call fcn.00402f00
mov eax, dword [edi]
mov dword [ebp], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push edi
lea edx, [esp + 0x14]
push ebx
push edx
mov ecx, esi
call fcn.00438f40
mov ebp, eax
mov ecx, dword [esi + 0x9a4]
mov eax, dword [ebp]
lea edi, [esi + 0x9a4]
cmp ecx, eax
mov dword [esp + 0xa48], 0
je 0x435ec8
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x435e9d
mov edx, dword [0x463294]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x435ea4
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x435eb2
push eax
mov eax, dword [eax - 8]
push eax
mov ecx, edi
call fcn.00404f60
jmp 0x435ec8
mov ecx, edi
call fcn.00402f00
mov ebp, dword [ebp]
mov dword [edi], ebp
add ebp, 0xfffffff4
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x10]
mov edx, dword [0x463294]
mov dword [esp + 0xa48], 0xffffffff
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x435f02
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x435f02
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0044737a
add esp, 4
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x632]
mov word [esp + 0x630], 0
rep stosd dword es:[edi], eax
mov edx, dword [ebx]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
stosw word es:[edi], ax
mov eax, dword [esi + 0x1c]
lea ecx, [esp + 0x630]
push eax
push 0x104
push ecx
push 0x4d6e34
push 0x456338
push edx
call ebp
lea eax, [esp + 0x630]
lea edi, [esi + 0x9ac]
test eax, eax
mov dword [esp + 0x14], edi
je 0x435f67
lea ecx, [esp + 0x630]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [esp + 0x630]
mov ecx, edi
push edx
push eax
call fcn.00404f60
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], 0
rep stosd dword es:[edi], eax
mov edx, dword [ebx]
lea ecx, [esp + 0x18]
stosw word es:[edi], ax
mov eax, dword [esi + 0x1c]
push eax
push 0x104
push ecx
push 0x4d6e34
push 0x465250
push edx
call ebp
lea eax, [esp + 0x18]
lea edi, [esi + 0x9a8]
test eax, eax
je 0x435fc3
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [esp + 0x18]
mov ecx, edi
push edx
push eax
call fcn.00404f60
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x222]
mov word [esp + 0x220], 0
rep stosd dword es:[edi], eax
mov edx, dword [ebx]
lea ecx, [esp + 0x220]
stosw word es:[edi], ax
mov eax, dword [esi + 0x1c]
push eax
push 0x104
push ecx
push 0x4d6e34
push 0x469488
push edx
call ebp
lea eax, [esp + 0x220]
lea edi, [esi + 0x9b0]
test eax, eax
je 0x43602b
lea ecx, [esp + 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [esp + 0x220]
mov ecx, edi
push edx
push eax
call fcn.00404f60
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x42a]
mov word [esp + 0x428], 0
rep stosd dword es:[edi], eax
mov edx, dword [ebx]
lea ecx, [esp + 0x428]
stosw word es:[edi], ax
mov eax, dword [esi + 0x1c]
push eax
push 0x104
push ecx
push 0x4d6e34
push str.Cmdline
push edx
call ebp
lea eax, [esp + 0x428]
lea edi, [esi + 0x9b4]
test eax, eax
je 0x436096
lea ecx, [esp + 0x428]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [esp + 0x428]
mov ecx, edi
push edx
push eax
call fcn.00404f60
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x83a]
mov word [esp + 0x838], 0
rep stosd dword es:[edi], eax
mov edx, dword [ebx]
lea ecx, [esp + 0x838]
stosw word es:[edi], ax
mov eax, dword [esi + 0x1c]
push eax
push 0x104
push ecx
push 0x4d6e34
push str.TipVer
push edx
call ebp
lea eax, [esp + 0x838]
lea ebx, [esi + 0x9b8]
test eax, eax
jne 0x4360f7
xor ebp, ebp
jmp 0x436107
lea ecx, [esp + 0x838]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, eax
mov eax, dword [ebx]
cmp dword [eax - 0xc], 1
jg 0x436114
cmp ebp, dword [eax - 4]
jle 0x436127
mov ecx, ebx
call fcn.00402f00
push ebp
mov ecx, ebx
call fcn.00402e70
test eax, eax
je 0x436151
mov edi, dword [ebx]
lea eax, [ebp + ebp]
mov ecx, eax
lea esi, [esp + 0x838]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
mov dword [ecx - 8], ebp
mov edx, dword [ebx]
mov word [eax + edx], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push ecx
push 0x103
push 0x4dc340
call dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x4dc340
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0x10
pop edi
pop ebp
mov ecx, dword [esp + 0xa38]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xa3c
ret 4