Function at 0x4a8650
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e803
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
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], ecx
lea edi, [ecx + 4]
xor ebx, ebx
mov dword [ecx], vtable.SaveLoadScene::CSaveLoadTab.0
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x1c], ebx
mov dword [ecx + 0x20], ebx
mov dword [ecx + 0x24], ebx
mov dword [ecx + 0x28], ebx
mov dword [ecx + 0x2c], ebx
mov dword [ecx + 0x30], ebx
mov dword [ecx + 0x34], ebx
mov dword [ecx + 0x38], ebx
mov dword [ecx + 0x3c], ebx
mov dword [ecx + 0x40], ebx
mov dword [ecx + 0x44], ebx
mov dword [ecx + 0x48], ebx
mov dword [ecx + 0x54], ebx
mov dword [ecx + 0x58], ebx
mov dword [ecx + 0x5c], ebx
mov dword [ecx + 0x64], ebx
mov dword [ecx + 0x68], ebx
mov dword [ecx + 0x6c], ebx
lea esi, [ecx + 0x78]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [ecx + 0x84], ebx
mov dword [ecx + 0x88], ebx
mov dword [ecx + 0x8c], ebx
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 9
cmp esi, eax
je 0x4a8741
mov ecx, dword [esi + 8]
cmp ecx, ebx
je 0x4a872a
dec dword [ecx + 4]
jne 0x4a8725
cmp byte [ecx + 8], bl
je 0x4a8712
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 8]
cmp ecx, ebx
je 0x4a8725
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov eax, dword [ebp + 8]
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 0x4a8741
inc dword [eax + 4]
push 0x1e
mov ecx, edi
call fcn.0045e0d0
mov dword [ebp - 0x14], ebx
lea ecx, [ecx]
mov eax, dword [edi + 8]
cmp eax, ebx
jne 0x4a875b
xor eax, eax
jmp 0x4a875e
mov eax, dword [eax + 0x10]
cmp dword [ebp - 0x14], eax
jge 0x4a8850
mov ecx, dword [edi]
cmp ecx, ebx
jne 0x4a8771
xor esi, esi
jmp 0x4a878a
mov eax, dword [edi + 8]
cmp eax, ebx
je 0x4a877d
mov eax, dword [eax + 0xc]
jmp 0x4a877f
xor eax, eax
mov esi, dword [edi + 4]
add esi, dword [ebp - 0x14]
imul esi, eax
add esi, ecx
mov eax, dword [vtable.CCriticalSection.0]
mov edx, dword [eax]
mov ecx, 0x5452c8
mov dword [ebp - 0x28], vtable.CCriticalLock.0
mov dword [ebp - 0x24], ecx
call edx
mov dword [ebp - 0x20], 1
mov byte [ebp - 4], 0xa
cmp dword [0x552af0], ebx
jne 0x4a87dd
push 0x1f0
call fcn.004f4b27
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xb
cmp eax, ebx
je 0x4a87d6
mov ecx, eax
call fcn.00415650
jmp 0x4a87d8
xor eax, eax
mov dword [0x552af0], eax
mov eax, dword [vtable.CCriticalSection.0]
mov edx, dword [eax + 4]
mov ecx, 0x5452c8
mov byte [ebp - 4], 9
mov dword [ebp - 0x28], vtable.CCriticalLock.0
call edx
mov ecx, dword [0x552af0]
mov eax, dword [ecx + 0x18]
cmp eax, ebx
jne 0x4a8808
xor ecx, ecx
jmp 0x4a881e
mov edx, dword [ecx + 0x20]
cmp edx, ebx
je 0x4a8814
mov edx, dword [edx + 0xc]
jmp 0x4a8816
xor edx, edx
mov ecx, dword [ecx + 0x1c]
imul ecx, edx
add ecx, eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax*4 + 0x54e3d0]
push edx
push esi
call fcn.0048eb70
test al, al
je 0x4a883b
inc dword [ebp - 0x14]
jmp 0x4a8750
push 0x533160
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], 1
call fcn.004f4775
mov esi, dword [ebp - 0x10]
push 4
lea ecx, [esi + 0x10]
call fcn.004a3be0
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], 0x54e468
lea esp, [esp]
mov ecx, dword [esi + 0x18]
cmp ecx, ebx
jne 0x4a887b
xor ecx, ecx
jmp 0x4a887e
mov ecx, dword [ecx + 0x10]
cmp edi, ecx
jge 0x4a899f
mov edx, dword [esi + 0x10]
cmp edx, ebx
jne 0x4a8891
xor esi, esi
jmp 0x4a88ac
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x4a889d
mov ecx, dword [eax + 0xc]
jmp 0x4a889f
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 0x14]
add esi, edi
imul esi, ecx
add esi, edx
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx]
mov ecx, 0x5452c8
mov edi, vtable.CCriticalLock.0
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], ecx
call eax
mov dword [ebp - 0x20], 1
mov byte [ebp - 4], 0xc
cmp dword [0x552af0], ebx
jne 0x4a8901
push 0x1f0
call fcn.004f4b27
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0xd
cmp eax, ebx
je 0x4a88fa
mov ecx, eax
call fcn.00415650
jmp 0x4a88fc
xor eax, eax
mov dword [0x552af0], eax
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx + 4]
mov ecx, 0x5452c8
mov byte [ebp - 4], 9
mov dword [ebp - 0x28], edi
call eax
mov ecx, dword [0x552af0]
mov eax, dword [ecx + 0x18]
cmp eax, ebx
jne 0x4a8929
xor ecx, ecx
jmp 0x4a893f
mov edx, dword [ecx + 0x20]
cmp edx, ebx
je 0x4a8935
mov edx, dword [edx + 0xc]
jmp 0x4a8937
xor edx, edx
mov ecx, dword [ecx + 0x1c]
imul ecx, edx
add ecx, eax
push ebx
push 0x54e2e0
push esi
call fcn.0048b850
test al, al
je 0x4a8adb
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x10]
cmp edx, ebx
jne 0x4a8961
xor eax, eax
jmp 0x4a897a
mov ecx, dword [eax + 0x18]
cmp ecx, ebx
je 0x4a896d
mov ecx, dword [ecx + 0xc]
jmp 0x4a896f
xor ecx, ecx
mov eax, dword [eax + 0x14]
add eax, dword [ebp - 0x14]
imul eax, ecx
add eax, edx
mov esi, dword [ebp - 0x18]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
inc dword [ebp - 0x14]
mov edi, dword [ebp - 0x14]
add esi, 8
mov dword [ebp - 0x18], esi
mov esi, dword [ebp - 0x10]
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], edx
mov byte [eax + 0x2c], bl
jmp 0x4a8870
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx]
mov ecx, 0x5452c8
mov dword [ebp - 0x28], vtable.CCriticalLock.0
mov dword [ebp - 0x24], 0x5452c8
call eax
mov dword [ebp - 0x20], 1
mov byte [ebp - 4], 0xe
cmp dword [0x552af0], ebx
jne 0x4a89f7
push 0x1f0
call fcn.004f4b27
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0xf
cmp eax, ebx
je 0x4a89f0
mov ecx, eax
call fcn.00415650
jmp 0x4a89f2
xor eax, eax
mov dword [0x552af0], eax
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx + 4]
mov ecx, 0x5452c8
mov byte [ebp - 4], 9
call eax
mov ecx, dword [0x552af0]
mov eax, dword [ecx + 0x18]
cmp eax, ebx
jne 0x4a8a1c
xor edi, edi
jmp 0x4a8a32
mov edx, dword [ecx + 0x20]
cmp edx, ebx
je 0x4a8a28
mov edx, dword [edx + 0xc]
jmp 0x4a8a2a
xor edx, edx
mov edi, dword [ecx + 0x1c]
imul edi, edx
add edi, eax
mov ecx, dword [esi + 0x1c]
cmp ecx, ebx
jne 0x4a8ab0
push 0x74
call fcn.004f4b27
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
cmp esi, ebx
je 0x4a8a93
mov dword [esi], vtable.Graphics::IGUIButton.0
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov ecx, esi
mov byte [ebp - 4], 0x11
call fcn.00476c80
mov dword [esi], vtable.CGUIButton.0
mov dword [esi + 0x70], 0xffffffff
jmp 0x4a8a95
xor esi, esi
push esi
mov esi, dword [ebp - 0x10]
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 9
call fcn.004be1d0
mov ecx, dword [esi + 0x1c]
cmp ecx, ebx
jne 0x4a8ab0
xor eax, eax
jmp 0x4a8ac9
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x24]
cmp edx, ebx
je 0x4a8abf
mov edx, dword [edx + 0xc]
jmp 0x4a8ac1
xor edx, edx
mov eax, dword [eax + 0x20]
imul eax, edx
add eax, ecx
push ebx
push 0x54e308
push eax
mov ecx, edi
call fcn.0048b850
test al, al
jne 0x4a8af0
push 0x533160
lea ecx, [ebp + 8]
mov dword [ebp + 8], 1
push ecx
call fcn.004f4775
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx]
mov ecx, 0x5452c8
mov dword [ebp - 0x28], vtable.CCriticalLock.0
mov dword [ebp - 0x24], 0x5452c8
call eax
mov dword [ebp - 0x20], 1
mov byte [ebp - 4], 0x12
cmp dword [0x552af0], ebx
jne 0x4a8b48
push 0x1f0
call fcn.004f4b27
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0x13
cmp eax, ebx
je 0x4a8b41
mov ecx, eax
call fcn.00415650
jmp 0x4a8b43
xor eax, eax
mov dword [0x552af0], eax
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx + 4]
mov ecx, 0x5452c8
mov byte [ebp - 4], 9
call eax
mov eax, dword [0x552af0]
mov ecx, dword [eax + 0x18]
cmp ecx, ebx
jne 0x4a8b6d
mov dword [ebp - 0x18], ebx
jmp 0x4a8b86
mov edx, dword [eax + 0x20]
cmp edx, ebx
je 0x4a8b79
mov edx, dword [edx + 0xc]
jmp 0x4a8b7b
xor edx, edx
mov eax, dword [eax + 0x1c]
imul eax, edx
add eax, ecx
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x10]
mov ecx, dword [edi + 0x28]
cmp ecx, ebx
jne 0x4a8c04
push 0x74
call fcn.004f4b27
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
cmp esi, ebx
je 0x4a8bea
mov dword [esi], vtable.Graphics::IGUIButton.0
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov ecx, esi
mov byte [ebp - 4], 0x15
call fcn.00476c80
mov dword [esi], vtable.CGUIButton.0
mov dword [esi + 0x70], 0xffffffff
jmp 0x4a8bec
xor esi, esi
push esi
lea ecx, [edi + 0x28]
mov byte [ebp - 4], 9
call fcn.004be1d0
mov ecx, dword [edi + 0x28]
cmp ecx, ebx
jne 0x4a8c04
xor eax, eax
jmp 0x4a8c1a
mov eax, dword [edi + 0x30]
cmp eax, ebx
je 0x4a8c10
mov edx, dword [eax + 0xc]
jmp 0x4a8c12
xor edx, edx
mov eax, dword [edi + 0x2c]
imul eax, edx
add eax, ecx
mov ecx, dword [ebp - 0x18]
push ebx
push 0x54e330
push eax
call fcn.0048b850
test al, al
je 0x4a8adb
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx]
mov ecx, 0x5452c8
mov dword [ebp - 0x28], vtable.CCriticalLock.0
mov dword [ebp - 0x24], 0x5452c8
call eax
mov dword [ebp - 0x20], 1
mov byte [ebp - 4], 0x16
cmp dword [0x552af0], ebx
jne 0x4a8c89
push 0x1f0
call fcn.004f4b27
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0x17
cmp eax, ebx
je 0x4a8c82
mov ecx, eax
call fcn.00415650
jmp 0x4a8c84
xor eax, eax
mov dword [0x552af0], eax
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx + 4]
mov ecx, 0x5452c8
mov byte [ebp - 4], 9
call eax
mov eax, dword [0x552af0]
mov ecx, dword [eax + 0x18]
cmp ecx, ebx
jne 0x4a8cae
mov dword [ebp - 0x18], ebx
jmp 0x4a8cc7
mov edx, dword [eax + 0x20]
cmp edx, ebx
je 0x4a8cba
mov edx, dword [edx + 0xc]
jmp 0x4a8cbc
xor edx, edx
mov eax, dword [eax + 0x1c]
imul eax, edx
add eax, ecx
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x10]
mov ecx, dword [edi + 0x34]
cmp ecx, ebx
jne 0x4a8d45
push 0x74
call fcn.004f4b27
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
cmp esi, ebx
je 0x4a8d2b
mov dword [esi], vtable.Graphics::IGUIButton.0
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov ecx, esi
mov byte [ebp - 4], 0x19
call fcn.00476c80
mov dword [esi], vtable.CGUIButton.0
mov dword [esi + 0x70], 0xffffffff
jmp 0x4a8d2d
xor esi, esi
push esi
lea ecx, [edi + 0x34]
mov byte [ebp - 4], 9
call fcn.004be1d0
mov ecx, dword [edi + 0x34]
cmp ecx, ebx
jne 0x4a8d45
xor eax, eax
jmp 0x4a8d5b
mov eax, dword [edi + 0x3c]
cmp eax, ebx
je 0x4a8d51
mov edx, dword [eax + 0xc]
jmp 0x4a8d53
xor edx, edx
mov eax, dword [edi + 0x38]
imul eax, edx
add eax, ecx
mov ecx, dword [ebp - 0x18]
push ebx
push 0x54e358
push eax
call fcn.0048b850
test al, al
je 0x4a8adb
mov ecx, 0x55380c
call fcn.004174f0
mov edx, dword [0x552af0]
mov esi, dword [edx + 0x18]
cmp esi, ebx
jne 0x4a8d8e
mov dword [ebp - 0x18], ebx
jmp 0x4a8da7
mov eax, dword [edx + 0x20]
cmp eax, ebx
je 0x4a8d9a
mov ecx, dword [eax + 0xc]
jmp 0x4a8d9c
xor ecx, ecx
mov eax, dword [edx + 0x1c]
imul eax, ecx
add eax, esi
mov dword [ebp - 0x18], eax
mov esi, dword [ebp - 0x10]
mov ecx, dword [esi + 0x40]
lea edi, [esi + 0x40]
cmp ecx, ebx
jne 0x4a8e29
push 0x74
call fcn.004f4b27
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
cmp esi, ebx
je 0x4a8e0e
mov dword [esi], vtable.Graphics::IGUIButton.0
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov ecx, esi
mov byte [ebp - 4], 0x1b
call fcn.00476c80
mov dword [esi], vtable.CGUIButton.0
mov dword [esi + 0x70], 0xffffffff
jmp 0x4a8e10
xor esi, esi
push esi
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.004be1d0
mov ecx, dword [edi]
mov esi, dword [ebp - 0x10]
cmp ecx, ebx
jne 0x4a8e29
xor eax, eax
jmp 0x4a8e3f
mov eax, dword [edi + 8]
cmp eax, ebx
je 0x4a8e35
mov edx, dword [eax + 0xc]
jmp 0x4a8e37
xor edx, edx
mov eax, dword [edi + 4]
imul eax, edx
add eax, ecx
mov ecx, dword [ebp - 0x18]
push ebx
push 0x54e380
push eax
call fcn.0048b850
test al, al
jne 0x4a8e67
push 0x533160
lea edx, [ebp + 8]
mov dword [ebp + 8], 1
push edx
jmp 0x4a8aeb
push 0xc8
call fcn.004f4b27
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0x1c
cmp eax, ebx
je 0x4a8e8c
mov ecx, dword [ebp + 8]
push ecx
mov ecx, eax
call fcn.004a6fb0
jmp 0x4a8e8e
xor eax, eax
push eax
lea ecx, [esi + 0x84]
mov byte [ebp - 4], 9
call fcn.0049be20
mov dword [esi + 0x74], 1
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 4