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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov edi, dword [ebp + 0xc]
mov eax, dword [0x655248]
xor eax, ebp
mov dword [esp + 0x78], eax
mov ebx, dword [0x6594f8]
cmp ebx, 2
jae 0x4f7010
push 0x6594f8
call fcn.0048afa0
add esp, 4
test al, al
je 0x4f701b
mov eax, 1
xchg dword [0x6594fc], eax
xor ebx, ebx
test eax, eax
jne 0x4f6ff9
mov ebx, 0x659500
mov ecx, 0x659500
call fcn.004f6850
push 0
push 0x4f8020
push ebx
push 0x6594f8
call fcn.0048b060
add esp, 0x10
jmp 0x4f7021
push edi
call fcn.004f6b90
add esp, 4
jmp 0x4f7032
mov ebx, dword [0x6594f8]
push edi
call fcn.004f6b90
add esp, 4
test ebx, ebx
je 0x4f71b9
mov edi, eax
mov esi, edx
mov ecx, dword [ebx + 8]
push edx
push eax
push 0
call fcn.00541990
test al, al
je 0x4f71b9
mov dword [esp + 0x10], esi
mov edx, dword [ebp + 0x1c]
mov al, byte [ebp + 8]
mov word [esp + 0x4e], 0xffff
movsx ecx, al
add ecx, 0xffffffbe
cmp ecx, 0x32
ja case.0x4f706b.71
mov esi, str.Begin
jmp dword [ecx*4 + 0x5ef4f8]
mov esi, str.Phase_Counter
jmp case.0x4f706b.66
mov esi, str.Phase_Delete_Object
jmp case.0x4f706b.66
mov esi, 0x5ef20e
jmp case.0x4f706b.66
mov esi, str.Async_End
jmp case.0x4f706b.66
lea esi, [esp + 0x4e]
mov byte [esp + 0x4e], al
mov byte [esp + 0x4f], 0
jmp case.0x4f706b.66
mov esi, str.Instant
jmp case.0x4f706b.66
mov esi, str.Phase_Metadata
jmp case.0x4f706b.66
mov esi, str.Phase_Create_Object
jmp case.0x4f706b.66
mov esi, str.Phase_Snapshot_Object
jmp case.0x4f706b.66
mov esi, str.Phase_Sample
jmp case.0x4f706b.66
mov esi, str.Async_Begin
jmp case.0x4f706b.66
mov esi, str.Async_Step_Into
jmp case.0x4f706b.66
mov esi, 0x5dcec7
jmp case.0x4f706b.66
mov esi, str.Nestable_Async_Begin
jmp case.0x4f706b.66
mov esi, str.Nestable_Async_End
jmp case.0x4f706b.66
mov esi, str.Phase_Flow_End
jmp case.0x4f706b.66
mov esi, str.Nestable_Async_Instant
jmp case.0x4f706b.66
mov esi, str.Async_Step_Past
jmp case.0x4f706b.66
mov esi, str.Phase_Flow_Begin
jmp case.0x4f706b.66
mov esi, str.Phase_Flow_Step
mov dword [esp + 0xc], esi
xorps xmm0, xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x50], xmm0
mov dword [esp + 0x70], 0
test edx, edx
je 0x4f71cc
movzx eax, byte [edx]
test eax, eax
je 0x4f71cc
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
lea edi, [edx + 1]
lea ecx, [edx + 0x10]
lea esi, [esp + 0x50]
mov dword [esp + 0x14], eax
mov ebx, eax
jmp 0x4f715e
add esi, 0xc
add edi, 1
add ecx, 8
add ebx, 0xffffffff
je 0x4f717d
movzx eax, byte [edi]
cmp al, 8
je 0x4f7150
movzx eax, al
mov dword [esp + 8], ecx
mov ecx, dword [esp + 8]
push esi
push eax
call fcn.004f8900
mov ecx, dword [esp + 8]
jmp 0x4f7150
mov eax, dword [esp + 0x14]
test al, al
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov edx, dword [ebp + 0x1c]
je 0x4f71cc
cmp al, 1
je 0x4f7251
cmp al, 2
je 0x4f7261
cmp byte [esp + 0x73], 0
js 0x4f7216
cmp byte [esp + 0x67], 0
js 0x4f7229
cmp byte [esp + 0x5b], 0
js 0x4f7240
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.005aae21
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [ebx + 8]
lea esi, [esp + 0x44]
mov ecx, esi
push dword [esp + 0xc]
push str.Phase
call fcn.004e2540
mov dword [esp + 0x30], 0xb000000
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edi
lea eax, [esp + 0x30]
mov ecx, ebx
push esi
push eax
push dword [ebp + 0x10]
call fcn.004f7370
cmp byte [esp + 0x73], 0
jns 0x4f71a7
push dword [esp + 0x68]
call fcn.005aade6
add esp, 4
cmp byte [esp + 0x67], 0
jns 0x4f71ae
push dword [esp + 0x5c]
call fcn.005aade6
add esp, 4
cmp byte [esp + 0x5b], 0
jns 0x4f71b9
push dword [esp + 0x50]
call fcn.005aade6
add esp, 4
jmp 0x4f71b9
mov ebx, dword [ebx + 8]
cmp byte [esp + 0x5b], 0
jns 0x4f726e
mov eax, dword [esp + 0x50]
jmp 0x4f7272
cmp byte [esp + 0x67], 0
jns 0x4f72d4
mov eax, dword [esp + 0x5c]
jmp 0x4f72d8
lea eax, [esp + 0x50]
lea ecx, [esp + 0x44]
push eax
push dword [edx + 4]
call fcn.004e2540
lea esi, [esp + 0x28]
mov ecx, esi
push dword [esp + 0xc]
push str.Phase
call fcn.004e2540
mov dword [esp + 0x30], 0xb000000
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edi
lea eax, [esp + 0x30]
mov ecx, ebx
lea edx, [esp + 0x44]
push edx
push esi
push eax
push dword [ebp + 0x10]
call fcn.004f74c0
cmp byte [esp + 0x73], 0
jns 0x4f71a7
jmp 0x4f7216
lea eax, [esp + 0x5c]
mov ecx, dword [ebx + 8]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x44]
push eax
push dword [edx + 8]
call fcn.004e2540
cmp byte [esp + 0x5b], 0
jns 0x4f72f9
mov eax, dword [esp + 0x50]
jmp 0x4f72fd
lea eax, [esp + 0x50]
lea esi, [esp + 0x28]
mov ecx, esi
push eax
mov eax, dword [ebp + 0x1c]
push dword [eax + 4]
call fcn.004e2540
lea ebx, [esp + 0x20]
mov ecx, ebx
push dword [esp + 0xc]
push str.Phase
call fcn.004e2540
mov dword [esp + 0x30], 0xb000000
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edi
lea eax, [esp + 0x30]
mov ecx, dword [esp + 8]
lea edx, [esp + 0x44]
push edx
push esi
push ebx
push eax
push dword [ebp + 0x10]
call fcn.004f7630
cmp byte [esp + 0x73], 0
jns 0x4f71a7
jmp 0x4f7216