Function at 0x47ddd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b7f7
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x551644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 8]
push eax
call fcn.0045b370
xor edi, edi
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], edi
mov dword [ebx], vtable.LayerWin::CLayerWin.0
mov dword [ebp - 4], edi
mov dword [ebx + 0x24], edi
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x2c], edi
mov dword [ebx + 0x30], edi
mov dword [ebx + 0x34], edi
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x44], edi
mov dword [ebx + 0x48], edi
mov dword [ebx + 0x4c], edi
mov ecx, 0x5537a9
mov byte [ebp - 4], 4
mov byte [ebx + 0xc], 1
call fcn.004047e0
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [0x552adc]
call fcn.0043bbf0
mov edx, dword [ebp - 0x24]
xor eax, eax
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x1c], edx
push 0x1c
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x40], 0xffffffff
call fcn.004f4b27
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 5
cmp eax, edi
je 0x47de97
mov ecx, eax
call fcn.0045b590
jmp 0x47de99
xor eax, eax
push eax
lea ecx, [ebx + 0x24]
mov byte [ebp - 4], 4
call fcn.00469bd0
mov dword [ebp + 8], edi
lea esp, [esp]
mov ecx, 0x5538e0
call fcn.00405720
mov edx, dword [0x552ae4]
mov esi, dword [edx + 4]
cmp esi, edi
jne 0x47decb
xor eax, eax
jmp 0x47dee1
mov eax, dword [edx + 0xc]
cmp eax, edi
je 0x47ded7
mov ecx, dword [eax + 0xc]
jmp 0x47ded9
xor ecx, ecx
mov eax, dword [edx + 8]
imul eax, ecx
add eax, esi
mov eax, dword [eax + 0x18]
cmp eax, edi
jne 0x47deec
xor eax, eax
jmp 0x47deef
mov eax, dword [eax + 0x10]
cmp dword [ebp + 8], eax
jge 0x47e066
push 0x80
call fcn.004f4b27
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 6
cmp eax, edi
je 0x47dfb3
mov ecx, dword [ebx + 0x24]
cmp ecx, edi
jne 0x47df22
xor esi, esi
jmp 0x47df38
mov eax, dword [ebx + 0x2c]
cmp eax, edi
je 0x47df2e
mov eax, dword [eax + 0xc]
jmp 0x47df30
xor eax, eax
mov esi, dword [ebx + 0x28]
imul esi, eax
add esi, ecx
mov ecx, 0x5538e0
call fcn.00405720
mov edx, dword [0x552ae4]
mov edi, dword [edx + 4]
test edi, edi
jne 0x47df53
xor eax, eax
jmp 0x47df69
mov eax, dword [edx + 0xc]
test eax, eax
je 0x47df5f
mov ecx, dword [eax + 0xc]
jmp 0x47df61
xor ecx, ecx
mov eax, dword [edx + 8]
imul eax, ecx
add eax, edi
mov edx, dword [eax + 0x10]
test edx, edx
jne 0x47df74
xor eax, eax
jmp 0x47df8d
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x47df80
mov ecx, dword [ecx + 0xc]
jmp 0x47df82
xor ecx, ecx
mov eax, dword [eax + 0x14]
add eax, dword [ebp + 8]
imul eax, ecx
add eax, edx
movzx ecx, byte [eax]
cmp dword [ebp + 8], 0
push esi
setne dl
push ecx
mov ecx, dword [ebp - 0x20]
movzx eax, dl
mov edx, dword [ebp - 0x24]
push eax
push ecx
mov ecx, dword [ebp - 0x18]
push edx
call fcn.00478d20
mov esi, eax
xor edi, edi
jmp 0x47dfb5
xor esi, esi
mov byte [ebp - 4], 4
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
cmp esi, edi
je 0x47dfff
push 0x18
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], esi
call fcn.004f4b27
add esp, 4
cmp eax, edi
je 0x47dfe5
mov dword [eax], vtable.yaneuraoGameSDK3rd::YTL::nonarray_ref_object_class_Graphics::CPatternLayer_.0
mov dword [eax + 0x14], esi
jmp 0x47dfe7
xor eax, eax
mov ecx, 1
mov dword [eax + 4], ecx
mov byte [eax + 8], cl
mov dword [eax + 0xc], 0x80
mov dword [ebp - 0x28], eax
mov dword [eax + 0x10], ecx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebx + 0x30]
mov byte [ebp - 4], 7
call fcn.004a0060
mov esi, dword [ebp - 0x28]
mov byte [ebp - 4], 4
cmp esi, edi
je 0x47e03e
dec dword [esi + 4]
jne 0x47e038
cmp byte [esi + 8], 0
je 0x47e02d
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x30], edi
inc dword [ebp + 8]
jmp 0x47deb0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4