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

Disassembly:
mov ecx, dword [0x98d270]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x74]
cmp eax, dword [ecx + 8]
jbe 0x4f9a1f
sub esp, 0xf4
mov edx, dword [esp + 0x114]
cmp edx, 1
jle 0x4f9a06
mov ebx, dword [esp + 0x108]
test ebx, ebx
jbe 0x4f99fd
mov eax, dword [esp + 0x104]
mov eax, dword [eax]
test eax, 1
je 0x4f9100
mov eax, dword [esp + 0x11c]
cmp eax, 1
je 0x4f9098
lea ecx, [eax + 0x1f]
shr ecx, 5
mov dword [esp + 0x74], ecx
mov dword [esp], ecx
call fcn.004f7100
mov eax, dword [esp + 4]
mov dword [esp + 0x94], eax
mov ecx, dword [eax]
mov dword [esp + 0x98], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov ebx, dword [eax + 8]
mov dword [esp + 0x3c], ebx
lea edi, [esp + 0xb4]
mov ebp, eax
xor eax, eax
call fcn.00468c20
xor eax, eax
jmp 0x4f915f
mov eax, dword [esp + 0x100]
test eax, eax
je 0x4f90b3
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0x100]
jmp 0x4f90da
lea eax, [0x6bdce0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044e050
mov eax, dword [esp + 0xc]
mov ecx, 1
mov dword [eax], 1
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], 1
mov dword [esp + 0x128], ecx
add esp, 0xf4
ret
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], 0
mov eax, dword [esp + 0x100]
mov dword [esp + 0x128], eax
add esp, 0xf4
ret
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.004f7100
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x64]
mov dword [esp + ecx*4 + 0xb4], eax
lea eax, [ecx + 1]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x94]
cmp eax, 0x10
jl 0x4f912e
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 8]
mov esi, dword [0x95e7b4]
mov dword [esp + 0x50], esi
mov edi, dword [0x95e7b0]
cmp esi, ecx
jg 0x4f9189
mov eax, dword [eax]
jmp 0x4f9218
mov dword [esp + 0xa0], edi
cmp esi, 1
jne 0x4f91d9
lea eax, [0x6bdce0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044e050
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x94]
mov edi, dword [esp + 0xa0]
mov esi, 1
mov ecx, 1
jmp 0x4f9218
lea eax, [0x6bdce0]
mov dword [esp], eax
mov dword [esp + 4], esi
lea ecx, [esi + 4]
mov dword [esp + 0x34], ecx
mov dword [esp + 8], ecx
call fcn.0044e050
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x94]
mov edi, dword [esp + 0xa0]
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x50]
cmp esi, ebp
jg 0x4f9222
mov ebp, esi
cmp eax, edi
je 0x4f925f
mov dword [esp + 0x48], ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x9c], eax
mov dword [esp], eax
mov dword [esp + 4], edi
shl ebp, 2
mov dword [esp + 8], ebp
call fcn.00469320
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
mov ebp, dword [esp + 0xb4]
mov dword [ebp + 4], esi
mov dword [ebp + 8], ecx
mov ecx, dword [0x98d4e0]
test ecx, ecx
je 0x4f9283
call fcn.004689a0
mov dword [edi], eax
mov ecx, dword [ebp]
mov dword [edi + 4], ecx
mov dword [ebp], eax
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x108]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x11c]
mov dword [esp + 0x18], ebx
call fcn.004f78d0
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov ecx, dword [0x98d4e0]
test ecx, ecx
je 0x4f9300
call fcn.004689a0
mov dword [edi], ebx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [eax], ebx
mov eax, 2
jmp 0x4f9312
mov dword [ebx], edx
mov edx, dword [esp + 0x70]
lea eax, [edx + 2]
cmp eax, 0x10
jge 0x4f94e5
mov edx, eax
shr eax, 0x1f
add eax, edx
sar eax, 1
cmp eax, 0x10
jae 0x4f99f3
mov dword [esp + 0x70], edx
mov eax, dword [esp + eax*4 + 0xb4]
mov ecx, dword [esp + edx*4 + 0xb4]
mov dword [esp + 0xa8], ecx
mov ebx, dword [ecx]
mov ebp, dword [ecx + 4]
mov esi, dword [ecx + 8]
mov edi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov edx, dword [esp + edx*4 + 0xb8]
mov dword [esp + 0xa4], edx
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
call fcn.004f69d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xa8]
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov ebp, dword [0x98d4e0]
test ebp, ebp
je 0x4f93af
call fcn.004689a0
mov dword [edi], edx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], edx
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x18], eax
call fcn.004f78d0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xa8]
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov ebp, dword [0x98d4e0]
test ebp, ebp
je 0x4f9407
call fcn.004689a0
mov dword [edi], edx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], edx
mov ebx, dword [esp + 0xa4]
mov ebp, dword [ebx]
mov esi, dword [ebx + 4]
mov edi, dword [ebx + 8]
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x104]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x108]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x20], edx
call fcn.004f5a20
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0xa4]
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov ebp, dword [0x98d4e0]
test ebp, ebp
je 0x4f9484
call fcn.004689a0
mov dword [edi], edx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], edx
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x18], eax
call fcn.004f78d0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xa4]
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov eax, dword [0x98d4e0]
test eax, eax
je 0x4f9309
call fcn.004689a0
mov dword [edi], edx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
jmp 0x4f9309
mov edx, dword [esp + 0x11c]
lea ecx, [edx - 1]
test ecx, 0x1f
je 0x4f9501
mov ebx, 1
shl ebx, cl
dec ebx
jmp 0x4f9506
mov ebx, 0xffffffff
mov ecx, dword [esp + 0x114]
lea ebp, [ecx - 1]
lea esi, [edx - 2]
shr esi, 5
cmp esi, ebp
jge 0x4f951e
mov eax, esi
jmp 0x4f9522
mov eax, esi
mov esi, ebp
mov dword [esp + 0x74], eax
mov dword [esp + 0x54], ebx
nop
mov ebp, dword [esp + 0x100]
test ebp, ebp
je 0x4f953f
mov edi, dword [esp + 0xf8]
jmp 0x4f9586
mov dword [esp + 0x60], esi
lea eax, [0x6bdce0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044e050
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x114]
mov edx, dword [esp + 0x11c]
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x60]
mov edi, eax
mov ebp, 1
mov eax, dword [esp + 0x74]
mov dword [edi], 1
mov dword [esp + 0x88], eax
xor eax, eax
mov byte [esp + 0x33], al
mov eax, 1
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x88]
jmp 0x4f95d4
dec esi
mov edx, dword [esp + 0x110]
mov ebx, dword [esp + 0x54]
mov edx, dword [esp + 0x11c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x80]
test esi, esi
jl 0x4f960f
cmp ecx, esi
jbe 0x4f99ec
mov edx, dword [esp + 0x110]
mov edx, dword [edx + esi*4]
cmp esi, eax
jne 0x4f95f0
and edx, ebx
mov dword [esp + 0x60], esi
mov dword [esp + 0x78], eax
xor eax, eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
jmp 0x4f97dc
mov dword [esp + 0x44], ebp
mov dword [esp + 0x90], edi
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x94]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 8], eax
mov eax, dword [0x98d4e0]
test eax, eax
jne 0x4f9642
mov edx, dword [esp + 0x98]
jmp 0x4f9655
call fcn.004689a0
mov edx, dword [esp + 0x98]
mov dword [edi], edx
mov ebx, dword [ecx]
mov dword [edi + 4], ebx
mov dword [ecx], edx
lea eax, [0x967bc0]
mov dword [esp], eax
lea edx, [0x705a60]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004725d0
xor eax, eax
jmp 0x4f96a3
mov ecx, dword [esp + eax*4 + 0xb4]
inc eax
mov dword [esp + 0x70], eax
lea edx, [0x967bc0]
mov dword [esp], edx
lea ebx, [0x705a60]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.004725d0
mov eax, dword [esp + 0x70]
cmp eax, 0x10
jl 0x4f9677
mov eax, dword [esp + 0x90]
mov ebx, dword [esp + 0x5c]
jmp 0x4f96b6
dec ebx
test ebx, ebx
jle 0x4f96c2
mov ebp, dword [eax + ebx*4 - 4]
test ebp, ebp
je 0x4f96b5
mov edx, dword [esp + 0x44]
cmp ebx, edx
ja 0x4f96e6
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], ebx
mov dword [esp + 0x128], edx
add esp, 0xf4
ret
mov ecx, ebx
call fcn.00468a40
mov dword [esp + 0x70], ebp
mov dword [esp + 0x68], eax
mov dword [esp + 0xac], edi
shr edx, 0x1c
mov edx, dword [esp + edx*4 + 0xb4]
mov ebx, dword [edx]
mov esi, dword [edx + 4]
mov edx, dword [edx + 8]
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edx
call fcn.004f5a20
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x18], eax
call fcn.004f78d0
mov eax, dword [esp + 0x58]
add eax, 4
mov edx, dword [esp + 0x4c]
shl edx, 4
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x60]
mov dword [esp + 0x58], eax
mov ebx, 1
mov byte [esp + 0x33], bl
mov esi, dword [esp + 0x70]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x68]
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0xac]
mov dword [esp + 0x98], esi
mov dword [esp + 0x70], ecx
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x114]
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x60]
mov ebx, dword [esp + 0x58]
cmp ebx, 0x20
jge 0x4f95ab
mov dword [esp + 0x4c], edx
movzx eax, byte [esp + 0x33]
test al, al
jne 0x4f97ff
mov eax, dword [esp + 0x70]
jmp 0x4f96ed
mov dword [esp + 0x6c], ebp
mov dword [esp + 0xb0], edi
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x70]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebp
call fcn.004f69d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x18], eax
call fcn.004f78d0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0xb0]
mov dword [esp], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004f69d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x18], eax
call fcn.004f78d0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xac], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x68], edx
mov ebx, dword [esp + 0x98]
mov dword [esp], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004f69d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x18], eax
call fcn.004f78d0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0xac]
mov dword [esp], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004f69d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x18], eax
call fcn.004f78d0
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x4c]
jmp 0x4f96ed
mov eax, esi
call fcn.00468a00
mov ecx, 0x10
call fcn.00468a00
xor eax, eax
mov ecx, eax
call fcn.00468a00
lea eax, [0x6bd160]
mov dword [esp], eax
lea eax, [0x773950]
mov dword [esp + 4], eax
call fcn.004385d0
nop
call fcn.00467590
jmp fcn.004f8ff0