Function at 0x48d070
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51185b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
mov eax, dword [0x565614]
mov edx, dword [0x56561c]
push ebx
mov ebx, ecx
mov ecx, dword [0x565618]
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x44], ecx
mov ecx, dword [0x565608]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], edx
mov edx, dword [0x56560c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], ecx
mov word [esp + 0x54], ax
mov eax, dword [0x565610]
mov dword [esp + 0x5c], edx
mov edx, dword [0x5655fc]
xor ecx, ecx
mov dword [esp + 0x60], eax
mov eax, dword [0x565600]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x70], edx
xor edx, edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], edx
push ebp
mov word [esp + 0x70], cx
mov ecx, dword [0x565604]
lea eax, [esp + 8]
push esi
mov dword [esp + 0x88], edx
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x84], ecx
mov word [esp + 0x90], dx
call fcn.00443670
add esp, 4
mov ecx, dword [esp + 0xc]
xor ebp, ebp
push ecx
mov dword [esp + 0x9c], ebp
call fcn.004e371b
mov edx, dword [0x565620]
mov eax, dword [0x565624]
mov ecx, dword [0x565628]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0xc]
xor edx, edx
xor esi, esi
mov dword [esp + 0x2c], edx
dec eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebp
js 0x48d31b
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x48d189
mov ebx, dword [esp + 0x20]
mov ecx, dword [ebx + 8]
mov ebx, dword [ecx + ebp*4]
test ebx, ebx
je 0x48d305
test esi, esi
jle 0x48d1ab
lea edx, [esp + 0x2e]
push 0xa
push edx
push esi
call fcn.004bdd5d
add esp, 0xc
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionW]
mov edx, dword [ebx + 0xc]
dec edx
js 0x48d284
mov esi, 1
mov dword [esp + 0x14], 0
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x56]
push 0xa
mov ebp, dword [ecx + eax]
push edx
push esi
call fcn.004bdd5d
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp + 0xc]
add esp, 0xc
lea edx, [esp + 0x4c]
push ecx
push eax
lea eax, [esp + 0x2c]
push edx
push eax
call edi
lea ecx, [esp + 0x6e]
push 0xa
push ecx
push esi
call fcn.004bdd5d
mov eax, dword [ebp + 0x10]
lea edx, [esp + 0x44]
push 0xa
push edx
push eax
call fcn.004bdd5d
mov ecx, dword [esp + 0x28]
add esp, 0x18
lea edx, [esp + 0x38]
lea eax, [esp + 0x64]
push ecx
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call edi
lea edx, [esp + 0x86]
push 0xa
push edx
push esi
call fcn.004bdd5d
mov eax, dword [esp + 0x1c]
mov ebp, dword [ebp + 8]
add esp, 0xc
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x24]
push eax
push ebp
push ecx
push edx
call edi
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + 0xc]
add ecx, 4
inc esi
mov dword [esp + 0x14], ecx
dec eax
lea ecx, [esi - 1]
cmp ecx, eax
jle 0x48d1d4
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov eax, dword [ebx + 0x1c]
push edx
push eax
lea eax, [esp + 0x2c]
push 0x56562c
push eax
call edi
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x18]
push ecx
push eax
lea edx, [esp + 0x2c]
push 0x56170c
push edx
call edi
mov ecx, dword [ebx + 0x20]
lea eax, [esp + 0x38]
push 0xa
push eax
push ecx
call fcn.004bdd5d
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x38]
lea ecx, [esp + 0x24]
push edx
push eax
push 0x5655b8
push ecx
call edi
mov eax, dword [ebx + 0x24]
lea edx, [esp + 0x38]
push 0xa
push edx
push eax
call fcn.004bdd5d
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x38]
lea eax, [esp + 0x24]
push ecx
push edx
push 0x5655a0
push eax
call edi
inc esi
mov dword [esp + 0x18], esi
mov ecx, dword [esp + 0x20]
inc ebp
mov dword [esp + 0x1c], ebp
mov edx, dword [ecx + 0xc]
dec edx
cmp ebp, edx
jle 0x48d185
pop edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x98], 0xffffffff
call fcn.004e1e27
mov ecx, dword [esp + 0x90]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x90
ret