Function at 0x702282d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7030edcb
mov eax, dword fs:[0]
push eax
sub esp, 0x644
mov eax, dword [0x7034b250]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x644], edi
mov dword [ebp - 0x640], 0
mov ebx, 0x70354038
mov eax, dword [ebx - 8]
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x702283b0
mov ecx, dword [ebx]
mov dword [esi + 0x5a8], ecx
cmp dword [esi + 0x5a8], 0
mov edx, dword [ebx + 4]
mov dword [esi + 0x5c0], edx
mov eax, dword [ebx + 8]
mov dword [esi + 0x5c4], eax
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0x5b8], ecx
je 0x70228360
or dword [esi + 0x5a0], 0x1030733
test edx, edx
je 0x7022836e
or dword [esi + 0x5a0], 0x1030733
test eax, eax
je 0x7022837c
or dword [esi + 0x5a0], 0x20100
test ecx, ecx
je 0x7022838a
or dword [esi + 0x5a0], 0x20000
mov edx, dword [ebx + 0x10]
or dword [esi + 0x5a0], edx
mov ecx, dword [ebx + 0x14]
mov eax, dword [esi + 0x5a0]
not ecx
and ecx, eax
mov dword [esi + 0x5a0], ecx
mov dword [ebp - 0x640], 1
add ebx, 0x20
cmp ebx, 0x703544b8
jl 0x70228317
mov ebx, 0x703544b8
mov edx, dword [ebx - 8]
push edi
push edx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x702283ee
mov dword [esi + 0x5ec], 1
mov eax, dword [ebx]
mov dword [esi + 0x620], eax
mov ecx, dword [ebx + 8]
mov dword [esi + 0x624], ecx
add ebx, 0x14
cmp ebx, 0x70354814
jl 0x702283c4
xor ebx, ebx
mov dword [ebp - 0x63c], ebx
mov dword [ebp - 4], ebx
cmp edi, ebx
je 0x702284b4
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
inc eax
cdq
push 2
push edx
push eax
call fcn.702fbce0
mov edi, eax
add eax, 0x80000000
adc edx, ebx
mov dword [ebp - 0x64c], edx
jne 0x702284b4
cmp eax, 0xffffffff
ja 0x702284b4
cmp edi, 0x400
jg 0x70228459
push edi
call fcn.7020c9f0
add esp, 4
test al, al
je 0x70228459
mov eax, edi
call fcn.702e98d0
mov ebx, esp
jmp 0x70228482
or edx, 0xffffffff
sub edx, edi
cmp edx, 8
jb 0x702284aa
lea eax, [edi + 8]
push eax
call fcn.702e20da
add esp, 4
test eax, eax
je 0x702284b4
mov dword [eax], 0
mov dword [ebp - 0x63c], eax
lea ebx, [eax + 8]
test ebx, ebx
je 0x702284b4
mov eax, dword [ebp - 0x644]
push 0
push 0
push edi
push ebx
push 0xffffffffffffffff
push eax
push 0
push 0
mov byte [ebx], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, ebx
jmp 0x702284b6
push 0x80070057
call fcn.702042c0
xor eax, eax
push 0x703594f8
push 0x400
lea ecx, [ebp - 0x410]
push ecx
push 0
push eax
push str.applist
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, eax
test edi, edi
je 0x702285f9
cmp edi, 0x400
jae 0x702285f9
push 0x104
lea edx, [ebp - 0x638]
push 0
push edx
call fcn.702e95e0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x534]
push 0
push eax
call fcn.702e95e0
xor eax, eax
lea ecx, [ebp - 0x638]
add esp, 0xc
push ecx
lea ebx, [ebp + edi - 0x410]
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x414], eax
call fcn.70228070
mov eax, dword [ebp - 0x430]
mov ecx, dword [ebp - 0x42c]
mov edx, dword [ebp - 0x428]
mov edi, dword [ebp - 0x424]
add esp, 4
mov dword [esi + 0x5a8], eax
mov dword [esi + 0x5c0], ecx
mov dword [esi + 0x5c4], edx
mov dword [esi + 0x5b8], edi
test eax, eax
je 0x702285a3
or dword [esi + 0x5a0], 0x1030733
test ecx, ecx
je 0x702285b1
or dword [esi + 0x5a0], 0x1030733
test edx, edx
je 0x702285bf
or dword [esi + 0x5a0], 0x20100
test edi, edi
je 0x702285cd
or dword [esi + 0x5a0], 0x20000
mov edx, dword [0x703545a8]
or dword [esi + 0x5a0], edx
mov ecx, dword [0x703545ac]
mov eax, dword [esi + 0x5a0]
not ecx
and ecx, eax
mov dword [esi + 0x5a0], ecx
mov dword [ebp - 0x640], 1
cmp dword [ebp - 0x63c], 0
je 0x7022861d
mov eax, dword [ebp - 0x63c]
mov esi, dword [eax]
push eax
mov dword [ebp - 0x63c], esi
call fcn.702e1dee
add esp, 4
test esi, esi
jne 0x70228602
mov eax, dword [ebp - 0x640]
lea esp, [ebp - 0x660]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.702e1c2f
mov esp, ebp
pop ebp
ret