Function at 0x10057340
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ed109
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1078
call fcn.101df520
mov eax, dword [0x10275008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x1040], 0
movq qword [ebp - 0x1024], xmm0
mov dword [ebp - 0x101c], 0
mov dword [ebp - 0x1024], 0
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x101c], 0
mov dword [ebp - 4], 0
xor eax, eax
push 5
mov dword [ebp - 0x1048], 0
lea ecx, [ebp - 0x1058]
mov dword [ebp - 0x1044], 0
push str..url
mov dword [ebp - 0x1048], 0
mov dword [ebp - 0x1044], 7
mov word [ebp - 0x1058], ax
call fcn.10005390
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1024]
push eax
lea edx, [ebp - 0x1058]
mov ecx, esi
call fcn.100605f0
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1058]
call fcn.10005300
mov esi, dword [ebp - 0x1024]
cmp esi, dword [ebp - 0x1020]
je 0x10057665
nop dword [eax + eax]
push 0x1000
lea eax, [ebp - 0x1018]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x10057470
mov eax, dword [esi]
push eax
push 0x7fe
lea eax, [ebp - 0x1018]
push eax
push 0x10225df4
push 0x10234398
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x10057656
xor eax, eax
mov dword [ebp - 0x102c], 0
mov word [ebp - 0x103c], ax
lea eax, [ebp - 0x1018]
mov dword [ebp - 0x1028], 0
lea edx, [eax + 2]
mov dword [ebp - 0x102c], 0
mov dword [ebp - 0x1028], 7
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100574d4
sub eax, edx
lea ecx, [ebp - 0x103c]
sar eax, 1
push eax
lea eax, [ebp - 0x1018]
push eax
call fcn.10005390
mov byte [ebp - 4], 3
lea eax, [ebp - 0x103c]
push eax
lea ecx, [ebp - 0x1088]
call fcn.100086d0
mov edi, eax
lea ecx, [ebp - 0x103c]
mov eax, dword [ebp - 0x1040]
or eax, 1
mov dword [ebp - 0x1040], eax
cmp ecx, edi
je 0x1005755c
call fcn.10005300
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x103c], xmm0
movq xmm0, qword [edi + 0x10]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov eax, dword [ebp - 0x1040]
movq qword [ebp - 0x102c], xmm0
and eax, 0xfffffffe
mov dword [ebp - 0x1040], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1088]
call fcn.10005300
xor eax, eax
cmp dword [ebx + 0xc], 1
push 3
jne 0x100575db
mov dword [ebp - 0x1048], eax
lea ecx, [ebp - 0x1058]
mov dword [ebp - 0x1044], eax
push 0x1023436c
mov dword [ebp - 0x1048], eax
mov dword [ebp - 0x1044], 7
mov word [ebp - 0x1058], ax
call fcn.10005390
mov byte [ebp - 4], 4
lea eax, [ebp - 0x103c]
push eax
lea eax, [ebp - 0x1058]
push eax
call fcn.10045fe0
mov ecx, eax
call fcn.10046860
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1058]
jmp 0x10057642
mov dword [ebp - 0x1060], 0
lea ecx, [ebp - 0x1070]
mov dword [ebp - 0x105c], 0
push 0x10234364
mov dword [ebp - 0x1060], 0
mov dword [ebp - 0x105c], 7
mov word [ebp - 0x1070], ax
call fcn.10005390
mov byte [ebp - 4], 5
lea eax, [ebp - 0x103c]
push eax
lea eax, [ebp - 0x1070]
push eax
call fcn.10045fe0
mov ecx, eax
call fcn.10046860
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1070]
call fcn.10005300
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x103c]
call fcn.10005300
add esi, 0x18
cmp esi, dword [ebp - 0x1020]
jne 0x10057450
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1024]
call fcn.10008a90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101c837b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8