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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ec886
mov eax, dword fs:[0]
push eax
sub esp, 0x160
push ebx
push esi
push edi
lea edi, [ebp - 0xac]
mov ecx, 0x28
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x6279c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x633374
call fcn.004a45bc
mov dword [ebp - 0x44], 0x30
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x3c], 0x582360
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp esi, esp
call fcn.004a3a1d
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 2
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], str.ImGui_Platform
mov dword [ebp - 0x18], 0
mov esi, esp
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
cmp esi, esp
call fcn.004a3a1d
call fcn.00581130
call fcn.004a3577
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [eax], 0x57e0c0
mov eax, dword [ebp - 0x50]
mov dword [eax + 4], 0x57e3f0
mov eax, dword [ebp - 0x50]
mov dword [eax + 8], 0x580660
mov eax, dword [ebp - 0x50]
mov dword [eax + 0xc], 0x5801d0
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x10], 0x57eff0
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x14], 0x580330
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x18], 0x57f130
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x1c], 0x5800f0
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x20], 0x57ee50
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x24], 0x57ef20
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x28], 0x5804a0
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x2c], 0x57ff30
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x30], 0x5819c0
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x3c], 0x57edb0
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x40], 0x57fda0
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x44], 0x57fdf0
call fcn.004a4576
mov dword [ebp - 0x5c], eax
push 0x10
call fcn.004a3ad6
add esp, 4
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x161]
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x14c]
push ecx
mov edx, dword [ebp - 0x158]
movzx eax, byte [edx]
push eax
push 0x10
call fcn.004a2ee2
add esp, 0xc
mov dword [ebp - 0x140], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x140], 0
je 0x57f8b2
mov ecx, dword [ebp - 0x140]
call fcn.004a378e
mov dword [ebp - 0x16c], eax
jmp 0x57f8bc
mov dword [ebp - 0x16c], 0
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x134], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x134]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
mov ecx, dword [0x630268]
mov dword [eax], ecx
mov eax, dword [ebp - 0x68]
mov byte [eax + 4], 0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x68]
mov dword [eax + 0x38], ecx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [0x630268]
mov dword [eax + 0x3c], ecx
push edx
mov ecx, ebp
push eax
lea edx, [0x57f93c]
call fcn.004a35a4
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a2fe6
add esp, 0x16c
cmp ebp, esp
call fcn.004a3a1d
mov esp, ebp
pop ebp
ret