Function at 0x4165e6
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5153ba
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
fld qword [0x5279c8]
xor ebx, ebx
fstp qword [esi + 0x28]
mov dword [esi], vtable.KHostSplashShow.0
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], eax
mov dword [esi + 0x30], ebx
push ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, esi
mov dword [esi + 4], eax
call fcn.004167f1
test byte [0x55f7d0], 1
mov dword [ebp - 4], ebx
mov dword [esi], vtable.KClientHostSplashShow.0
mov dword [esi + 0x48], ebx
jne 0x416696
or dword [0x55f7d0], 1
push 0x527a10
push str.KClientHostSplashShow
mov ecx, 0x55f7d4
mov byte [ebp - 4], 1
call fcn.00416a83
mov byte [ebp - 4], bl
mov cl, byte [0x55f474]
test cl, cl
je 0x4166cf
mov cx, word [0x55f7d6]
mov eax, dword [0x55f7d4]
mov edx, 1
mov word [ebp - 0x14], cx
movzx ecx, cx
mov word [ebp - 0x18], dx
movzx edx, ax
push ecx
push edx
push 1
mov word [ebp - 0x16], ax
call fcn.0043d253
add esp, 0xc
mov edi, dword [ebp + 8]
mov dword [esi + 0x20], ebx
cmp byte [edi], 0
mov byte [ebp - 4], 2
je 0x4167ba
cmp byte [edi + 0x90], 0
jne 0x4167ba
mov dword [esi + 0x20], 1
call fcn.00409178
test al, al
je 0x41671b
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x416715
cmp eax, 1
je 0x416715
cmp eax, 2
je 0x416715
cmp eax, 3
jne 0x41671b
test byte [edi + 8], 0x1f
jmp 0x41671e
cmp dword [edi + 8], ebx
je 0x416723
mov dword [esi + 0x20], ebx
cmp dword [edi + 0xe0], ebx
je 0x41672e
mov dword [esi + 0x20], ebx
mov eax, 1
cmp dword [edi + 4], ebx
jne 0x41674b
cmp dword [edi + 0x28], eax
je 0x41674b
cmp dword [edi + 0x10], eax
je 0x41674b
cmp byte [edi + 0x8e], 0
je 0x41674e
mov dword [esi + 0x20], ebx
cmp dword [esi + 0x24], eax
jne 0x4167a1
cmp dword [edi + 0x30], eax
jne 0x4167a1
mov eax, dword [edi + 0x2c]
mov ebx, dword [eax]
mov dword [ebp + 0xc], eax
cmp ebx, eax
je 0x4167a1
mov edi, edi
push 4
push 0xffffffffffffffff
push str..pps
lea ecx, [ebx + 8]
call fcn.00404d73
cmp eax, 0xffffffff
jne 0x41679a
push 5
push eax
push str..ppsx
lea ecx, [ebx + 8]
call fcn.00404d73
cmp eax, 0xffffffff
jne 0x41679a
mov ebx, dword [ebx]
cmp ebx, dword [ebp + 0xc]
jne 0x416766
jmp 0x4167a1
mov dword [esi + 0x20], 0
cmp dword [edi + 0x10], 1
jne 0x4167ba
test byte [edi + 8], 0x1f
je 0x4167ba
mov ecx, esi
call fcn.00433f1d
mov dword [esi + 0x48], eax
mov dword [esi + 0x20], eax
mov al, byte [0x55f474]
mov byte [ebp - 4], 0
test al, al
je 0x4167db
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x16]
mov eax, dword [ebp - 0x18]
push ecx
push edx
push eax
call fcn.0043d264
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8