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

Disassembly:
push esi
push ebx
mov esi, ecx
push edi
mov ebx, dword [esi + 0x88]
mov eax, ebx
mov ecx, dword [esi + 0x3c]
and eax, 0xffffff8b
mov dword [esi + 0x88], eax
mov edi, ebx
lea eax, [esi + 0xa8]
shr edi, 7
push eax
and edi, 1
mov dword [esi + 0x78], 0
lea eax, [esi + 0x10]
mov byte [esi + 0x7c], 0xff
push eax
mov eax, edi
mov dword [esi + 0x80], 0
or eax, 2
mov dword [esi + 0x84], 0
mov edx, dword [ecx]
and ebx, 0x8a
cmp bl, 0x8a
cmovne eax, edi
lea edi, [esi + 0x40]
push eax
mov eax, dword [edx + 0x18]
push edi
call eax
test al, al
jne 0x4fc957
push 1
push 0
push 0
call sub.KERNEL32.dll_RaiseFailFastException
cmp dword [esi + 0xa8], 0
lea ebx, [esi + 0xa8]
je 0x4fc96d
or dword [esi + 0x88], 0x20
mov ecx, dword [esi + 0x3c]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, dword [ebx]
mov dl, al
test ecx, ecx
je 0x4fc98d
test byte [esi + 0x88], 0x80
jne 0x4fcb40
mov ecx, dword [esi + 0x30]
xor bl, bl
mov dword [esi + 0xc], ecx
mov dword [esi + 0xa4], ecx
cmp ecx, 0x4fa452
je 0x4fc9f3
cmp ecx, 0x4fa46c
je 0x4fc9f3
cmp ecx, 0x4f453f
je 0x4fc9ec
cmp ecx, 0x4f44ba
je 0x4fc9ec
cmp ecx, 0x4f45a0
je 0x4fc9ec
cmp ecx, 0x4f45ec
je 0x4fc9e5
cmp ecx, 0x4f46b2
je 0x4fc9e5
xor eax, eax
cmp ecx, 0x4f46fa
mov ecx, 3
cmove eax, ecx
jmp 0x4fc9f8
mov eax, 2
jmp 0x4fc9f8
mov eax, 1
jmp 0x4fc9f8
mov eax, 4
test dl, dl
je 0x4fca55
cmp eax, 2
jne 0x4fca2f
mov eax, dword [esi + 8]
mov ecx, esi
mov dword [esi + 0x90], eax
call fcn.004fcc60
mov eax, dword [esi + 0x88]
test eax, 2
sete bl
test eax, 2
jne 0x4fcb9a
jmp 0x4fcadb
cmp eax, 3
je 0x4fcb70
test eax, eax
jne 0x4fcb86
test byte [esi + 0x88], 2
je 0x4fcb9a
mov edi, dword [esi + 8]
jmp 0x4fcaea
test eax, eax
je 0x4fcb9a
cmp eax, 4
je 0x4fcb93
cmp eax, 1
jne 0x4fcb86
test byte [esi + 0x88], al
je 0x4fca81
push eax
push 0
push 0
call sub.KERNEL32.dll_RaiseFailFastException
mov ecx, dword [esi + 0x2c]
add ecx, 0xc4
test byte [esi + 0x88], 2
lea eax, [ecx + 8]
mov dword [esi + 0x20], eax
lea eax, [ecx + 0xc]
mov dword [esi + 0x28], eax
lea eax, [ecx + 0x10]
mov dword [esi + 0x24], eax
lea eax, [ecx + 0x18]
mov dword [esi + 0x1c], eax
mov eax, dword [ecx]
mov dword [esi + 0x30], eax
mov ecx, dword [ecx + 4]
mov dword [esi + 0x2c], ecx
mov dword [esi + 0xc], eax
mov dword [esi + 0xa4], eax
je 0x4fcb9a
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x4fcb9a
cmp ecx, eax
jbe 0x4fcb9a
mov bl, 1
push dword [esi + 0x8c]
mov ecx, esi
call fcn.004fc460
mov edi, eax
test edi, edi
je 0x4fcb79
mov ecx, esi
call fcn.004fc210
cmp dword [esi + 8], edi
je 0x4fcb09
push 1
push 0
push 0
call sub.KERNEL32.dll_RaiseFailFastException
cmp dword [esi + 0x80], 0
je 0x4fcb1d
push 1
push 0
push 0
call sub.KERNEL32.dll_RaiseFailFastException
cmp dword [0x605734], 7
jb 0x4fc8e5
push str.__KeepUnwinding___n
push 0
push 0x20
call fcn.004fbef0
add esp, 0xc
jmp 0x4fc8e5
cmp ecx, 0xffffffff
jne 0x4fcb58
mov dword [esi + 0xc], 0
mov dword [esi + 0xa4], 0
jmp 0x4fcb9a
push 0x8a
push ecx
push dword [esi]
mov ecx, esi
call fcn.004fc680
or dword [esi + 0x88], 0x20
jmp 0x4fcb9a
mov ecx, esi
call fcn.004fcc60
jmp 0x4fcb9a
test bl, bl
je 0x4fcb9a
or dword [esi + 0x88], 4
jmp 0x4fcb9a
push 1
push 0
push 0
call sub.KERNEL32.dll_RaiseFailFastException
jmp 0x4fcb9a
mov ecx, esi
call fcn.004fccf0
mov eax, dword [esi + 0xc]
pop edi
pop ebx
test eax, eax
je 0x4fcbf3
mov ecx, dword [esi + 0x88]
test cl, 1
je 0x4fcbb2
dec eax
mov dword [esi + 0xc], eax
cmp dword [esi + 0x80], 0
je 0x4fcbdf
test cl, 2
je 0x4fcbdf
mov ecx, esi
call fcn.004fc210
mov ecx, dword [esi + 0x3c]
lea eax, [esi + 0x10]
push eax
lea eax, [esi + 0x40]
push eax
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov dword [esi + 0x84], eax
pop esi
ret
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
pop esi
ret