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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50fd17
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 edi, ecx
mov dword [ebp - 0x20], edi
xor ebx, ebx
mov dword [edi], vtable.SaveLoadScene::CSaveLoadScene.0
mov dword [ebp - 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
lea esi, [edi + 0x14]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov ecx, 0x55380c
mov dword [edi + 0x30], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x44], ebx
mov dword [edi + 0x40], ebx
mov dword [edi + 0x48], ebx
mov dword [edi + 0x4c], 0xffffffff
mov dword [edi + 0x50], ebx
mov dword [edi + 0x54], ebx
mov dword [edi + 0x58], 0xff
mov dword [edi + 0x5c], ebx
mov byte [ebp - 4], 4
call fcn.004174f0
mov ecx, dword [0x552af0]
mov edx, dword [ecx + 0x18]
cmp edx, ebx
jne 0x4c3843
xor ecx, ecx
jmp 0x4c3859
mov eax, dword [ecx + 0x20]
cmp eax, ebx
je 0x4c384f
mov eax, dword [eax + 0xc]
jmp 0x4c3851
xor eax, eax
mov ecx, dword [ecx + 0x1c]
imul ecx, eax
add ecx, edx
lea eax, [ebp - 0x30]
push eax
call fcn.0043d750
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
cmp esi, eax
je 0x4c38b6
mov ecx, dword [esi + 8]
cmp ecx, ebx
je 0x4c389f
dec dword [ecx + 4]
jne 0x4c389a
cmp byte [ecx + 8], bl
je 0x4c3887
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + 8]
cmp ecx, ebx
je 0x4c389a
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 8], ebx
mov dword [esi], ebx
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
cmp eax, ebx
je 0x4c38b6
inc dword [eax + 4]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x4c38e6
dec dword [eax + 4]
mov ecx, eax
cmp dword [eax + 4], ebx
jne 0x4c38e6
cmp byte [ecx + 8], bl
je 0x4c38d6
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov ecx, dword [ebp - 0x28]
cmp ecx, ebx
je 0x4c38e6
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov al, byte [ebp + 8]
push 0xa8
mov byte [edi + 0x64], al
call fcn.004f4b27
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 6
cmp esi, ebx
je 0x4c3930
mov ecx, 0x55380c
call fcn.004174f0
mov ecx, dword [0x552af0]
mov dl, byte [ecx + 0x1a7]
mov ecx, dword [ebp + 8]
mov byte [ebp - 0x14], dl
mov eax, dword [ebp - 0x14]
push eax
push ecx
mov ecx, esi
call fcn.004c2f50
jmp 0x4c3932
xor eax, eax
push eax
lea ecx, [edi + 8]
mov byte [ebp - 4], 4
call fcn.0049c320
mov edx, dword [edi + 8]
cmp edx, ebx
jne 0x4c394a
xor eax, eax
jmp 0x4c3960
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x4c3956
mov ecx, dword [eax + 0xc]
jmp 0x4c3958
xor ecx, ecx
mov eax, dword [edi + 0xc]
imul eax, ecx
add eax, edx
cmp byte [eax + 0x90], bl
jne 0x4c397d
push 0x533160
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], 1
call fcn.004f4775
push 0x24
call fcn.004f4b27
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 7
cmp eax, ebx
je 0x4c399b
mov ecx, eax
call fcn.00412010
jmp 0x4c399d
xor eax, eax
push eax
lea ecx, [edi + 0x20]
mov byte [ebp - 4], 4
call fcn.0040cd60
mov ecx, 0x553818
call fcn.004175a0
mov eax, dword [0x552af4]
mov ecx, dword [eax + 0x1c]
mov dword [ebp + 8], ecx
mov ecx, 0x553818
call fcn.004175a0
mov edx, dword [0x552af4]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x20]
cmp eax, ebx
jne 0x4c39e0
xor ecx, ecx
jmp 0x4c39f6
mov ecx, dword [edi + 0x28]
cmp ecx, ebx
je 0x4c39ec
mov edx, dword [ecx + 0xc]
jmp 0x4c39ee
xor edx, edx
mov ecx, dword [edi + 0x24]
imul ecx, edx
add ecx, eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
push 1
push ebx
push edx
push eax
call fcn.0040fb20
cmp al, bl
jne 0x4c3a1f
push 0x533160
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], 1
call fcn.004f4775
mov edx, dword [edi + 0x20]
cmp edx, ebx
jne 0x4c3a2a
xor eax, eax
jmp 0x4c3a40
mov eax, dword [edi + 0x28]
cmp eax, ebx
je 0x4c3a36
mov ecx, dword [eax + 0xc]
jmp 0x4c3a38
xor ecx, ecx
mov eax, dword [edi + 0x24]
imul eax, ecx
add eax, edx
mov esi, dword [edi + 8]
cmp esi, ebx
jne 0x4c3a4b
xor ecx, ecx
jmp 0x4c3a61
mov ecx, dword [edi + 0x10]
cmp ecx, ebx
je 0x4c3a57
mov edx, dword [ecx + 0xc]
jmp 0x4c3a59
xor edx, edx
mov ecx, dword [edi + 0xc]
imul ecx, edx
add ecx, esi
push ebx
push eax
call fcn.0049f280
mov ecx, 0x553818
call fcn.004175a0
mov ecx, dword [0x552af4]
push 2
call fcn.00404740
mov edx, dword [eax + 4]
mov ecx, 0x553818
mov dword [edi + 0x2c], edx
call fcn.004175a0
mov ecx, dword [0x552af4]
push 2
call fcn.00404740
mov dword [eax + 4], ebx
mov dword [edi + 4], ebx
jmp 0x4c3ac0
mov eax, edi
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