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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4fce23
sub esp, 0x5c
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 8]
test ecx, ecx
jbe 0x4fcc0e
mov eax, dword [eax + 0xc]
mov edx, dword [esp + 0x64]
mov edx, dword [edx + 0x14]
mov ebx, dword [esp + 0x68]
mov dword [esp], ebx
mov dword [esp + 8], 0
lea eax, [eax + eax*8]
lea eax, [ecx + eax*2]
mov dword [esp + 4], eax
mov dword [esp + 0xc], 0
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x4fca4e
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
test ecx, ecx
je 0x4fc9ec
mov ecx, dword [ecx + 4]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
lea eax, [0x727270]
mov dword [esp], eax
mov dword [esp + 4], 0x20
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cd820
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x5c
ret
lea eax, [0x6cd720]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
lea ecx, [0x6d9020]
mov dword [esp], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
call fcn.004092d0
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
lea ecx, [0x79f690]
mov dword [esp + 8], ecx
lea ecx, [0x9b1698]
mov dword [esp + 0xc], ecx
lea ecx, [0x6bd5a0]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], ecx
call fcn.004c4de0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x4fcb3d
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
test ecx, ecx
je 0x4fcadb
mov ecx, dword [ecx + 4]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
lea eax, [0x7290ff]
mov dword [esp], eax
mov dword [esp + 4], 0x24
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cd820
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x5c
ret
mov ecx, dword [esp + 0x50]
mov ebx, dword [ecx]
cmp ebx, 4
jbe 0x4fcbe2
add ebx, 0xfffffffc
mov dword [ecx], ebx
cmp ebx, 0xa00000
jb 0x4fcb64
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x4fcd12
lea eax, [0x6cd7a0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
call fcn.0044b8f0
mov eax, dword [esp + 0x50]
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x4c], ecx
lea edx, [0x6d9020]
mov dword [esp], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
call fcn.004092d0
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
call fcn.00490bf0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov ebx, edx
mov ebp, dword [esp + 0x4c]
jmp 0x4fcc3a
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x5c
ret
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x5c
ret
test eax, eax
je 0x4fccb5
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
je 0x4fcc53
mov eax, dword [eax + 4]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
lea eax, [0x72590e]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cd820
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x5c
ret
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x5c
ret
mov dword [esp + 0x34], esi
mov dword [esp + 0x48], edi
lea eax, [edi + ebx]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00463d10
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x50]
sub dword [ecx], eax
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x48]
mov edi, dword [ecx]
test edi, edi
jbe 0x4fce16
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x44], esi
cmp edi, 0xa00000
jbe 0x4fcd35
mov edi, 0xa00000
mov dword [esp + 0x24], edi
lea eax, [0x6cd7a0]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], edi
call fcn.0044b8f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
lea ecx, [0x6d9020]
mov dword [esp], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
call fcn.004092d0
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
call fcn.00490bf0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
test eax, eax
jne 0x4fce08
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
lea ebp, [ebx + edx]
mov dword [esp + 0x38], ebp
mov esi, dword [esp + 0x30]
cmp esi, ebp
jb 0x4fcdcd
mov edi, dword [esp + 0x44]
jmp 0x4fccd5
lea eax, [0x6cd7a0]
mov dword [esp], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.0044baf0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov edi, esi
mov esi, ebx
mov ebx, dword [esp + 0x2c]
jmp 0x4fccd5
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x44]
mov edx, ecx
mov ecx, edx
mov edx, ebx
mov ebx, ebp
mov ebp, esi
jmp 0x4fcc3a
call fcn.00461f40
jmp fcn.004fc970