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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x66a20f
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
push ebx
push esi
push edi
mov eax, dword [0x6d35d0]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x20], esi
call fcn.004d91e3
mov eax, dword [esi + 0xcf0]
xor ecx, ecx
sub eax, ecx
je 0x4f31c6
dec eax
je 0x4f29c6
dec eax
je 0x4f2b39
dec eax
jne 0x4f31e7
mov eax, esi
mov eax, dword [eax + 0x98]
mov eax, dword [eax + 0xe8]
mov esi, dword [eax + 0x1c]
mov eax, dword [esi + 0x2bd4]
mov ebx, dword [esi + 0x2bc8]
add ebx, dword [esi + 0x214]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x2bc4]
add eax, dword [esi + 0x210]
push 0x690e38
lea ecx, [esp + 0xac]
mov dword [esp + 0x3c], eax
call fcn.00404ce0
and dword [esp + 0x108], 0
mov edi, dword [0xf62668]
lea eax, [esp + 0xa8]
add edi, 0x14
push eax
call fcn.004acb4a
or dword [esp + 0x108], 0xffffffff
lea ecx, [esp + 0xa8]
call fcn.00404660
push 0x690e44
lea ecx, [esp + 0xc8]
call fcn.00404ce0
mov dword [esp + 0x108], 1
mov edi, dword [0xf62668]
lea eax, [esp + 0xc4]
add edi, 0x14
push eax
call fcn.004acb4a
or dword [esp + 0x108], 0xffffffff
lea ecx, [esp + 0xc4]
call fcn.00404660
push 0x690e50
lea ecx, [esp + 0xe4]
call fcn.00404ce0
mov dword [esp + 0x108], 2
mov edi, dword [0xf62668]
lea eax, [esp + 0xe0]
add edi, 0x14
push eax
call fcn.004acb4a
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
call fcn.00631650
or dword [esp + 0x108], 0xffffffff
lea ecx, [esp + 0xe0]
mov edi, eax
call fcn.00404660
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 0x98]
mov ecx, dword [ecx + 0x100]
xor eax, eax
cmp dword [ecx + 0xd4], 1
jne 0x4f2af8
mov eax, edi
mov edi, dword [esp + 0x20]
mov ecx, dword [edi + 0xcf0]
add ebx, eax
mov dword [esp + 0x44], ebx
xor ebx, ebx
inc ebx
cmp ecx, ebx
jne 0x4f2b63
cmp dword [esi + 0x2be0], 0
jne 0x4f2b63
mov eax, esi
call fcn.00521bad
test al, al
je 0x4f2b63
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xe0]
mov dword [edi + 0xcf0], 3
jmp 0x4f2b8c
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0xe8]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x2be0], ecx
jne 0x4f31e7
mov dword [esi + 0xcf0], 3
jmp 0x4f31e7
cmp ecx, 3
jne 0x4f2b8c
cmp dword [esi + 0x2be0], 0
je 0x4f2b8c
mov eax, esi
call fcn.00521bad
test al, al
je 0x4f2b8c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xe0]
mov dword [edi + 0xcf0], ebx
mov eax, dword [esi + 0x10]
dec eax
je 0x4f313f
dec eax
jne 0x4f31e7
mov ecx, dword [esi + 0x2be0]
test ecx, ecx
je 0x4f2c8b
mov eax, esi
call fcn.00521bad
test al, al
je 0x4f2c83
xor ebx, ebx
mov ecx, dword [esp + 0x20]
lea eax, [ebx + 0xbb8]
push eax
call fcn.004d6aaa
mov edi, eax
test edi, edi
je 0x4f2c74
push dword [esp + 0x34]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x3c]
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x50]
lea ecx, [esp + 0x60]
mov dword [esp + 0x28], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x48]
fld dword [eax]
fsub dword [esp + 0x24]
mov eax, dword [edi]
lea ecx, [esp + 0x98]
push ecx
mov ecx, edi
fstp dword [esp + 0x14]
call dword [eax + 0x48]
fld dword [eax + 4]
fsub dword [esp + 0x28]
mov ecx, edi
fstp dword [esp + 0x14]
fild dword [esp + 0x38]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
fild dword [esp + 0x44]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
push dword [esp + 0x14]
fld dword [esp + 0x20]
push dword [esp + 0x14]
fstp dword [esp + 0x34]
mov eax, dword [esp + 0x34]
fld dword [esp + 0x20]
mov dword [edi + 0x4c], eax
fstp dword [esp + 0x38]
mov eax, dword [esp + 0x38]
mov dword [edi + 0x50], eax
mov eax, dword [edi]
call dword [eax + 0x28]
inc ebx
cmp ebx, 0xb
jl 0x4f2bbc
jmp 0x4f2e48
test ecx, ecx
jne 0x4f2e48
mov eax, esi
call fcn.00521bad
test al, al
je 0x4f2d63
xor ebx, ebx
mov ecx, dword [esp + 0x20]
lea eax, [ebx + 0xbb8]
push eax
call fcn.004d6a60
mov edi, eax
test edi, edi
je 0x4f2d54
push dword [esp + 0x34]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x3c]
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x50]
lea ecx, [esp + 0x48]
mov dword [esp + 0x30], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x48]
fld dword [eax]
fsub dword [esp + 0x2c]
mov eax, dword [edi]
lea ecx, [esp + 0x90]
push ecx
mov ecx, edi
fstp dword [esp + 0x14]
call dword [eax + 0x48]
fld dword [eax + 4]
fsub dword [esp + 0x30]
mov ecx, edi
fstp dword [esp + 0x14]
fild dword [esp + 0x38]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
fild dword [esp + 0x44]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
push dword [esp + 0x14]
fld dword [esp + 0x20]
push dword [esp + 0x14]
fstp dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
fld dword [esp + 0x20]
mov dword [edi + 0x4c], eax
fstp dword [esp + 0x30]
mov eax, dword [esp + 0x30]
mov dword [edi + 0x50], eax
mov eax, dword [edi]
call dword [eax + 0x28]
inc ebx
cmp ebx, 0xb
jl 0x4f2c9c
jmp 0x4f2e48
test ecx, ecx
jne 0x4f2e48
mov eax, esi
call fcn.00521bad
test al, al
jne 0x4f2e48
xor ebx, ebx
mov ecx, dword [esp + 0x20]
lea eax, [ebx + 0xbb8]
push eax
call fcn.004d6a60
mov edi, eax
test edi, edi
je 0x4f2e3e
push dword [esp + 0x34]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x3c]
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x50]
lea ecx, [esp + 0x70]
mov dword [esp + 0x30], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x48]
fld dword [eax]
fsub dword [esp + 0x2c]
mov eax, dword [edi]
lea ecx, [esp + 0xa0]
push ecx
mov ecx, edi
fstp dword [esp + 0x14]
call dword [eax + 0x48]
fld dword [eax + 4]
fsub dword [esp + 0x30]
mov ecx, edi
fstp dword [esp + 0x14]
fild dword [esp + 0x38]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
fild dword [esp + 0x44]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
push dword [esp + 0x14]
fld dword [esp + 0x20]
push dword [esp + 0x14]
fstp dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
fld dword [esp + 0x20]
mov dword [edi + 0x4c], eax
fstp dword [esp + 0x30]
mov eax, dword [esp + 0x30]
mov dword [edi + 0x50], eax
mov eax, dword [edi]
call dword [eax + 0x28]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa8]
inc ebx
cmp ebx, 0xb
jl 0x4f2d7c
mov ecx, dword [esi + 0x2be0]
test ecx, ecx
je 0x4f2f36
mov eax, esi
call fcn.00521bad
test al, al
je 0x4f2f2e
xor ebx, ebx
mov ecx, dword [esp + 0x20]
lea eax, [ebx + 0x7d0]
push eax
call fcn.004d6aaa
mov edi, eax
test edi, edi
je 0x4f2f1f
push dword [esp + 0x34]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x3c]
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x50]
lea ecx, [esp + 0x80]
mov dword [esp + 0x30], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x48]
fld dword [eax]
fsub dword [esp + 0x2c]
mov eax, dword [edi]
lea ecx, [esp + 0x50]
push ecx
mov ecx, edi
fstp dword [esp + 0x14]
call dword [eax + 0x48]
fld dword [eax + 4]
fsub dword [esp + 0x30]
mov ecx, edi
fstp dword [esp + 0x14]
fild dword [esp + 0x38]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
fild dword [esp + 0x44]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
push dword [esp + 0x14]
fld dword [esp + 0x20]
push dword [esp + 0x14]
fstp dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
fld dword [esp + 0x20]
mov dword [edi + 0x4c], eax
fstp dword [esp + 0x30]
mov eax, dword [esp + 0x30]
mov dword [edi + 0x50], eax
mov eax, dword [edi]
call dword [eax + 0x28]
inc ebx
cmp ebx, 0xb
jl 0x4f2e67
jmp 0x4f30f0
test ecx, ecx
jne 0x4f30f0
mov eax, esi
call fcn.00521bad
test al, al
je 0x4f300b
xor ebx, ebx
mov ecx, dword [esp + 0x20]
lea eax, [ebx + 0x7d0]
push eax
call fcn.004d6a60
mov edi, eax
test edi, edi
je 0x4f2ffc
push dword [esp + 0x34]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x3c]
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x50]
lea ecx, [esp + 0x58]
mov dword [esp + 0x30], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x48]
fld dword [eax]
fsub dword [esp + 0x2c]
mov eax, dword [edi]
lea ecx, [esp + 0x68]
push ecx
mov ecx, edi
fstp dword [esp + 0x14]
call dword [eax + 0x48]
fld dword [eax + 4]
fsub dword [esp + 0x30]
mov ecx, edi
fstp dword [esp + 0x14]
fild dword [esp + 0x38]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
fild dword [esp + 0x44]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
push dword [esp + 0x14]
fld dword [esp + 0x20]
push dword [esp + 0x14]
fstp dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
fld dword [esp + 0x20]
mov dword [edi + 0x4c], eax
fstp dword [esp + 0x30]
mov eax, dword [esp + 0x30]
mov dword [edi + 0x50], eax
mov eax, dword [edi]
call dword [eax + 0x28]
inc ebx
cmp ebx, 0xb
jl 0x4f2f47
jmp 0x4f30f0
test ecx, ecx
jne 0x4f30f0
mov eax, esi
call fcn.00521bad
test al, al
jne 0x4f30f0
xor ebx, ebx
mov ecx, dword [esp + 0x20]
lea eax, [ebx + 0x7d0]
push eax
call fcn.004d6a60
mov edi, eax
test edi, edi
je 0x4f30e6
push dword [esp + 0x34]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x3c]
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x50]
lea ecx, [esp + 0x78]
mov dword [esp + 0x30], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x48]
fld dword [eax]
fsub dword [esp + 0x2c]
mov eax, dword [edi]
lea ecx, [esp + 0x88]
push ecx
mov ecx, edi
fstp dword [esp + 0x14]
call dword [eax + 0x48]
fld dword [eax + 4]
fsub dword [esp + 0x30]
mov ecx, edi
fstp dword [esp + 0x14]
fild dword [esp + 0x38]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
fild dword [esp + 0x44]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
push dword [esp + 0x14]
fld dword [esp + 0x20]
push dword [esp + 0x14]
fstp dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
fld dword [esp + 0x20]
mov dword [edi + 0x4c], eax
fstp dword [esp + 0x30]
mov eax, dword [esp + 0x30]
mov dword [edi + 0x50], eax
mov eax, dword [edi]
call dword [eax + 0x28]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa8]
inc ebx
cmp ebx, 0xb
jl 0x4f3024
mov ecx, dword [esi + 0x2be0]
test ecx, ecx
je 0x4f3120
mov eax, esi
call fcn.00521bad
test al, al
jne 0x4f3118
mov eax, dword [esp + 0x20]
mov dword [eax + 0xcf0], 2
jmp 0x4f31e7
test ecx, ecx
jne 0x4f31e7
mov eax, esi
call fcn.00521bad
test al, al
jne 0x4f31e7
mov eax, dword [esp + 0x20]
and dword [eax + 0xcf0], 0
jmp 0x4f31e7
mov ebx, dword [esp + 0x20]
xor edi, edi
lea eax, [edi + 0xbb8]
push eax
mov ecx, ebx
call fcn.004d6a60
test eax, eax
je 0x4f3162
push dword [esp + 0x34]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x3c]
inc edi
cmp edi, 0xb
jl 0x4f3145
xor edi, edi
lea eax, [edi + 0x7d0]
push eax
mov ecx, ebx
call fcn.004d6a60
test eax, eax
je 0x4f3187
push dword [esp + 0x34]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x3c]
inc edi
cmp edi, 0xb
jl 0x4f316a
mov ecx, dword [esi + 0x2be0]
test ecx, ecx
je 0x4f31b2
mov eax, esi
call fcn.00521bad
test al, al
jne 0x4f31ae
mov dword [ebx + 0xcf0], 2
jmp 0x4f31e7
test ecx, ecx
jne 0x4f31e7
mov eax, esi
call fcn.00521bad
test al, al
jne 0x4f31e7
and dword [ebx + 0xcf0], 0
jmp 0x4f31e7
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0xe8]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x2be0], ecx
je 0x4f31e7
mov dword [esi + 0xcf0], 1
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret