Function at 0x42bc90
Capabilities:
Access peb ldr_data
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x494158
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7110]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [0x4b994c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b994c
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
xor esi, esi
mov dword [esp + 0x30], esi
mov eax, dword [0x4b994c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b994c
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0x1c], edi
mov byte [esp + 0x30], 1
mov eax, dword [0x4b994c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b994c
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov bl, 2
mov byte [esp + 0x30], bl
cmp dword [0x4bab04], esi
jne 0x42be58
lea esi, [esp + 0x20]
call fcn.0042cd20
lea edi, [esp + 0x18]
mov byte [esp + 0x30], 3
call fcn.00401cd0
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bd51
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 8]
push edx
lea eax, [esp + 0x28]
push eax
lea ebx, [esp + 0x20]
call fcn.00416b70
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ebx, str..txt
mov byte [esp + 0x40], 4
call fcn.0040d090
add esp, 0x10
lea edi, [esp + 0x14]
mov byte [esp + 0x30], 5
call fcn.00401cd0
mov byte [esp + 0x30], 4
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42bdb2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x30], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bdd7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
mov ebx, str..old.txt
call fcn.0040d090
add esp, 8
lea edi, [esp + 0x1c]
mov byte [esp + 0x30], 6
call fcn.00401cd0
mov byte [esp + 0x30], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42be21
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edi
push 0
push 0x4a77a0
push 0x4a7500
call esi
mov ebp, dword [esp + 0x14]
push ebp
push 0
push 0x4a77a0
push 0x4a7500
mov ebx, eax
call esi
xor ecx, ecx
cmp ebx, eax
setg cl
mov esi, ecx
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 8]
mov ecx, dword [eax]
push esi
push ecx
push str.KChannel::IsScrollBack_name:_ws_return:_d
mov ecx, 0x4ba960
call fcn.0041d5c0
mov byte [esp + 0x3c], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42be9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0xfffffff0
mov byte [esp + 0x30], 0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bebb
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
add ebp, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42bee0
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4