Function at 0x4c2f50
Capabilities:
Access peb ldr_data
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50fc10
mov eax, dword fs:[0]
push eax
sub esp, 0x20
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 esi, ecx
mov dword [ebp - 0x20], esi
xor ebx, ebx
mov dword [esi], vtable.SaveLoadScene::CSaveLoadWnd.0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov byte [esi + 0x90], bl
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov al, byte [ebp + 0xc]
push 0x80
mov byte [ebp - 4], 0xb
mov byte [esi + 0x84], al
call fcn.004f4b27
add esp, 4
cmp eax, ebx
je 0x4c3029
mov dword [eax], vtable.Graphics::CDirtyRect.0
mov dword [eax + 0x7c], ebx
jmp 0x4c302b
xor eax, eax
push eax
lea ecx, [esi + 0x60]
call fcn.00430a50
push 0x30
call fcn.004f4b27
add esp, 4
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0xc
cmp eax, ebx
je 0x4c3052
mov ecx, eax
call fcn.004a6a20
jmp 0x4c3054
xor eax, eax
push eax
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 0xb
call fcn.0049c140
mov edi, dword [0x5538a0]
mov ecx, 0x55380c
call fcn.004174f0
mov ecx, dword [0x552af0]
mov edx, dword [ecx + 0x18]
cmp edx, ebx
jne 0x4c3082
xor ecx, ecx
jmp 0x4c3098
mov eax, dword [ecx + 0x20]
cmp eax, ebx
je 0x4c308e
mov eax, dword [eax + 0xc]
jmp 0x4c3090
xor eax, eax
mov ecx, dword [ecx + 0x1c]
imul ecx, eax
add ecx, edx
push edi
lea eax, [esi + 0x54]
push eax
call fcn.0043d890
cmp al, bl
jne 0x4c30bb
push 0x533160
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp - 0x14], 1
call fcn.004f4775
push 0x1c
call fcn.004f4b27
add esp, 4
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0xd
cmp eax, ebx
je 0x4c30dd
lea ecx, [esi + 0x60]
push ecx
mov ecx, eax
call fcn.004a0140
jmp 0x4c30df
xor eax, eax
push eax
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 0xb
call fcn.0049c1e0
push 0xf0
call fcn.004f4b27
add esp, 4
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0xe
cmp eax, ebx
je 0x4c310d
mov ecx, eax
call fcn.00452600
jmp 0x4c310f
xor eax, eax
push eax
lea ecx, [esi + 0x94]
mov byte [ebp - 4], 0xb
call fcn.0049c280
mov ecx, 0x55380c
call fcn.004174f0
mov ecx, dword [0x552af0]
mov edx, dword [ecx + 0x18]
cmp edx, ebx
jne 0x4c313a
xor ecx, ecx
jmp 0x4c3150
mov eax, dword [ecx + 0x20]
cmp eax, ebx
je 0x4c3146
mov eax, dword [eax + 0xc]
jmp 0x4c3148
xor eax, eax
mov ecx, dword [ecx + 0x1c]
imul ecx, eax
add ecx, edx
lea edx, [ebp - 0x2c]
push edx
call fcn.0043d750
push eax
lea ecx, [esi + 4]
mov byte [ebp - 4], 0xf
call fcn.00404fd0
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0xb
cmp eax, ebx
je 0x4c3196
dec dword [eax + 4]
mov ecx, eax
cmp dword [eax + 4], ebx
jne 0x4c3196
cmp byte [ecx + 8], bl
je 0x4c3186
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov ecx, dword [ebp - 0x24]
cmp ecx, ebx
je 0x4c3196
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
push 4
lea ecx, [esi + 0x10]
call fcn.0049ff90
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
lea ecx, [esi + 0x38]
call fcn.0049ff90
cmp byte [ebp + 8], bl
je 0x4c31cc
mov dword [esi + 0x88], ebx
jmp 0x4c31ec
mov ecx, 0x553818
call fcn.004175a0
mov ecx, dword [0x552af4]
push 6
call fcn.00404740
mov ecx, dword [eax + 0x1c]
mov dword [esi + 0x88], ecx
mov edx, dword [esi + 0x88]
push 1
push edx
mov ecx, esi
call fcn.004c2aa0
cmp al, bl
jne 0x4c3215
push 0x533160
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 1
call fcn.004f4775
push 0x330
call fcn.004f4670
add esp, 4
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0x10
cmp eax, ebx
je 0x4c324e
push 0x459d50
push fcn.0047d4c0
push 7
lea edi, [eax + 4]
push 0x74
push edi
mov dword [eax], 7
call fcn.004f6091
mov eax, edi
jmp 0x4c3250
xor eax, eax
push ebx
push 7
push eax
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 0xb
call fcn.0049b160
xor edx, edx
mov dword [ebp + 0xc], edx
mov eax, dword [esi + 0x28]
cmp eax, ebx
jne 0x4c3270
xor eax, eax
jmp 0x4c3273
mov eax, dword [eax + 0x10]
cmp edx, eax
jge 0x4c3308
mov ecx, dword [esi + 0x20]
cmp ecx, ebx
jne 0x4c3286
xor edi, edi
jmp 0x4c329e
mov eax, dword [esi + 0x28]
cmp eax, ebx
je 0x4c3292
mov eax, dword [eax + 0xc]
jmp 0x4c3294
xor eax, eax
mov edi, dword [esi + 0x24]
add edi, edx
imul edi, eax
add edi, ecx
mov ecx, 0x55380c
call fcn.004174f0
mov ecx, dword [0x552af0]
mov edx, dword [ecx + 0x18]
cmp edx, ebx
jne 0x4c32b9
xor ecx, ecx
jmp 0x4c32cf
mov eax, dword [ecx + 0x20]
cmp eax, ebx
je 0x4c32c5
mov eax, dword [eax + 0xc]
jmp 0x4c32c7
xor eax, eax
mov ecx, dword [ecx + 0x1c]
imul ecx, eax
add ecx, edx
mov eax, dword [ebp + 0xc]
lea edx, [eax + eax*4]
push ebx
lea eax, [edx*8 + 0x54e1a0]
push eax
push edi
call fcn.0048b850
cmp al, bl
jne 0x4c32fd
push 0x533160
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], 1
call fcn.004f4775
inc dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
jmp 0x4c3265
mov ecx, esi
call fcn.0049cbb0
mov byte [esi + 0x90], 1
jmp 0x4c3321
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